diff options
| author | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2022-12-12 14:26:21 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-12-15 10:46:11 -0600 |
| commit | f1692bd0d50f9ca6d4cdc3c5d221af60acb50a18 (patch) | |
| tree | 27ba96fc229ba5e21c69c2cbf5a885989f867ea9 /meta-xilinx-core | |
| parent | 683efd7e7dc782a07b42756ee012d605e96e9f38 (diff) | |
| download | meta-xilinx-f1692bd0d50f9ca6d4cdc3c5d221af60acb50a18.tar.gz | |
libvdu-omxil.bb: Add recipe to integrate vdu OMXIL layer
Add yocto recipe to integrate AllegroDVT2 OpenMax Integration Layer. The
OpenMax APIs define a standardized media component interface to enable
developers and platform providers to integrate and communicate with multimedia
codecs implemented in hardware or software.
The OpenMAX IL layer is integrated on top of the VDU Control Software.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core')
| -rwxr-xr-x | meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil.bb b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil.bb new file mode 100755 index 00000000..d6e219eb --- /dev/null +++ b/meta-xilinx-core/recipes-multimedia/vdu/libvdu-omxil.bb | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | SUMMARY = "OpenMAX Integration layer for VDU" | ||
| 2 | DESCRIPTION = "OMX IL Libraries,test application and headers for VDU" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c15ae83ba15c4ab3fa4eb2c22975258f" | ||
| 5 | |||
| 6 | XILINX_VDU_VERSION = "1.0.0" | ||
| 7 | PV = "${XILINX_VDU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" | ||
| 8 | |||
| 9 | BRANCH ?= "master" | ||
| 10 | REPO ?= "git://github.com/Xilinx/vdu-omx-il.git;protocol=https" | ||
| 11 | SRCREV ?= "00f1256366ce367dec0bddb9725325a744a5c764" | ||
| 12 | |||
| 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
| 14 | SRC_URI = "${REPO};${BRANCHARG} \ | ||
| 15 | " | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit autotools features_check | ||
| 19 | |||
| 20 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
| 21 | |||
| 22 | COMPATIBLE_MACHINE = "^$" | ||
| 23 | COMPATIBLE_MACHINE:versal-ai-core = "versal-ai-core" | ||
| 24 | COMPATIBLE_MACHINE:versal-ai-edge = "versal-ai-edge" | ||
| 25 | |||
| 26 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" | ||
| 27 | |||
| 28 | DEPENDS = "libvdu-ctrlsw" | ||
| 29 | RDEPENDS:${PN} = "kernel-module-vdu libvdu-ctrlsw" | ||
| 30 | |||
| 31 | EXTERNAL_INCLUDE="${STAGING_INCDIR}/vdu-ctrl-sw/include" | ||
| 32 | |||
| 33 | do_compile[dirs] = "${S}" | ||
| 34 | do_install[dirs] = "${S}" | ||
| 35 | |||
| 36 | EXTRA_OEMAKE = " \ | ||
| 37 | CC='${CC}' CXX='${CXX} ${CXXFLAGS}' \ | ||
| 38 | EXTERNAL_INCLUDE='${EXTERNAL_INCLUDE}' \ | ||
| 39 | INSTALL_PATH=${D}${bindir} \ | ||
| 40 | INCLUDE_INST_PATH=${D}${includedir} \ | ||
| 41 | " | ||
| 42 | |||
| 43 | do_install:append() { | ||
| 44 | install -d ${D}${libdir} | ||
| 45 | |||
| 46 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/ | ||
| 47 | oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/ | ||
| 48 | } | ||
| 49 | |||
| 50 | # These libraries shouldn't get installed in world builds unless something | ||
| 51 | # explicitly depends upon them. | ||
| 52 | |||
| 53 | EXCLUDE_FROM_WORLD = "1" | ||
