diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-17 16:10:53 +0000 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-17 16:12:25 +0000 |
commit | 1a708780f3d4b431996d118df4e448b4f2a7942e (patch) | |
tree | dc389307bc577b231d25c75aed9eadec125bfc38 /libavutil/frame.h | |
parent | 26abd5149ebf9602d8036be4c6e72e08c98ea998 (diff) | |
parent | 89923e418b494e337683442ab896d754bc07341a (diff) | |
download | ffmpeg-1a708780f3d4b431996d118df4e448b4f2a7942e.tar.gz |
Merge commit '89923e418b494e337683442ab896d754bc07341a'
* commit '89923e418b494e337683442ab896d754bc07341a':
lavu: add a framework for handling hwaccel frames
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r-- | libavutil/frame.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index 8dc4049072..aadc796880 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -422,6 +422,12 @@ typedef struct AVFrame { 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: * av_frame_get_best_effort_timestamp(frame) |