X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fqsvdec.h;h=41fb71682c27e5639da4a0fc0060d826bb1d44d9;hb=55eab1733b9e730ceac33edce9aab56c17ea87b2;hp=0bf1e55ffa7b582929948b0db6a602d9c14c8c56;hpb=d8ffdefbdce16948c9b3c84df62171a7d58c8253;p=ffmpeg diff --git a/libavcodec/qsvdec.h b/libavcodec/qsvdec.h index 0bf1e55ffa7..41fb71682c2 100644 --- a/libavcodec/qsvdec.h +++ b/libavcodec/qsvdec.h @@ -56,6 +56,8 @@ typedef struct QSVContext { AVCodecParserContext *parser; AVCodecContext *avctx_internal; enum AVPixelFormat orig_pix_fmt; + uint32_t fourcc; + mfxFrameInfo frame_info; // options set by the caller int async_depth; @@ -67,8 +69,6 @@ typedef struct QSVContext { int nb_ext_buffers; } QSVContext; -int ff_qsv_map_pixfmt(enum AVPixelFormat format); - int ff_qsv_process_data(AVCodecContext *avctx, QSVContext *q, AVFrame *frame, int *got_frame, AVPacket *pkt);