diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-24 19:03:57 +0300 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2016-02-24 19:03:57 +0300 |
commit | 10424024a16a7646169b9c9008c5f7b77cbc2211 (patch) | |
tree | ea852976be3a8b8d0cd3d57bc1beb918b89991d0 /libavfilter/avfilter.h | |
parent | 6992276acaaee32b33bd5f6e2f0d89588c4ae59a (diff) | |
parent | b3dd30db0b2d857147fc0e1461a00bd6172a26a3 (diff) |
Merge commit 'b3dd30db0b2d857147fc0e1461a00bd6172a26a3'
* commit 'b3dd30db0b2d857147fc0e1461a00bd6172a26a3':
lavfi: pass the hw frames context through the filter chain
Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 04bf5855e2..835a519173 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -37,6 +37,7 @@ #include "libavutil/attributes.h" #include "libavutil/avutil.h" +#include "libavutil/buffer.h" #include "libavutil/dict.h" #include "libavutil/frame.h" #include "libavutil/log.h" @@ -464,6 +465,12 @@ struct AVFilterLink { AVRational frame_rate; /** + * For hwaccel pixel formats, this should be a reference to the + * AVHWFramesContext describing the frames. + */ + AVBufferRef *hw_frames_ctx; + + /** * Buffer partially filled with samples to achieve a fixed/minimum size. */ AVFrame *partial_buf; |