]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vaapi_decode.h
lavc: external hardware frame pool initialization
[ffmpeg] / libavcodec / vaapi_decode.h
index 0ff400e34c154a184b2a692152b0c5d0a10a7b61..e195e863a044fcf6ba25265c5a45523aa07a27e3 100644 (file)
@@ -53,8 +53,6 @@ typedef struct VAAPIDecodePicture {
 } VAAPIDecodePicture;
 
 typedef struct VAAPIDecodeContext {
-    VAProfile             va_profile;
-    VAEntrypoint          va_entrypoint;
     VAConfigID            va_config;
     VAContextID           va_context;
 
@@ -96,4 +94,7 @@ int ff_vaapi_decode_cancel(AVCodecContext *avctx,
 int ff_vaapi_decode_init(AVCodecContext *avctx);
 int ff_vaapi_decode_uninit(AVCodecContext *avctx);
 
+int ff_vaapi_common_frame_params(AVCodecContext *avctx,
+                                 AVBufferRef *hw_frames_ctx);
+
 #endif /* AVCODEC_VAAPI_DECODE_H */