X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvdpau_internal.h;h=a0eb46c48ed358a4b4261dd26a5a2177b73e663a;hb=00fd914d4912322212e924c15f325cebf2fde8d3;hp=9cc953887a91ee15ea866075e394006861edee7f;hpb=737d35e33408263c04d7730f5487eed0d04938ba;p=ffmpeg diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h index 9cc953887a9..a0eb46c48ed 100644 --- a/libavcodec/vdpau_internal.h +++ b/libavcodec/vdpau_internal.h @@ -27,9 +27,12 @@ #include #include +#include "libavutil/frame.h" +#include "libavutil/hwcontext.h" +#include "libavutil/hwcontext_vdpau.h" + #include "avcodec.h" -#include "mpegvideo.h" -#include "version.h" +#include "vdpau.h" /** Extract VdpVideoSurface from an AVFrame */ static inline uintptr_t ff_vdpau_get_surface_id(AVFrame *pic) @@ -45,6 +48,9 @@ union VDPAUPictureInfo { #ifdef VDP_DECODER_PROFILE_H264_HIGH_444_PREDICTIVE VdpPictureInfoH264Predictive h264_predictive; #endif +#ifdef VDP_DECODER_PROFILE_HEVC_MAIN + VdpPictureInfoHEVC hevc; +#endif }; typedef struct VDPAUHWContext {