]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qsvdec.h
lavc: add a null bitstream filter
[ffmpeg] / libavcodec / qsvdec.h
index 9853591a99cf50fbc2d24d8c7ede27fcb21cd1e4..c6ec99af1528e6fff6b245f4deb1fee4379a20ad 100644 (file)
@@ -51,11 +51,14 @@ typedef struct QSVContext {
     QSVFrame *work_frames;
 
     AVFifoBuffer *async_fifo;
+    int zero_consume_run;
 
     // the internal parser and codec context for parsing the data
     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 +70,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);