summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libva/intel-media-driver_20.4.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/libva/intel-media-driver_20.4.3.bb')
-rw-r--r--recipes-multimedia/libva/intel-media-driver_20.4.3.bb53
1 files changed, 53 insertions, 0 deletions
diff --git a/recipes-multimedia/libva/intel-media-driver_20.4.3.bb b/recipes-multimedia/libva/intel-media-driver_20.4.3.bb
new file mode 100644
index 0000000..dcae5c2
--- /dev/null
+++ b/recipes-multimedia/libva/intel-media-driver_20.4.3.bb
@@ -0,0 +1,53 @@
1SUMMARY = "VA driver for Intel Gen based graphics hardware"
2DESCRIPTION = "Intel Media Driver for VAAPI is a new VA-API (Video Acceleration API) \
3user mode driver supporting hardware accelerated decoding, encoding, \
4and video post processing for GEN based graphics hardware."
5
6HOMEPAGE = "https://github.com/intel/media-driver"
7BUGTRACKER = "https://github.com/intel/media-driver/issues"
8
9LICENSE = "MIT & BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6aab5363823095ce682b155fef0231f0 \
11 file://media_driver/media_libvpx.LICENSE;md5=d5b04755015be901744a78cc30d390d4 \
12 "
13
14COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
15
16inherit features_check
17REQUIRED_DISTRO_FEATURES = "opengl"
18
19DEPENDS += "libva gmmlib"
20
21SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;branch=intel-media-20.4 \
22 file://0001-Encode-Fixed-VP9-444-frame-header.patch \
23 file://0001-media_libva-export-packed-YUV-when-VA_EXPORT_SURFACE.patch \
24 file://0002-media-libva-Add-export-AYUV-color-in-vaExportSurface.patch \
25 "
26
27SRCREV = "1daed90e58cb9fb0a0dc6de9697aaad34b114507"
28S = "${WORKDIR}/git"
29
30COMPATIBLE_HOST_x86-x32 = "null"
31
32UPSTREAM_CHECK_GITTAGREGEX = "^intel-media-(?P<pver>(?!600\..*)\d+(\.\d+)+)$"
33
34inherit cmake pkgconfig
35
36MEDIA_DRIVER_ARCH_x86 = "32"
37MEDIA_DRIVER_ARCH_x86-64 = "64"
38
39EXTRA_OECMAKE += " \
40 -DMEDIA_RUN_TEST_SUITE=OFF \
41 -DARCH=${MEDIA_DRIVER_ARCH} \
42 -DMEDIA_BUILD_FATAL_WARNINGS=OFF \
43 "
44
45CXXFLAGS_append_x86 = " -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
46
47do_configure_prepend_toolchain-clang() {
48 sed -i -e '/-fno-tree-pre/d' ${S}/media_driver/cmake/linux/media_compile_flags_linux.cmake
49}
50
51FILES_${PN} += " \
52 ${libdir}/dri/ \
53 "