diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-11-20 19:47:29 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-02-14 21:36:59 +0100 |
commit | 89923e418b494e337683442ab896d754bc07341a (patch) | |
tree | 37c62ad94c66c63dbe432c7512109984850aceae /libavutil/frame.h | |
parent | 721a4efc0545548a241080b53ab480e34f366240 (diff) | |
download | ffmpeg-89923e418b494e337683442ab896d754bc07341a.tar.gz |
lavu: add a framework for handling hwaccel frames
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 c723cb02c3..5398b89ba1 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -354,6 +354,12 @@ typedef struct AVFrame { enum AVColorSpace colorspace; enum AVChromaLocation chroma_location; + + /** + * For hwaccel-format frames, this should be a reference to the + * AVHWFramesContext describing the frame. + */ + AVBufferRef *hw_frames_ctx; } AVFrame; /** |