]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vdpau_internal.h
hevcdec: set the active SPS before calling get_format()
[ffmpeg] / libavcodec / vdpau_internal.h
index 9cc953887a91ee15ea866075e394006861edee7f..a0eb46c48ed358a4b4261dd26a5a2177b73e663a 100644 (file)
 #include <stdint.h>
 #include <vdpau/vdpau.h>
 
+#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 {