Commit Graph

467 Commits

Author SHA1 Message Date
Michael Trimarchi
2722b7c007 recipes-multimedia: libimxvpuapi: Use python-native instead the host one
The usage of the host native can break the build in depends of the
container version you run and even let you depend on host tools.
Make the dependency on yocto package

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
2025-05-31 10:35:20 +02:00
Rodrigo M. Duarte
23ccb9da48 gstreamer1.0-libav: 1.24.0.imx -> 1.24.7.imx
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-20 17:06:16 -03:00
Rodrigo M. Duarte
bdcfd19187 imx-gst1.0-plugin: Update branch MM_04.09.02_2410_L6.6.y -> MM_04.09.03_2412_L6.12.y
This commit add the following source revisions:

    370510e imxasrc: Fix build issue on header file
    79bc3c7 LF-14241: Switch to upstreamed API in GST ASRC plugin
    8883212 sync g2d header file from g2d repo imx_2.3 branch for 2025Q1
    484d93d Update release branch in SCR.txt to lf-6.12.3-1.0.0
    50bcb33 MMFMWK-9455 imxcompositor: copy input frame to internal bufferpool instead of new allocated buffer
    fbf2c41 MMFMWK-9453 imxvideoconvert: need check alignment in video meta when checking buffer alignment
    36a4b84 MMFMWK-9453 imxvideoconvert: No need check alignment if buffer belongs to its own pool
    a0bdf7f resize buffer only if width and height have no padding
    5b8b5be MMFMWK-9444 grecorder: support cluster duration configuration for mkv format
    7fefc0c MMFMWK-9444 grecorder: support fmp4 format recording
    668fce0 LF-13894 ocl: check source buffer alignment based on device requirement.
    c5e2275 YOCIMX-8325 osink: fix displayfb.c build break with gcc14
    a2ea381 [configurea.ac] Update version to 4.9.3 for next release
    b8cf002 Update release branch in SCR.txt to lf-6.6.52-2.2.0

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-20 17:06:16 -03:00
Rodrigo M. Duarte
a3fa973292 gstreamer1.0-plugins-bad: Update branch MM_04.09.02_2410_L6.6.y -> MM_04.09.03_2412_L6.12.y
This commit add the following source revisions:

    7bb1254fc SCR: correct the wrong branch name in SCR for LF-6.12.3
    2fd4bec02 update release location in SCR to correct URL
    165a26789 Update release branch in SCR.txt to lf-6.12.3-1.0.0
    642cbd688 MMFMWK-9454 waylandsink: Only update video meta to video info when creating shm mem.
    96058cd12 MMFMWK-9383 waylandsink: fix display abnormal on Xen
    46ae98d72 MMFMWK-9417 waylandsink: create shm buffer without padding
    ae1e0cf3f Update release branch in SCR.txt to lf-6.6.52-2.2.0

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-20 17:06:16 -03:00
Rodrigo M. Duarte
08d93000b7 gstreamer1.0-plugins-good: Update branch MM_04.09.02_2410_L6.6.y -> MM_04.09.03_2412_L6.12.y
This commit add the following source revisions:

626a972e9 update release location in SCR to correct URL
8aac95afc Update release branch in SCR.txt to lf-6.12.3-1.0.0
4cd595322 MMFMWK-9390 v4l2: Add ARGB2101010 support for imx95 wave6 precoding
9831ce142 LF-14072 v4l2: fix downscale has abnormal lines at bottom
a4fe588e6 MMFMWK-9434 v4l2allocator: respect v4l2 plane's bytesused calculated by import_dmabuf
2a5281984 LF-13169 v4l2: skip pollerr if capture queue has not set up
7dee248be Update release branch in SCR.txt to lf-6.6.52-2.2.0

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-20 17:06:16 -03:00
Rodrigo M. Duarte
76f6de20d7 gstreamer1.0-plugins-base: Update branch MM_04.09.02_2410_L6.6.y -> MM_04.09.03_2412_L6.12.y
This commit add the following source revisions:

858ae5a1f id3v2: Don't try parsing extended header if not enough data is available
a256f3bb9 update release location in SCR to correct URL
17df24937 Update release branch in SCR.txt to lf-6.12.3-1.0.0
ac80e93be playback: Improve stream list search
67e0489c4 urisourcebin: Aggregate collections from multiple parsebin
60fcf0ee3 parsebin: Store caps on parsepad as early as possible
c735496eb parsebin: Don't store bogus caps on GstStream
5d6fc457f parsebin: Minor debug statement updates
7fa4272dc urisourcebin: Allow more cases for posting stream-collection
130360066 Revert "MMFMWK-9426 decodebin3: fix rtsp stream random playback fail with "No suitable plugins found""
025f46ab4 MMFMWK-9419 glupload: Use info in in_caps to map video frames When copying input buffer to dambuf
0dcf1a0c7 MMFMWK-9433 decodebin3: workaround to fix try next decoder fail
b002bf3ea Update release branch in SCR.txt to lf-6.6.52-2.2.0

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-20 17:06:16 -03:00
Rodrigo M. Duarte
1200ac4957 gstreamer1.0: Update branch MM_04.09.02_2410_L6.6.y -> MM_04.09.03_2412_L6.12.y
This commit add the following source revisions:

    e0d37a7d77 allocator: Avoid integer overflow when allocating sysmem
    0ebc3f4829 Update release branch in SCR.txt to lf-6.12.3-1.0.0
    3a60283eb7 Update release branch in SCR.txt to lf-6.6.52-2.2.0

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-20 17:06:16 -03:00
Max Krummenacher
755e5c811a gst-examples: import from oe-core and downgrade to 1.24.7
OE core upgraded gst-examples from 1.18.6 to 1.26.1.
The newer version fails in configure as it expects the gstreamer
version to be 1.26 or greater.

Import the 1.26.1 recipe and downgrade it to 1.24.7. Append the
version with '.imx' to point out that it is meant for the NXP
gstreamer fork.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-05-18 12:26:28 +02:00
Rodrigo M. Duarte
38e279535a alsa-lib: Remove the GLIBC_64BIT_TIME_FLAGS override
The new code was adding the 64BIT support while this is already
supported by Openembedded-Core meta/conf/distro/include/time64.inc
which is included by default in every distribution.

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-13 11:38:33 -03:00
Rodrigo M. Duarte
9f045fd932 imx-alsa-plugins: Change the SRCBRANCH from 02_2410_L6.6 to 03_2412_L6.12
eaf0900 LF-14230: Remove ASRC_CFLAGS
b21af83 LF-14230: asrc_pair: switch to upstreamed compress API

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-13 11:38:33 -03:00
Rodrigo M. Duarte
2a297ff0b0 imx-vpuwrap: Change the source branch to L6.12.y and update revision
d8703ee Fix one coverity issue about invalid type in printf
392a152 Update LICENSE.txt to v58 according to imx-release-info
b9b590d [configurea.ac] Update version to 4.9.3 for next release

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-13 10:05:17 -03:00
Otavio Salvador
a12d3ef7aa
Merge pull request #2251 from OSSystems/topic/imx-codec
imx-codec: 4.9.0 -> 4.9.3
2025-05-13 08:04:54 -03:00
Otavio Salvador
9da649a1d1
Merge pull request #2257 from OSSystems/topic/imx-opencl-converter
imx-opencl-converter: 0.6.0 -> 0.7.0
2025-05-13 08:04:05 -03:00
Otavio Salvador
c88d0f6705
Merge pull request #2258 from OSSystems/topic/imx-parser
imx-parser: 4.9.2 -> 4.9.3
2025-05-13 08:03:34 -03:00
Rodrigo M. Duarte
e8cb37d625 imx-parser: 4.9.2 -> 4.9.3
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-12 17:38:46 -03:00
Rodrigo M. Duarte
6f6779dd1b imx-opencl-converter: 0.6.0 -> 0.7.0
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-12 17:10:47 -03:00
Rodrigo M. Duarte
a08f9e5842 imx-dsp: 2.1.9 -> 2.1.10
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-12 16:54:33 -03:00
Rodrigo M. Duarte
69a970e132 imx-codec: 4.9.0 -> 4.9.3
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-12 10:25:36 -03:00
Max Krummenacher
f93d8449ce alsa-lib: rework patches to apply on 1.2.13 and 1.2.14
OE-core updated alsa-lib.
commit 8518e57a117a ("alsa-lib: upgrade 1.2.13 -> 1.2.14")

The patches in their current form either apply to one or the
other version without fuzz.
Move the additions to the cfg_files variable list to the top
rather than to the bottom of the list to have the patches apply
cleanly to the older and newer alsa-lib version.

Fixes: 3222698681 ("alsa-lib: refresh patches") on walnascar
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-04-30 22:22:35 +02:00
Max Krummenacher
3222698681 alsa-lib: refresh patches
OE-core updated alsa-lib.
commit 8518e57a117a ("alsa-lib: upgrade 1.2.13 -> 1.2.14")

The patches now only apply with fuzz resulting in a build error.
Update them to apply cleanly.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-04-30 11:46:07 +02:00
Max Krummenacher
de1eb3bd21 alsa-lib: patch: change to unix line endings
Run dos2unix on 0007-add-conf-for-imx-cs42448-sound-card.patch to
prepare the patch for refreshing.
Otherwise the 'real' changes in done by devtool are hard to spot.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-04-30 11:38:26 +02:00
Hiago De Franco
10b651b0d1 recipes: fix whitespace warnings
Since OE bitbake commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage"), the current build generates the following
warning (as example):

WARNING:
/var/home/frh/bsp-master/build/../layers/meta-freescale/recipes-kernel/linux/linux-imx.inc:36
has a lack of whitespace around the assignment:
'KCONFIG_MODE="--alldefconfig"'

Fix all the warnings.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-04-22 19:37:01 -03:00
Max Krummenacher
cd18ff660d imx-vpuwrap: fix build error
Add missing include file. Otherwise with latest master we see:
| ../git/vpu_wrapper_hantro_encoder.c:953:3: error: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration]
|   953 |   gettimeofday (&pObj->tvEnd, NULL);

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-03-03 14:41:47 +01:00
Otavio Salvador
1058d4d5ab
Merge pull request #2055 from nxp-upstream/multimedia-package-6.6.52
Upgrade Multimedia package base on 6.6.52
2025-02-27 16:28:03 -03:00
Zelan Zou
947b3eb4c9 imx-vpuwrap: Update to L6.6.52_2.2.0 release
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-02-08 07:45:21 +01:00
Zelan Zou
954f33d03b imx-parser: Update to L6.6.52_2.2.0 release
Bump version 4.9.1 -> 4.9.2

Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-02-08 07:45:21 +01:00
Zelan Zou
e4d807de62 imx-opencl-converter: Update to L6.6.52_2.2.0 release
Bump version 0.5.0 -> 0.6.0

Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-02-08 07:45:21 +01:00
Zelan Zou
7f3338feca imx-dsp: Update to L6.6.52_2.2.0 release
Bump version 2.1.8 -> 2.1.9
License update to EULA V58

Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-02-08 07:45:21 +01:00
Zelan Zou
3f5d12f1f7 imx-alsa-plugins_git: Switch to L6.6.52-2.2.0 release branch
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-02-08 07:45:21 +01:00
Carlos Rafael Giani
71bef353dc libimxvpuapi2: Upgrade to version 2.3.1
* vpu: Add more options, flags, and frameskipping support to encoder API
* vpu: Deprecate min_intra_refresh_mb_count and replace it with flag
  This is more practical, since the macroblock count if anyway usually set
  to resemble the GOP length, so this might as well be automatically
  calculated.
* vpu: encoder: Add GOP size checks
* vpu: encoder: Add imx_vpu_api_enc_get_encoded_frame_ext()
  This is a preparation for reworked intra refresh support. In intra
  refresh encoding, only the first frame is an I/IDR frame; all followup
  frames are P frames. The start of an intra refresh interval qualifies
  as a sync point. But since only P frames are present, callers callers
  can't rely on the frame type to detect sync points. To fix this, the
  imx_vpu_api_enc_get_encoded_frame_ext() is added to the API to be able
  to communicate to callers that a sync point was produced.
* imx8m-hantro: Rewrite encoder to directly use the Hantro H1 API
  This allows for more fine grained control of the H1 encoder.
  Most notably, intra refresh works properly, and skipped frames
  are correctly handled.
* imx8m-hantro: encoder: Add closed GOP interval support
* imx8m-hantro: encoder: Rework intra refresh
  Use codec specific features for intra refresh. For h.264, use the Hantro
  GDR (Gradual Decoder Refresh) feature, since it also takes care of
  filling SEI message and SPS/PPS NALUs appropriately. For VP8, implement
  a manual method. (Intra refresh is not officially supported in VP8
  though. See the note about VP8 intra refresh in the comment blocks in
  this commit.)
* imx6-coda: return IMX_VPU_API_ENC_RETURN_CODE_INVALID_CALL from
  imx_vpu_api_enc_get_skipped_frame_info()
  This keeps the imx6 backend consistent with the API. Previously, that
  backend's implementation of that function was not returning anything at
  all.
* imx8m-hantro: implement imx_vpu_api_enc_get_skipped_frame_info() stubs
  for all encoders
  Implement this function for all encoders to fix a linker error in
  gstreamer-imx.
  These encoders never return IMX_VPU_API_ENC_OUTPUT_CODE_FRAME_SKIPPED,
  so we always return IMX_VPU_API_ENC_RETURN_CODE_INVALID_CALL from
  imx_vpu_api_enc_get_skipped_frame_info().
* imx8m-hantro: dummy_encoder: add imx_vpu_api_enc_get_encoded_frame_ext()
  Linking gstreamer-imx will fail if imx_vpu_api_enc_get_encoded_frame_ext)
  is not available.

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
2025-02-07 21:13:15 +01:00
Markus Niebel
21ecc61f9f tinycompress: update to the version used in LF6.6.52_2.2.0
Bump revision to 1.2.5 and remove old patches. This also switches to new
upstream location at github. The old location uses git-protocol which can
cause problems in corporate network environments.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
2025-01-28 12:14:20 +01:00
Tom Hochstein
bb7ca61eb3 imx-gst1.0-plugin: Simplify imx-opencl-converter dependency
Since imx-opencl-converter is supported going forward, the logic is
simpler if that is the default and only the exceptions must be noted.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-01-17 13:28:16 -08:00
Zelan Zou
98cb547ce4 gstreamer1.0: Upgrade version 1.24.0 to 1.24.7
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-01-15 12:50:10 +01:00
Otavio Salvador
6fb8816cb3 treewide: Remove all references to SRC_URI[md5sum] hashes
Drop md5sum check as  no longer mandated in Yocto Project.

SRC_URI[md5sum] used to also be commonly used, but it is deprecated and
should be replaced by SRC_URI[sha256sum] when updating existing recipes. See:

 - https://docs.yoctoproject.org/dev/singleindex.html#fetching-code
 - https://docs.yoctoproject.org/dev/singleindex.html#src-uri-checksum-behaviour

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2025-01-13 17:06:35 -03:00
Andrej Valek
ccf9a1bcea feat(regex): use explicitly regex mark for regexs
This should fix errors like this:
| Parsing recipes...WARNING: /home/project/build/../meta-freescale/recipes-multimedia/imx-codec/imx-codec_4.8.3.bb: /home/project/build/../meta-freescale/recipes-multimedia/imx-codec/imx-codec_4.8.3.bb:63: SyntaxWarning: invalid escape sequence '\.'
|  do_split_packages(d, codecdir, '^lib_([^_]*).*_arm.*_elinux\.so\..*',

Signed-off-by: Andrej Valek <andrej.v@skyrain.eu>
2024-12-03 15:54:06 +01:00
Hiago De Franco
acc54fb524 recipes-multimedia: imx-vpuwrap: Upgrade to BSP LF6.6.36_2.1.0
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-10-27 11:42:13 -03:00
Hiago De Franco
28e852360b recipes-multimedia: imx-alsa-plugins: Upgrade to BSP LF6.6.36_2.1.0
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-10-27 11:41:46 -03:00
Hiago De Franco
e7529dca6f recipes-multimedia: imx-parser: Upgrade to BSP LF6.6.36_2.1.0
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-10-27 11:41:12 -03:00
Hiago De Franco
05e3306fc4 recipes-multimedia: imx-opencel-converter: Upgrade to BSP LF6.6.36_2.1.0
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-10-27 11:40:03 -03:00
Hiago De Franco
16907876d7 recipes-multimedia: gstreamer: Upgrade BSP to LF6.6.36_2.1.0
Upgrade the following recipes to the new NXP BSP LF6.6.36_2.1.0:

- gstreamer1.0
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- imx-gst1.0-plugin

In addition, remove patch for imx-gst1.0-plugin since it is not needed
anymore (see [1]).

[1] 74a6afa6cc

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-10-27 11:38:41 -03:00
Otavio Salvador
1cbbde1666
Merge pull request #1938 from hiagofranco/fix_imxvideoconvert
gstreamer1.0-plugins-bad: Add imxvideoconvert_g2d to autovideoconvert
2024-09-14 17:56:10 -03:00
Steffen Doster
966cc53e76 tinycompress: use https-protocol to download sources
In some network-environments download with git-protocol is not possible.
By switching to https the sources are accessable.

Signed-off-by: Steffen Doster <Steffen.Doster@ew.tq-group.com>
2024-09-13 10:55:58 +02:00
Hiago De Franco
67d62112df gstreamer1.0-plugins-bad: Add imxvideoconvert_g2d to autovideoconvert
Add patch to enable imxvideoconvert on autovideoconvert. By default,
imxvideoconvert_g2d is not included as a potential filter, resulting in
poor video playback performance when autovideoconvert is used.

Add imxvideoconvert_g2d to improve performance by utilizing hardware
acceleration.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-09-12 18:52:21 +02:00
Max Krummenacher
c252dabfe8 gstreamer1.0-plugins-ugly: remove unbuildable default packageconfigs
Openembedded core after scarthgap removed the recipes providing liba52
and mpeg2dec with commit 90fbfe9fe1da ("liba52: remove the recipe") and
commit d46660e6c083 ("mpeg2dec: remove the recipe").

Thus don't set by default the packageconfigs depending on these.
If someone needs it these should be enabled in a bbappend together
with additionally bringing back the dependencies.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-08-31 12:46:53 +02:00
Max Krummenacher
fc8a552046 imx-alsa-plugins_git: fix buildpath error
Do not drop the OE provided settings of CFLAGS.
While at it, drop the additional indirection through
the INCLUDE_DIR variable.

Fixes:
| WARNING: imx-alsa-plugins-1.0.26+-r0 do_package_qa: QA Issue: File ...libasound_module_pcm_cicFilter.so in package imx-alsa-plugins-dbg contains reference to TMPDIR

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-08-19 23:17:48 +02:00
Hiago De Franco
c27889664b libimxvpuapi2: Bump revision to 8639837a246f
After bumping gstreamer1.0-plugins-imx build is failing. Here is a snippet
of the build error:

| ../git/ext/vpu/gstimxvpuenc.c:473:20: error: 'ImxVpuApiEncOpenParams'
has no member named 'fixed_intra_quantization'
|         open_params->fixed_intra_quantization =
imx_vpu_enc->fixed_intra_quantization;
|                    ^~

Fix it by updating libimxvpuapi2 to the current HEAD of its repository.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-08-13 13:03:36 -03:00
Otavio Salvador
dd91b8bb8b
Merge pull request #1874 from hiagofranco/upgrade_gstreamer-master
Update gstreamer and imx-opencl-converter from 6.6.3-1.0.0 to 6.6.23-2.0.0
2024-08-06 14:33:38 -03:00
Hiago De Franco
0f663b89ea imx-opencl-converter: Update 6.6.3-1.0.0 to 6.6.23-2.0.0
Update imx-opencl-converter to version 0.4.0, syncing with
meta-imx layer and the new NXP BSP 6.6.23-2.0.0.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-08-03 18:20:56 -03:00
Hiago De Franco
d1c6878cf2 gstreamer: Update 6.6.3-1.0.0 to 6.6.23-2.0.0
Upgrade gstreamer and all related recipes to 1.24.0, syncing with
meta-imx layer.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-08-03 18:20:53 -03:00
Hiago De Franco
998dfdfc16 recipes-multimedia: imx-*: Update 6.6.3-1.0.0 to 6.6.23-2.0.0
Update the following recipes to NXP BSP 6.6.23-2.0.0:
- imx-codec 4.9.0
- imx-dsp 2.1.8
- imx-parser 4.9.0
- imx-vpuwrap (branch MM_04.09.00_2405_L6.6.y)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-08-02 18:16:50 -03:00