# hardware accelerators
dxva2_deps="dxva2api_h"
-+qsv_deps="msdk_mfxvideo_h"
++qsv_deps="mfx_mfxvideo_h"
vaapi_deps="va_va_h"
vda_deps="VideoDecodeAcceleration_VDADecoder_h pthreads"
vda_extralibs="-framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore"
check_header io.h
check_header mach/mach_time.h
check_header malloc.h
-+check_header msdk/mfxvideo.h
++check_header mfx/mfxvideo.h
check_header poll.h
check_header sys/mman.h
check_header sys/param.h
+ * Note: Compilation would require:
+ * - Intel MediaSDK headers, Full SDK is avaialble from the original web site:
+ * http://software.intel.com/en-us/vcsource/tools/media-SDK
-+ * Will be referenced as msdk/*.h (mfxdefs.h, mfxstructures.h, ... )
++ * Will be referenced as mfx/*.h (mfxdefs.h, mfxstructures.h, ... )
+ * and
+ * - Final application has to link against Intel MediaSDK dispatcher, available
+ * at MediaSDK as well
+
+#include <stdint.h>
+#include <string.h>
-+#include "msdk/mfxvideo.h"
++#include "mfx/mfxvideo.h"
+#include "libavutil/mem.h"
+#include "libavutil/time.h"
+
$(eval $(call import.MODULE.defs,LIBMFX,libmfx))
$(eval $(call import.CONTRIB.defs,LIBMFX))
-LIBMFX.FETCH.url = http://download.handbrake.fr/contrib/libmfx-v6.0.0.349.tar.bz2
+LIBMFX.FETCH.url = http://download.handbrake.fr/contrib/mfx_dispatch-9f4a84d7.tar.gz
LIBMFX.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv;
#ifndef HB_QSV_COMMON_H
#define HB_QSV_COMMON_H
-#include "msdk/mfxvideo.h"
-#include "msdk/mfxplugin.h"
+#include "mfx/mfxvideo.h"
+#include "mfx/mfxplugin.h"
#include "libavcodec/avcodec.h"
/* Minimum Intel Media SDK version (currently 1.3, for Sandy Bridge support) */