]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qsv_internal.h
lavc/qsvdec: expose frame pic_type and key_frame
[ffmpeg] / libavcodec / qsv_internal.h
index 975c8de44164fa4f73658c3717c0be3d82922b2d..07ddc5904464e9efc1f9986b346af063809fa790 100644 (file)
@@ -48,6 +48,8 @@ typedef struct QSVMid {
 typedef struct QSVFrame {
     AVFrame *frame;
     mfxFrameSurface1 surface;
+    mfxExtDecodedFrameInfo dec_info;
+    mfxExtBuffer *ext_param;
 
     int queued;
     int used;
@@ -83,6 +85,7 @@ int ff_qsv_codec_id_to_mfx(enum AVCodecID codec_id);
 int ff_qsv_profile_to_mfx(enum AVCodecID codec_id, int profile);
 
 int ff_qsv_map_pixfmt(enum AVPixelFormat format, uint32_t *fourcc);
+enum AVPictureType ff_qsv_map_pictype(int mfx_pic_type);
 
 int ff_qsv_init_internal_session(AVCodecContext *avctx, mfxSession *session,
                                  const char *load_plugins);