X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Favfilter.h;h=835a51917372336d95a8d6a29efedb6ada495115;hb=10424024a16a7646169b9c9008c5f7b77cbc2211;hp=04bf5855e29fce8368049cb3e7a82cf8dcdfc830;hpb=6bff2b5f6a3dca43bf553866b0f110c47d4ec72d;p=ffmpeg diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 04bf5855e29..835a5191737 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" @@ -463,6 +464,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. */