]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dxva2_internal.h
jpeg2000: Merge rescaling with interleaving in 9/7 IDWT
[ffmpeg] / libavcodec / dxva2_internal.h
index 57fc7bd6f90a628be50d7692d61b5bebf95efe5f..a81cfbeaa8dcadf7d0b177ef1d0efe170f124b61 100644 (file)
 
 #define _WIN32_WINNT 0x0600
 #define COBJMACROS
+
+#include "config.h"
+
 #include "dxva2.h"
+#if HAVE_DXVA_H
+#include <dxva.h>
+#endif
+
 #include "avcodec.h"
 #include "mpegvideo.h"
 
@@ -40,7 +47,7 @@ int ff_dxva2_commit_buffer(AVCodecContext *, struct dxva_context *,
                            unsigned mb_count);
 
 
-int ff_dxva2_common_end_frame(AVCodecContext *, MpegEncContext *,
+int ff_dxva2_common_end_frame(AVCodecContext *, Picture *,
                               const void *pp, unsigned pp_size,
                               const void *qm, unsigned qm_size,
                               int (*commit_bs_si)(AVCodecContext *,