aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
AgeCommit message (Collapse)Author
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-03-31Move from codeaurora to githubTom Hochstein
Fixes: #1469 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-12-29libimxvpuapi2: Upgrade to version 2.2.2Carlos Rafael Giani
* imx6-coda: Skip incomplete frames instead of just reporting them * imx6-coda: Only flush bit buffer when framebuffers were registered This prevents misleading error-level log lines from occurring * imx6-coda: Prefer semi planar modes over fully planar ones * imx8m-hantro: Reset decoder write_offset to fill_level when moving read_offset * Add imx_vpu_api_is_color_format_tiled() function * update waf to 2.0.24 * Add closed_gop_interval field to ImxVpuApiEncOpenParams This allows for enforcing regularly occurring IDR boundaries when encoding to h.264 * imx8m-hantro: Fix supported decoder color formats and include tiled formats * Fix and improve h.264 max level estimation for encoding * imx6-coda: Use 2-row alignment in encoder * imx6-coda: Fix JPEG encoding quantization parameter handling in encoder Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> (cherry picked from commit b30dde7a1a0b8a42b401c01a0f239a972bc00639)
2022-05-11gstreamer1.0-plugins-imx: Backport version 2.1.0 from kirkstoneCarlos Rafael Giani
gstreamer1.0-plugins-imx version 0.13 remains preferred by default to maintain compatibility with existing BSPs. Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2022-05-11libimxvpuapi2: Upgrade to version 2.2.1Carlos Rafael Giani
* Add option to not compile examples * imx8m-hantro: Allow for reusing decoder after drain mode finishes * imx6-coda: Reset drain mode after EOS processed * imx6-coda: Reset drain mode flags when flushing * Use libimxdmabuffer 1.1.2 sync access functions to ensure cache coherence * Add imx_vpu_api_is_color_format_10bit() function * Documentation fixes Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2021-11-23recipes: use https protocol and add explicit branch parameterPierre-Jean Texier
Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git it is required to use https protocol for github repo accessing. Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0]) Fixes: WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url. [0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com> (cherry picked from commit bef00d6e4f25b4a9d3272e0d69db7545590ed204)
2021-06-16libimxvpuapi2: Update to version 2.2.0Carlos Rafael Giani
* Add IMX_VPU_API_DEC_OUTPUT_CODE_VIDEO_PARAMETERS_CHANGED output code * Deprecate encoder drain mode, better document decoder drain mode * Various documentation fixes and new overviews about en- and decoding to help with the basic concepts * Add note about the current state of i.MX8m plus support * New functions: imx_vpu_api_is_color_format_rgb() imx_vpu_api_vp8_profile_number() imx_vpu_api_vp8_partition_count_number() imx_vpu_api_vp9_profile_number() imx_vpu_api_enc_set_frame_rate() * imx6-coda: Fix decoded frame fb_context This was causing crashes when callers relied on said fb_context Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> (cherry picked from commit 53a7fa11367fbc09d1ce4f7f9de7d4b4393c3b71)
2021-05-31libimxvpuapi2: Update to version 2.1.2Carlos Rafael Giani
* imx6 coda: fix bug in IPU based detiling related to frame width/height * imx6 coda: use the frame width/height from open params if available * imx6 coda: fix duplicate VPU firmware unloading * imx6-coda: Fix skipped frame reporting * imx8 hantro encoder: fix mid-stream bitrate changes and bitrate logging * imx8m-hantro: Handle CODEC_ERROR_FRAME codec state * imx8m-hantro: Limit supported formats and profiles if building for m8xmm Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> (cherry picked from commit 355c3729d54b6df984f7d70dbbd513cce53b573b)
2021-05-31libimxvpuapi2: Update to version 2.1.0Carlos Rafael Giani
* introduce RGB and packed YUV formats since the Hantro encoder supports those * remove hardware specific public headers since they only added tiled pixel formats; instead, migrate these tiled formats into ImxVpuApiColorFormat * imx8 hantro decoder: reorder list of supported decoder color formats to favor 10 bit output * imx8 hantro decoder: clear new framebuffer fields to zero * imx8 hantro encoder: fix segfault caused by trying to unmap non existing staged raw frame Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> (cherry picked from commit aa3189ea5c91eb8c0947474abaf983bcdecc017a)
2020-11-10gstreamer1.0-plugins-base: add additional patchesZan Dobersek
Add a pair of patches that's to be applied over the iMX flavor of the gstreamer1.0-plugins-base codebase. First patch comes from upstream, and it fixes glupload behavior by avoiding mapping the GL buffers into CPU memory. It's only applicable to the current MM_04.05.05_2005_L5.4.24 branch that is based on the upstream 1.16.1 release, since the patch itself is already present in 1.16.2. https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/444 Second patch is a fix for Meson builds that enable the viv-fb GL winsys. The change is only applicable to the NXP gst-plugins-base repository. When enabled, the GL plugins library should also link against libg2d since the viv-fb code is using g2d allocators. Signed-off-by: Zan Dobersek <zdobersek@igalia.com> (cherry picked from commit 447032d809427a20cc066b32254cea8821073281)
2020-11-10gstreamer1.0-plugins-base: allow enabling viv-fb as a supported GL winsysZan Dobersek
Add the viv-fb PACKAGECONFIG flag through which the corresponding GL winsys support can be enabled in the GStreamer base plugins configuration. When enabled, dependencies on the virtual libgles2 and libg2d targets are required. Signed-off-by: Zan Dobersek <zdobersek@igalia.com> (cherry picked from commit f28829ec9097b6e2f4f852ddb94291dda26a2e21)
2020-11-10gstreamer1.0-plugins-bad: fix vulkan compilation errorAndrey Zhizhikin
VK_RESULT_BEGIN_RANGE has been removed in Vulkan headers, and corresponding patch has been introduced in GStreamer. Backport patch from upstream GStreamer to NXP fork to address compilation error for Vulkan. Cc: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> (cherry picked from commit 5c0fd24a5d8889690936e5b01e2cc7f527d5d575)
2020-09-29libimxvpuapi2: add imx8mp to supported platformsAndrey Zhizhikin
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> (cherry picked from commit 9232106eb6f44562d8584f6f890ea3d22f097bba)
2020-09-29alsa-lib: Add conf for i.MX XCVR sound cardTom Hochstein
For EARC iec958 plugin running on 8M Plus, we need to deploy IMX-XCVR.conf in Yocto rootfs. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 91a3a45f14eda2e2c0a79e7c9c69736cdc94fe5e)
2020-09-29imx-parser: Set package architecture correctly to tune-specificTom Hochstein
The tune-specific package architecture is sufficient, no need to use the more specific SOC or MACHINE package architecture. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 8786908fcf68873179c831f0a2c928761de221a0)
2020-09-29gstreamer1.0-plugins-bad: Remove un-necessary opencv dependencyTom Hochstein
OpenCV is no longer required, so remove it from PACKAGECONFIG. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 84cb357397748012d312d7b65161ba2f8af60dfc)
2020-09-29gstreamer1.0: update to NXP release MM_04.05.05_2005_L5.4.24Andrey Zhizhikin
Align recipes to match NXP release 5.4.24-2.1.0 by updating the branch to MM_04.05.05_2005_L5.4.24. Following notes are additions to the regular bump of recipes: -------------------------- gstreamer1.0-plugins-bad: Drop patches applied upstream and refresh all patches in layer with devtool to clean-up fuzz during apply. Backport patch to be able to compile with OpenCV 4.4.0 provided in upstream OE-Core. imx-gst1.0-plugin: Introduce the patch to solve compiler error reported when -fcommon is used in GCC10 configuration. -------------------------- Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> (cherry picked from commit eee0beb7da54159853b540e8e0ea4bed74eeeeda)
2020-09-29imx-parser: upgrade to 4.5.5Andrey Zhizhikin
NOTE: This version uses v11 EULA from NXP Following commits are added in this release (including command): $ git log --oneline --no-decorate eff47177..72395663 72395663 MA-17095: MP4 PARSER 06.16.07 6abeb330 MA-16391-2: MP4 PARSER 06.16.06 7a8c66d5 MA-16391: MP4 PARSER 06.16.05 support ENCRYPTED_BYTE_BLOCK, SKIP_BYTE_BLOCK, CRYPTO_IV 6f7d785f MA-17070 MP3 PARSER 03.03.03 8fb0fc1a MA-17026 AAC PARSER 03.01.04 8d04d6cd MA-16982: fix cts android.media.cts.DecoderTest#testDecodeMonoOggMkv 1bc9b758 MA-16969 [Android] Q10_2.0.0 cts MediaMuxerTest#testAllTimestampsBVideoOnly fail efa3c12f MMFMWK-8754 MPEG2 PARSER 05.01.02 fbab3462 MA-16828: fix cts android.media.cts.DecoderTest#testTrackSelectionMkv 2e2ca2ad MA-16684: suppoert av1 video format in mkv parser e9cf3560 [configurea.ac] Update version to 4.5.5 for next release 138ef113 MA-16403 Fix ID3 parser return wrong artwork size 782e91e1 MA-16375 MPEG2 PARSER 05.01.01 57207e77 MMFMWK-8725 MP3 PARSER 03.03.01 48581949 MMFMWK-8650 MPG2 PARSER 04.06.03 2f3da775 [configurea.ac] Update version to 4.5.4 for next release Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> Cc: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 10f3833c3cdba45d9c89bcf093e18791bb037556)
2020-09-29imx-codec: update to 4.5.5Andrey Zhizhikin
NOTE: This update uses new EULA v11 from NXP. Following commits are added in this release (including command): $ git log --oneline --no-decorate 4ebbb1bc..16dba069 16dba069 MMFMWK-8757 release/build_std: Fix yocto automation issue b912378e MMFMWK-8755 release/build_std: Add flac unit test to pkg 5871d696 MLK-23360-2: release/lib: Update mp3 codec lib 3573ebeb MLK-23360-1: mp3_dec: MP3 codec doesn't detect sample rate change in the stream edb24319 [configurea.ac] Update dsp version to 1.0.14 for next release 980baaad [configurea.ac] Update version to 4.5.5 for next release 4fddfbd5 [configurea.ac] Update dsp version to 1.0.13 for next release e3b603f8 [configurea.ac] Update version to 4.5.4 for next release Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> Cc: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 31f04e4b16baf396766ff0fbb563a43d0b28fd7c)
2020-09-29imx-vpuwrap: upgrade to 4.5.5Andrey Zhizhikin
Starting from this version, imx-vpuwrap is provided in a separate GIT repository and no longer in archive. Following commits are added in this release (including command): $ git log --oneline --no-decorate 8a3f1b0..b683295 b683295 MA-17072 [VC8000E] Set AVC default profile/level ae24b72 MA-16984 update Android.bp to remove "imx_defaults" 1349ea2 MA-16873-4 Update vpu_wrapper path c1235d2 MA-16830-2 Fix memleak when free memory in wrapper f680b3c MMFMWK-8745 hantro: enable reorder config for hantro vpu 3685f06 MA-16717-3 add VPU_DEC_SKIP for CODEC_PIC_SKIPPED 35b43ea MA-16717-2 Add Config to reset codecdata flag 8c92057 MMFMWK-8742 Map decoders to timestamps ad0bc7f MMFMWK-8739 [8mp]Grecorder: Only one recorded ts file play well when set '-n 3' 6c306bc MMFMWK-8738 [8mp] Set right input buffer's Y,U,V physical address 1524207 MMFMWK-8736 Fix hantro decoder can't get fullrange flag of files encoded with vc8000e 19fe757 MA-16593 [evk_8mm] Fix video hang due to error frame 13459f7 MMFMWK-8733 Update EULA.txt for vpu_wrapper according to imx-release-info 35ea5e6 [configurea.ac] Update version to 4.5.5 for next release 94c38de MA-16435-1 Modify Android makefile 96e189f MMFMWK-8720 Replace docs/EULA.txt and add SRC file SCR-imx-vpuwrap.txt 341dc9b MMFMWK-8720 Simplify vpu wrapper bf6680e MMFMWK-8720 Sync vpu wrapper code with Android and change copyright 1e6bc61 MMFMWK-8720 fix vc8000e encoder can't work a61d115 MMFMWK-8722 Fix color abnormal issue of streaming feature f68972d MMFMWK-8722 [8mp] Fix bitrate getting smaller issue of VC8000E encoder e7b3992 MMFMWK-8718 Enable cropping for hantro encoder at preprocess stage 017ecf7 MMFMWK-8714 [8mp] Adjust parameters to get correct filesize with given bit rate. 95acceb MMFMWK-8595 seperate 845 and 865 rootfs 180d19f MMFMWK-8595 Enable VC8000E encoder for 865 6fb749b [configurea.ac] Update version to 4.5.4 for next release Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> Cc: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 443f182f25b01c8dc137012f40df559b3b4ef7c8)
2020-05-09gstreamer1.0-plugins-bad: update opencv patch to 4.3.0Andrey Zhizhikin
OpenCV has been upgraded upstream to 4.3.0 and current build of gstreamer1.0-plugins-bad is broken as the previous patch required version to be < 4.2.0 Backport the patch from upsteam to allow compilation with OpenCV 4.3.0 and replace the patch in the layer. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2020-04-24gstreamer1.0-plugins-imx: Update to version 0.13.1Carlos Rafael Giani
* Last planned release in the 0.x series. Development now focuses on 2.x. The 2.x series will support i.MX6, i.MX7, and i.MX8. * OE recipe fix to use the correct G2D dependency (imxg2d, not imx-gpu-viv) * waf: Update to version 2.0.12 and switch to Python 3 * misc: * gst_buffer_pool_config_set_allocator() and get_allocator() are transfer-none. Changes to the code address that, fixing various refcount related problems. * Update GstPhysMemoryAllocator support for GStreamer 1.14+ * v4l2video: * v4l2src: Set interlace flags in GstBuffer * v4l2sink: Define V4L2_COLORSPACE_DEFAULT if it doesn't exist * v4l2: Add phys mem meta only if the driver/card is known to support this This makes USB video cameras work with imxv4l2videosrc, because they do not provide any physical address. * v4l2_buffer_pool: First reset the buffer storage in the pool, then queue the buffer. Otherwise it might happen that we dequeue the same buffer in a different thread already *before* we have it reset in the buffer storage, and then run into an assertion because it contains NULL. * vpu: * decoder: Fix for an endless loop at gst_imx_vpu_decoder_finish() when in no_wait mode * decoder: Clear the GST_VIDEO_BUFFER_FLAG_TFF flag in case of IMX_VPU_INTERLACING_MODE_BOTTOM_FIELD_FIRST * decoder: Honour num-additional-framebuffers setting * decoder: Fix leak when input video formats change due to a missing gst_imx_vpu_decoder_close() call * ipu: Reintroduce interlace methods * audio: * Save pointer to codec_data GstBuffer to fix memory leak * Only allocate reordered_channel_positions if needed. If we don't need to reorder the audio channels, we the unnecessary allocation otherwise. * g2dpango: * Add missing header and cleanup a few warnings * Unref video_frame memory after phys_memory check Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2020-04-20imx-vpuwrap: Upgrade to v4.5.3Yuqing Zhu
-Update EULA to v10 -Add vpu wrapper unit test for i.MX8 Enable 8mm/8mq to support H264/HEVC byte-stream format decoding Enable 8mm to support H264 encoding Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
2020-04-20imx-parser: Upgrade to v4.5.3Yuqing Zhu
-Update EULA to v10 -Fix unexpected EOS reported by Aiurdemux while playing fragmented mp4 video -Add Mpeg2ResetOuputBuffer when track is disabled -Upgrade mp 3parser's getNextSamle, don't read 16KB because this mode can't calculate right timestamp -Add Parser API to get ac4 presentation info -Fix ID3 parser return wrong artwork size Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
2020-04-20imx-codec: Upgrade to v4.5.3Yuqing Zhu
-Update EULA to v10 -Update version to align with other Multimedia components Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
2020-04-20libimxvpuapi2: Update to version 2.0.1Carlos Rafael Giani
* imx6: replace mxcfb.h check with i.MX6 specific imx header check the mcxfb.h check only makes sense with i.MX6 devices, so requiring those for others like i.MX8 led to build errors * update waf to 2.0.12 and switch wscript to use Python 3 * imx6: fix encoder pointer usage in vpu_EncGiveCommand() call Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2020-04-16gstreamer: upgrade to MM_04.05.03_1911_L5.4.0 branchAndrey Zhizhikin
Upgrade imx fork of gstreamer components to version taken from MM_04.05.03_1911_L5.4.0 branch. This branch is aligned with the new kernel update from NXP. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-12gstreamer1.0-plugins-base: Add gbm window system for mainline BSPOtavio Salvador
When using mainline BSP we need to enable the gbm window system. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-03gstreamer1.0: Transition to meson based buildsAndrey Zhizhikin
Update gstreamer to meson build system. This update follows the strategy and description provided in commit [3e71919b865433ca007bf23f9b4f9015e25ac04e] from upstream. Autotools patches are completely dropped from the layer, and meson-relevant patches are introduced instead. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-03-03gstreamer1.0-rtsp-server: Transition to meson based buildsAndrey Zhizhikin
Following modifications were performed: - Remove reference to autotools/M4 related patch: [0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch] - Drop reference to gettext handling - Remove all autotooling class references and functions and replace them with meson class - Add patch to fix GIR support in the meson.build file Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-03-03gstreamer1.0-plugins-ugly: Transition to meson based buildsAndrey Zhizhikin
Following modifications were done: - Remove reference to autotools/M4 related patch: [0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch] - Convert all packageconfigs from using autotools syntax to meson - Replace EXTRA_OECONF with EXTRA_OEMESON - gettext handling now part of gstreamer1.0-plugins-common.inc. - Align fork recipe to match upstream from oe-core Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-03-03gstreamer1.0-plugins-bad: Transition to meson based buildsAndrey Zhizhikin
This update follows [427eb30f9b59972b38ae3f25094470bb7034547d] in upstream, which trasnitions the gstreamer1.0 plugins build from autotools to meson build. Additional patches included in meta-freescale are: - Backport of 2 patches to allow using OpenCV version 4.1.0 - Adaptions required in NXP fork to use meson - One patch which solves the data dir search on OpenCV. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-03-03gstreamer1.0-plugins-good: Transition to meson based buildsAndrey Zhizhikin
This follows [41c498bded82d3c9216dd3c862e70890f67f2914] from upstream, which transitions gstreamer1.0 plugins from autotools to meson build system. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-03-03gstreamer1.0-plugins-base: Transition to meson based buildsAndrey Zhizhikin
Update gstreamer base plugins to meson build system. This update follows the strategy and description provided in commit [e957fbc5d82368934f721e3773bf3942c5177ed7] from upstream. Autotools patches are dropped from the layer and additional meson-relevant patches are introduced from upstream. In addition, patch required to support meson build of NXP fork is included. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-01-17gstreamer: Adapt to meson changes from oe-coreKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-08gstreamer1.0-plugins-imx: use host python3Max Krummenacher
Fixes: | ERROR: gstreamer1.0-plugins-imx-0.13.0+gitAUTOINC+963aea60b1-r0 do_configure: Execution of '/build/krm/oe-core_master/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/gstreamer1.0-plugins-imx/0.13.0+gitAUTOINC+963aea60b1-r0/temp/run.do_configure.44421' failed with exit code 127: | /usr/bin/env: ‘python’: No such file or directory Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-01-08libimxvpuapi: use host python3Max Krummenacher
Fixes: | ERROR: libimxvpuapi-0.10.3+AUTOINC+4afb52f97e-r0 do_configure: Execution of '/build/krm/oe-core_master/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/libimxvpuapi/0.10.3+AUTOINC+4afb52f97e-r0/temp/run.do_configure.51207' failed with exit code 127: | /usr/bin/env: ‘python’: No such file or directory Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-12-22imx-gst1.0-plugin: upgrade to version 4.5.1Andrey Zhizhikin
Upgrade current recipe to version 4.5.1, which also matches the NXP release tag rel_imx_4.19.35_1.1.0 for all components. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2019-12-22gstreamer1.0: ship missing files in -dev packageAndrey Zhizhikin
New version of GStreamer introduced several python scripts, which are development-related. Provide them in the -dev package. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2019-12-22gstreamer1.0-*: resolve absolute paths usage for patch searchAndrey Zhizhikin
Since all pathes required by those recipes are collcted in this layer, there is no need to use an absolute path to oe-core when searching for patch files. This also breaks build when build system initialization is different from NXP bootstrap script. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2019-12-22gstreamer1.0-plugins-bad: fix recipe and add patches from oe-coreAndrey Zhizhikin
Fix absolute search paths in the recipe, which attemped to use patches directly from oe-core and keep those patches in this layer. This would allow ease of tracking (patches could be dropped once version is upgraded) and resolves the dependency from oe-core layer (no direct inclusion necessary via env variables which is not present at every build system setup). Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2019-12-22gstreamer1.0-plugins-base_1.16.imx: rebase patches and fix recipeAndrey Zhizhikin
Current implemetation of recipe has absolute path to patches from oe-core, which breaks the build if initialization script from Freescale is not used to bootstrap the environment. Moreover, several patches from oe-core does not apply cleanly to the NXP tree and should be rebased. This commit eliminates the hardcoded paths from recipes and collects patches from oe-core in this layer. Two patches are also rebased to be cleany applied to NXP source tree. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2019-12-20gstreamer1.0-rtsp-server: Add 1.16 version recipeCristinel Panfir
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2019-12-20gstreamer1.0-plugins-ugly: Add 1.16 version recipeCristinel Panfir
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2019-12-20gstreamer1.0-plugins-good: Upgrade to 1.16Cristinel Panfir
Add FILESEXTRAPATHS to use patches from poky Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2019-12-20gstreamer1.0-plugins-bad: Upgrade to 1.16Cristinel Panfir
Add FILESEXTRAPATHS to use patches from poky Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2019-12-20gstreamer1.0-plugins-base: Upgrade to 1.16Cristinel Panfir
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2019-12-20gstreamer1.0, imx-gst1.0-plugin: Cleanup patch filesCristinel Panfir
Remove unused patches Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2019-12-20gstreamer1.0-libav: Update to 1.16 versionCristinel Panfir
libav: Update to ffmpeg n4.1.3 Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>