aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
AgeCommit message (Collapse)Author
23 hoursalsa-lib: Update patch for IMX-XCVR.confTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
24 hourspipewire: Fix move to dynamic-layersTom Hochstein
Fixes: e70b160 ("pipewire: untie bbappend from meta-multimedia") Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
28 hourspipewire: untie bbappend from meta-multimediaOleksandr Suvorov
Move the recipe append to dynamic-layers. This allows one to use meta-freescale without meta-multimedia layer. Fixes: f2575b7e ("recipes-multimedia: Upgrade to NXP release 6.6.3_1.0.0") Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
14 daysalsa-lib: Drop upstream patchTom Hochstein
The patch 0001-pcm-Fix-segfault-with-32bit-libs.patch is already upstream on master and scarthgap. Fixes: f2575b7e61 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
14 daysrecipes-multimedia: Upgrade to NXP release 6.6.3_1.0.0Valentin Jec
Updated: - alsa-lib update to 6.6.3_1.0.0 release and skip QA check for 32bit timer - gstreamer1.0-plugins-bad_1.22.5.imx update to 6.6.3_1.0.0 release, enable g2d - gstreamer1.0-plugins-base_1.22.5.imx update to 6.6.3_1.0.0 release, add opengl dependencies - gstreamer1.0-plugins-good_1.22.5.imx update to 6.6.3_1.0.0 release, enable pulseaudio and 32bit timer - gstreamer1.0_1.22.5.imx update to 6.6.3_1.0.0 release and add runtime dependency glibc-gconv-iso8859-5 - imx-gst1.0-plugin update to 6.6.3_1.0.0 release - imx-vpuwrap update to 6.6.3_1.0.0 release Upgraded: - imx-codec: 4.8.2 -> 4.8.3 - imx-dsp-codec-ext: 2.1.6 -> 2.1.7 - imx-dsp: 2.1.6 -> 2.1.7 - imx-parser: 4.8.2 -> 4.8.3 - imx-opencl-converter: 0.1 -> 0.2.0 New feature: - pipewire_1.0.0 Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
2024-03-21gstreamer1.0-plugins-base: Don't always enable viv-fbSamuli Piippo
GStreamer is now 1.22.5 and as commented drop the viv-fb append. i.MX 7ULP has a GPU and should still use viv-fb Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2024-02-12recipes-multimedia: Update for NXP release 6.1.55-2.2.0Valentin Jec
Upgraded: - gstreamer1.0-plugins-bad: 1.22.0 -> 1.22.5 - gstreamer1.0-plugins-base: 1.22.0 -> 1.22.5 - gstreamer1.0-plugins-good: 1.22.0 -> 1.22.5 - gstreamer1.0: 1.22.0 -> 1.22.5 - imx-codec: 4.8.1 -> 4.8.2 - imx-dsp: 2.1.5 -> 2.1.6 - imx-dsp-codec-ext: 2.1.5 -> 2.1.6 - imx-parser: 4.8.1 -> 4.8.2 Updated: - imx-alsa-plugins_git.bb - imx-gst1.0-plugin_git.bb - imx-vpuwrap_git.bb New feature: - imx-opencl-converter_0.1.bb Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
2023-11-06pulseaudio: Configure for i.MX 9 seriesTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-11-06recipes-multimedia: Update for NXP release 6.1.36-2.1.0Tom Hochstein
Updated: - imx-alsa-plugins_git.bb - gstreamer1.0-plugins-bad_1.22.0.imx.bb - gstreamer1.0-plugins-base_1.22.0.imx.bb - gstreamer1.0-plugins-good_1.22.0.imx.bb - gstreamer1.0_1.22.0.imx.bb - imx-gst1.0-plugin_git.bb - imx-vpuwrap_git.bb Upgraded: - imx-codec: 4.8.0 -> 4.8.1 - imx-dsp: 2.0.5 -> 2.1.5 - imx-dsp-codec-ext: 2.0.5 -> 2.1.5 - imx-parser: 4.8.0 -> 4.8.1 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-09-14gstreamer1.0-plugins-base: Fix viv-fb usage and extract PACKAGECONFIG_GLCarlos Rafael Giani
Both the NXP fork of gstreamer1.0-plugins-base and upstream GStreamer need the same PACKAGECONFIG_GL adjustments, so extract those into a common .bbappend. Also, in GStreamer 1.22.5, viv-fb has been decoupled from the Vivante direct texture feature. It is no longer necessary to set viv-fb to be able to use direct textures. viv-fb now solely and only is about the windowing system (that is, using the Vivante specific framebuffer API to be able to render OpenGL ES directly to framebuffer). That windowing system is only available on vendor BSPs for i.MX6 SoCs, so limit viv-fb to mx6-nxp-bsp. The recipe for the NXP fork is at version 1.22.0, so the fixes for decoupling viv-fb from direct textures is not present there. For this reason, always enable viv-fb in that recipe. This also makes sure that that recipe essentially behaves the same, because the PACKAGECONFIG_GL adjustments end up being the same as before. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-08-07gstreamer1.0-plugins-base: Fix build with muslKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-07imx-dsp-codec-ext: fix missing gnu_hashMax Krummenacher
Skip qa test on GNU_HASH. At least some prebuilt binaries lack it. Fixes: 707e624d ("imx-dsp-codec-ext: Upgrade 2.0.2 -> 2.0.5") | ERROR: imx-dsp-codec-ext-2.0.5-r0 do_package_qa: QA Issue: File /usr/lib/imx-mm/audio-codec/dsp/lib_nbamrd_wrap_dsp.so.1 in package imx-dsp-codec-ext doesn't have GNU_HASH (didn't pass LDFLAGS?) | File /usr/lib/imx-mm/audio-codec/dsp/lib_mp3d_wrap_dsp.so.3 in package imx-dsp-codec-ext doesn't have GNU_HASH (didn't pass LDFLAGS?) | File /usr/lib/imx-mm/audio-codec/dsp/lib_aacd_wrap_dsp.so.3 in package imx-dsp-codec-ext doesn't have GNU_HASH (didn't pass LDFLAGS?) | File /usr/lib/imx-mm/audio-codec/dsp/lib_vorbisd_wrap_dsp.so.3 in package imx-dsp-codec-ext doesn't have GNU_HASH (didn't pass LDFLAGS?) | File /usr/lib/imx-mm/audio-codec/dsp/lib_wbamrd_wrap_dsp.so.1 in package imx-dsp-codec-ext doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags] | ERROR: imx-dsp-codec-ext-2.0.5-r0 do_package_qa: Fatal QA errors were found, failing task. | ERROR: Logfile of failure stored in: /build/krm/oe-core_master/build/tmp/work/armv8a-tdx-linux/imx-dsp-codec-ext/2.0.5-r0/temp/log.do_package_qa.1942699 | ERROR: Task (/build/krm/oe-core_master/build/../layers/meta-freescale/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.0.5.bb:do_package_qa) failed with exit code '1' Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-07imx-vpuwrap: fix license checksumMax Krummenacher
The license was updated to LA_OPT_NXP_Software_License v45 May 2023. Follow that. Fixes: 73d43d81 ("imx-vpuwrap: Upgrade to 6.1.22-2.0.0") Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-08-03gstreamer1.0-vaapi: Use egl for all i.MX GPUTom Hochstein
i.MX 6 & 7 with GPU fails to build due to lack of glx support. Move the fix in 1.22.0.imx, which is limited to i.MX 8, to a generic bbappend so the upstream recipe is covered as well. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-08-03gstreamer: Upgrade 1.20.3.imx -> 1.22.0.imxTom Hochstein
Note, this commit does also complete the 'snapshot' model being used by including the .inc files. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-08-01gstreamer1.0-plugins-imx: Upgrade to version 2.2.0Carlos Rafael Giani
* imx2d: * Add 10-bit tiled NV12/21 formats and extend Imx2dPixelFormatInfo * Fix corner case when imx2d format has no GStreamer counterpart In such a case, no GStreamer format string exists, so format_str stays NULL, and the format_string_gvalue is not taken into the format_list_gvalue array. Unset it to prevent followup g_value_init() calls from failing. * Replace num_first_plane_bpp with pixel_stride pixel_stride is more useful and more intuitive in calculations, and works properly with tiled 10-bit formats. * Fix flickering when using DPU-emulated G2D rendering * Free surface during destroy * Add support for specifying colorimetry * Take into account chroma subsampling in alignments * Add special format specific stride alignment specifier * Add overlay composition support to imx2d video sinks * ipu: Add support for YUY2 (aka YUYV) * ipu: Add video sink Even though the IPU isn't actually flexible enough for use in a video sink, it can be useful for diagnostics and debugging, so add one. * g2d: Don't restrict calls to one thread if G2D is new enough * g2d: Check if Amphion tile enums are present * g2d: Enable YVYU and NV61 when using G2D newer than 1.x * g2d: Check for colorimetry support * vpu: * Raise minimum required libimxvpuapi version to 2.3.0 A number of API additions and critical bug fixes in libimxvpuapi make it essential to raise the minimum required version. * Fix case when a gap event arrives before the caps event does * Fix gst_imx_vpu_dec_drain() return type * Free element_name after registering * encoder: Add closed-gop-interval property * encoder: Handle force-keyframe-headers flag and add sync points * encoder: Fix h264/h265 AUD handling and add enable-aud property AUDs are not enabled by "au" caps. "au" instead means that buffers contain entire access units, which is what all imx6 and imx8 VPUs produce. Fix this by always setting "au" in the output caps and adding an "enable-aud" GObject property. * decoder: Add support for producing 4x4 tiled frames The 4x4 tile format is available with Hantro VPUs. Especially when using formats that are produced by the G2 VPU, using tiled formats can yield significant performance improvements, because the VPU does not have to perform internal detiling before handing over the decoded frame to the caller. The 4x4 tile format corresponds to the GStreamer NV12_4L4 format. If GStreamer is older than 1.18, this is disabled, since NV12_4L4 was introduced in 1.18.0. * decoder: When draining before setting format, don't treat EOS as error * v4l2video: * Add ISI transform and Amphion decoder elements These are meant for older imx-kernels (<5.15) that have broken drivers for V4L2 mem2mem ISI and Amphion decoder devices. These custom elements use workarounds to address the issues these drivers have. Newer kernels use different drivers that aren't broken, so the custom elements are not needed there. * v4l2videosrc: Minor logging fixes * v4l2videosrc: Support non-mxc_v4l2 devices (like USB cameras) This enables support for devices that aren't based on the mxc_v4l2 driver. Useful for being able to use the same imxv4l2videosrc element with both MIPI/CSI and USB cameras. * v4l2videosrc: Read back format with G_FMT after having set it with S_FMT Usually, the driver should set any changes in the parameters right in the S_FMT call, but some don't (they return defaults instead), so to be safe, actually issue the G_FMT ioctl instead. * v4l2videosrc: Copy bytesperline and sizeimage into videoinfo struct This is important if the driver picked a different format, since then, the originally chosen sizes and the new ones can differ significantly. * v4l2videosrc: Unref old v4l2 object before creating new one This fixes cases where a caps renegotiation happens and the old object still keeps the V4L2 device open, preventing some of the new object's ioctls from succeeding. * Added ov5645 mipi camera * v4l2videosrc: Check for V4L2_CAP_SDR_OUTPUT and V4L2_CAP_TOUCH presence * v4l2videosrc: Don't exit with error if mxc_v4l2 chip ID is not available * Add prelude header This fixes build errors due to undeclared symbols * v4l2videosrc: Don't use V4L2 sizeimage for single-planar pixel formats * Explicitly calculate plane stride and offset values * Remove pixel-aspect-ratio from probed device caps These unfixated template caps can mislead downstream fixation logic, leading to it using a PAR of 1/maxint, which in turn causes integer overflow errors. Elements do not normally specify that kind of pixel aspect ratio range, and just omit it from the template caps. * Use sys/time.h instead of time.h * imx-gst-libs: * common: Fix incorrect imx_dma_buffer_deallocate() calls If the gst_imx_dmabuf_allocator_activate() call inside alloc() fails, imx_dma_buffer_deallocate() would be called even though no imxdmabuffer was allocated. Fix this by adding an imx_dma_buffer check. * common: Add gst_imx_dmabuf_allocator_get_physical_address() * common: Misc GstImxDmaBufAllocator improvements * common: Fix gst_imx_dmabuf_allocator_wrap_dmabuf() call This function tries to get a physical address before activating the allocator. Switch this around to make this call work with allocators like the ION allocator. * common: Replace dup() with memory ref'ing in dmabuf uploader Using dup() was causing an FD leak because the dup'ed FD was not being closed correctly. But also, just using dup() risks data races because producers can still write to the same dma-buf memory that consumers are processing. Instead, ref the input dmabuf gstmemory to let the rest of the pipeline know that the gstmemory is in use. * common: Remove volatile qualifier in allocator GType This addresses the warning: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier * common: Fix assertion in raw_buffer_upload_method_create() * common: Synchronize imx gstmemory access with mutexes * video: Move GstImx2dVideoBufferPool to video/ GstImx2dVideoBufferPool is not actually imx2d specific, and can be reused in other plugins. Move it to gst-libs/gst/imx/video/ for that purpose. * video: Add functions to videobufferpool for getting info * video: Add GstImxVideoDmaBufferPool * video: Set videometa plane stride & offset values in pool * video: Take into account chroma subsampling in alignments * video: Adjust video meta before doing a CPU based frame copy * video: Fix video dma buffer pool info size modifications * video: Add function for setting new video uploader alignments Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-08-01libimxvpuapi2: Upgrade to version 2.3.0Carlos Rafael Giani
* vpu: Implement first working version of VC8000E encoder integration This adds support for the Hanto VC8000E encoder that can be found on the i.MX8m plus. The VC8000E encoder integration is not finished. h.264 encoding works fine. h.265 encoding is not yet done. And, changing framerate mid-stream is currently not supported. * Replace mxcfb.h with ipu.h in option description Some BSPs no longer ship with the mxcfb.h header. * imx6-coda: Fix ENC_ENABLE_SOF_STUFF check The check was being performed incorrectly, leading to nullbytes being inserted at the end of the SOF0 marker. * imx6-coda: Insert JFIF APP0 segment The VPU does not insert this segment on its own. Some programs need JFIF data to be present in JPEG files, so insert APP0 manually. * imx6-coda: Fix decoder and encoder alignments * imx6-coda: Add more IPU detiler logging * imx6-coda: Fix decoder Y/U/V offset alignments As it turns out, these must be aligned to 8-byte boundaries, not to 4096 byte ones. The latter caused incorrect offset calculations. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2023-07-28imx-alsa-plugins: Upgrade to 6.1.22-2.0.0Zelan Zou
Relevant changes: - b2ba082 asrc_pair: Update mxc_arc header location. - dc41b8f Add SCR-imx-alsa-plugins.txt. Signed-off-by: Zelan Zou <zelan.zou@nxp.com> Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-28imx-vpuwrap: Upgrade to 6.1.22-2.0.0Zelan Zou
Signed-off-by: Zelan Zou <zelan.zou@nxp.com> Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-28imx-dsp-codec-ext: Upgrade 2.0.2 -> 2.0.5Zelan Zou
- Add more DSP libraries of i.MX platforms. - Install different lib of different platforms. Signed-off-by: Zelan Zou <zelan.zou@nxp.com> Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-28imx-dsp: Upgrade 2.0.2 -> 2.0.5Zelan Zou
Signed-off-by: Zelan Zou <zelan.zou@nxp.com> Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-28imx-codec: Upgrade 4.7.2 -> 4.8.0Zelan Zou
Signed-off-by: Zelan Zou <zelan.zou@nxp.com> Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-28imx-parser: Upgrade 4.7.2 -> 4.8.0Zelan Zou
Signed-off-by: Zelan Zou <zelan.zou@nxp.com> Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-28imx-sw-pdm: Upgrade 1.0.2 -> 1.0.3Zelan Zou
- test: Change input file to raw pdm file. Signed-off-by: Zelan Zou <zelan.zou@nxp.com> Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-06-22Merge pull request #1584 from Vexatuspl/masterOtavio Salvador
Update libimxvpuapi2_2.2.2.bb: "hanto" missing files fix (imx8mp)
2023-06-22Update libimxvpuapi2_2.2.2.bbVexatuspl
This fixes the compilation issue on imx8mp, where "hanto" files are missing.
2023-06-21recipes: Add missing patch tag Upstream-StatusKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21recipes: Correct Upstream-StatusKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-08gstreamer1.0-plugins-good: Fix build with clang-16Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-08gstreamer1.0-python: package the internal libraries explicitlyKhem Raj
setuptools3-base FILES assignments have been simplified, therefore the internal libraries should be now packaged explicitly. Fixes ERROR: QA Issue: gstreamer1.0-python: Files/directories were installed but not shipped in any package: /usr/lib/gstreamer-1.0/libgstpython.so Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-02Merge pull request #1559 from thochstein/multimediaOtavio Salvador
gstreamer LF6.1.1-1.0.0 update
2023-06-02imx-alsa-plugins: Update MM_04.07.01_2208_L5.15.y -> MM_04.07.03_2301_L6.1.yTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-06-01imx-vpuwrap: Upgrade to 6.1.1-1.0.0Chris Dimich
As per NXP langdale-6.1.1-1.0.0 release. Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-06-01gstreamer1.0-plugins-good: Fix libsoup runtime dependencyTom Hochstein
Backport a fix for libsoup: https://github.com/openembedded/openembedded-core/commit/56c4559788d3d87ceed965aedd03d461df5999aa Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-06-01gstreamer1.0*: Update MM_04.07.02_2210_L5.15.y -> MM_04.07.03_2301_L6.1.yTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-05-31gstreamer1.0-plugins-good: Move i.MX overrides to overrides sectionTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-05-31gstreamer1.0-plugins-base: Move i.MX overrides to overrides sectionTom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-03-13imx-gst1.0-plugin: Fix build with clangKhem Raj
These warnings are already there, gcc just does not error on them yet but clang does. Therefore clean them up a bit Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13gstreamer1.0-plugins-base: Provide gstreamer1.0-plugins-base-videoconvertscaleKhem Raj
This builds a bridge for packagegroups from oe-core master which are upgraded to use gstreamer 1.22 and some packages are merged together e.g. videoconvertscale is unified version of videoconvert and videoscale packages Fixes ERROR: gstreamer1.0-meta-base-1.0-r0 do_package_qa: QA Issue: gstreamer1.0-meta-base rdepends on gstreamer1.0-plugins-base-videoconvertscale, but it isn't a build dependen cy? [build-deps] Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-12gstreamer1.0-plugins-good: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11gst-devtools: Add recipe for 1.20.3.imxKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11gstreamer1.0-vaapi: Do not use glx backend on imxKhem Raj
vivante does not implement glx Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11gstreamer1.0-omx: Add 1.20.3.imx recipeKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11gstreamer1.0-vaapi: Add 1.20.3.imx recipeKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11gstreamer1.0-python: Add 1.20.3.imx version to match imx setKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-11gstreamer1.0-libav,gstreamer1.0-plugins-ugly,gstreamer1.0-rtsp-server: Drop ↵Khem Raj
.imx when needing gstreamer version Fixes fetching errors otherwise, since it can not file source tarballs on gstreamer download servers with 1.20.3.imx suffix Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Jose Quaresma <jose.quaresma@foundries.io>
2023-03-10gstreamer: rename the version to be imx specificJose Quaresma
These recipes are copies of oe-core 1.20.3 that are not available anymore upstream on the master branch. The requirement to have them is because they are dependencies of the other ones imx specific gstreamer forks on the layer. So make their names maching the exisng ones will make it more safe. Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2023-03-08gstreamer: add recipes for upstream 1.20.3 versionsSamuli Piippo
oe-core has moved to gstreamer 1.22.0 and recipes which don't have an imx version can no longer be built. Add older version of those components to be used with the gstreamer 1.20.3.imx. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2023-02-03gstreamer1.0-plugins-base: Fix build with gcc13Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-11gstreamer1.0-omx: Disable tests and examples on imx SOCsKhem Raj
Fails to build, lets disable them for now Signed-off-by: Khem Raj <raj.khem@gmail.com>