/*
- *
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* see avcodec_align_dimensions2(). Some filters and swscale can read
* up to 16 bytes beyond the planes, if these filters are to be used,
* then 16 extra bytes must be allocated.
+ *
+ * NOTE: Except for hwaccel formats, pointers not needed by the format
+ * MUST be set to NULL.
*/
uint8_t *data[AV_NUM_DATA_POINTERS];
enum AVChromaLocation chroma_location;
+ /**
+ * For hwaccel-format frames, this should be a reference to the
+ * AVHWFramesContext describing the frame.
+ */
+ AVBufferRef *hw_frames_ctx;
+
/**
* frame timestamp estimated using various heuristics, in stream time base
* Code outside libavutil should access this field using: