From 89923e418b494e337683442ab896d754bc07341a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 20 Nov 2015 19:47:29 +0100 Subject: lavu: add a framework for handling hwaccel frames --- libavutil/frame.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavutil/frame.h') 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; /** -- cgit v1.2.3