summaryrefslogtreecommitdiff
path: root/libavutil/frame.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-11-20 19:47:29 +0100
committerAnton Khirnov <anton@khirnov.net>2016-02-14 21:36:59 +0100
commit89923e418b494e337683442ab896d754bc07341a (patch)
tree37c62ad94c66c63dbe432c7512109984850aceae /libavutil/frame.h
parent721a4efc0545548a241080b53ab480e34f366240 (diff)
lavu: add a framework for handling hwaccel frames
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r--libavutil/frame.h6
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;
/**