[meta-freescale] [meta-fsl-arm][PATCH] libimxvpuapi: Add new recipe

Carlos Rafael Giani dv at pseudoterminal.org
Wed Nov 4 02:22:04 PST 2015


A few notes:

* Even though COMPATIBLE_MACHINE is set to (mx6), the packages are still 
in the cortexa9hf-vfp-neon folder, not in the 
tmp/deploy/ipk/cortexa9hf-vfp-neon-mx6qdl. Not sure if this is OK. The 
library's API contains no bits and #includes that are machine specific 
in any way.

* I noticed that libfslvpuwrap recipe sets PACKAGE_ARCH = 
"${MACHINE_ARCH}" . I am wondering if this would make sense for the 
libimvpuapi one as well. It does depend on imx-vpu, which contains 
machine specific bits in its headers (like, "#if defined(IMX6Q)"). Or is 
there a different reason why the libfslvpuwrap recipe sets the 
PACKAGE_ARCH to MACHINE_ARCH?

* The libfslvpuwrap recipe use COMPATIBLE_MACHINE = "(mx6q|mx6dl)" 
instead of COMPATIBLE_MACHINE = "(mx6)" . I am not aware of the entire 
mx6 production line. Are there imx6 machines without a VPU? If so, does 
"(mx6q|mx6dl)" include all machines that *do* have a VPU?

On 2015-11-04 11:12, Carlos Rafael Giani wrote:
> This is a library for using the i.MX6 VPU. It is an alternative to
> libfslvpuwrap, hosted on Github, and has an API that features several
> improvements over libfslvpuwrap, which include:
>
> * User-defined context information associated with input frames, which is
>    passed on to corresponding output frames (to be able to identify which
>    input frame produced which output frame)
> * Groundwork for future DMA-BUF/BMM/ION/CMA allocator integration, using
>    file descriptors instead of physical addresses
> * Indicators for when it is safe to try to decode frames, which is
>    critical in multi-threaded playback cases
> * Simplified, higher-level JPEG en/decoding API, based on the VPU MJPEG
>    codec; useful for picture viewing without the extra boilerplate for
>    VPU-based en/decoding
>
> Signed-off-by: Carlos Rafael Giani <dv at pseudoterminal.org>
> ---
>   recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.0.bb | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>   create mode 100644 recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.0.bb
>
> diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.0.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.0.bb
> new file mode 100644
> index 0000000..8365104
> --- /dev/null
> +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi_0.10.0.bb
> @@ -0,0 +1,16 @@
> +DESCRIPTION = "frontend for the i.MX6 VPU hardware video engine"
> +HOMEPAGE = "https://github.com/Freescale/libimxvpuapi"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=38fa42a5a6425b26d2919b17b1527324"
> +SECTION = "multimedia"
> +DEPENDS = "imx-vpu"
> +
> +SRCBRANCH ?= "master"
> +SRCREV = "d44fb50780b9de319315cf2f0423def47b58df78"
> +SRC_URI = "git://github.com/Freescale/libimxvpuapi.git;branch=${SRCBRANCH}"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit waf pkgconfig
> +
> +COMPATIBLE_MACHINE = "(mx6)"



More information about the meta-freescale mailing list