summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
Commit message (Collapse)AuthorAgeFilesLines
* imx-vpuwrap: fix build errorMax Krummenacher2025-04-022-0/+33
| | | | | | | | 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>
* imx-vpuwrap: Update to L6.6.52_2.2.0 releaseZelan Zou2025-04-023-64/+2
| | | | Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
* imx-parser: Update to L6.6.52_2.2.0 releaseZelan Zou2025-04-021-2/+2
| | | | | | Bump version 4.9.1 -> 4.9.2 Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
* imx-opencl-converter: Update to L6.6.52_2.2.0 releaseZelan Zou2025-04-021-2/+2
| | | | | | Bump version 0.5.0 -> 0.6.0 Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
* imx-dsp: Update to L6.6.52_2.2.0 releaseZelan Zou2025-04-021-5/+7
| | | | | | | Bump version 2.1.8 -> 2.1.9 License update to EULA V58 Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
* imx-alsa-plugins_git: Switch to L6.6.52-2.2.0 release branchZelan Zou2025-04-021-1/+1
| | | | Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
* tinycompress: update to the version used in LF6.6.52_2.2.0Markus Niebel2025-04-027-1670/+18
| | | | | | | | 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>
* treewide: Remove all references to SRC_URI[md5sum] hashesOtavio Salvador2025-04-027-7/+0
| | | | | | | | | | | | 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>
* tinycompress: use https-protocol to download sourcesSteffen Doster2025-04-021-1/+1
| | | | | | | 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>
* gstreamer1.0-plugins-ugly: remove unbuildable default packageconfigsMax Krummenacher2025-04-021-1/+0
| | | | | | | | | | | | 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>
* libimxvpuapi2: Upgrade to version 2.3.1Carlos Rafael Giani2025-02-271-1/+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> (cherry picked from commit 71bef353dc461541f2a554e8cbed42d026718488)
* imx-gst1.0-plugin: Simplify imx-opencl-converter dependencyTom Hochstein2025-01-211-3/+3
| | | | | | | | 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> (cherry picked from commit bb7ca61eb399fc9ecc5189ddef162970297ece35)
* feat(regex): use explicitly regex mark for regexsAndrej Valek2024-12-031-1/+1
| | | | | | | | | 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> (cherry picked from commit ccf9a1bcea6321cdfb760726aacc7759afbc6710)
* recipes-multimedia: imx-vpuwrap: Upgrade to BSP LF6.6.36_2.1.0Hiago De Franco2024-10-281-3/+3
| | | | | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit acc54fb524cbaf5c416b93f4a721a037a096ba91)
* recipes-multimedia: imx-alsa-plugins: Upgrade to BSP LF6.6.36_2.1.0Hiago De Franco2024-10-281-1/+1
| | | | | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 28e852360b839199dc993ae51c2dcc22325f3010)
* recipes-multimedia: imx-parser: Upgrade to BSP LF6.6.36_2.1.0Hiago De Franco2024-10-281-4/+7
| | | | | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit e7529dca6f08400b8879fbe3b3f7f89ab8a43f57)
* recipes-multimedia: imx-opencel-converter: Upgrade to BSP LF6.6.36_2.1.0Hiago De Franco2024-10-281-5/+5
| | | | | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 05e3306fc4e555f08e826ef7d9fdb1f6ca53cabc)
* recipes-multimedia: gstreamer: Upgrade BSP to LF6.6.36_2.1.0Hiago De Franco2024-10-286-48/+12
| | | | | | | | | | | | | | | | | | 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] https://github.com/nxp-imx/imx-gst1.0-plugin/commit/74a6afa6cceb69fe4b8cf09690392093cc7c5b37 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 16907876d76c5ac499cb6c174968886940d6042b)
* gstreamer1.0-plugins-bad: Add imxvideoconvert_g2d to autovideoconvertHiago De Franco2024-09-142-0/+40
| | | | | | | | | | | | 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> (cherry picked from commit 67d62112dfe3737c00299e0cf6531c4580d81e0d)
* imx-alsa-plugins_git: fix buildpath errorMax Krummenacher2024-08-271-3/+1
| | | | | | | | | | | | 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> (cherry picked from commit fc8a552046654900e65bff8848af66d21be70f3f)
* libimxvpuapi2: Bump revision to 8639837a246fHiago De Franco2024-08-271-1/+1
| | | | | | | | | | | | | | | | 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> (cherry picked from commit c27889664be1cb62926c19c619838882367136c5)
* imx-opencl-converter: Update 6.6.3-1.0.0 to 6.6.23-2.0.0Hiago De Franco2024-08-273-60/+21
| | | | | | | | 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> (cherry picked from commit 0f663b89eaff6e2f8cbeb44966725b6e58633de3)
* gstreamer: Update 6.6.3-1.0.0 to 6.6.23-2.0.0Hiago De Franco2024-08-2729-690/+164
| | | | | | | | 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> (cherry picked from commit d1c6878cf25575f98ab12c5e685a0728afa4424a)
* recipes-multimedia: imx-*: Update 6.6.3-1.0.0 to 6.6.23-2.0.0Hiago De Franco2024-08-276-15/+47
| | | | | | | | | | | 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> (cherry picked from commit 998dfdfc16433124a266a02fbfe4241759106332)
* imx-alsa-plugins: Update 6.6.3-1.0.0 to 6.6.23-2.0.0Hiago De Franco2024-08-271-1/+1
| | | | | | | Update to the new branch, for now the same hash is being used. Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> (cherry picked from commit 8365eb75a4e9e417b1cbc64ab51fa0c526577e15)
* Revert "imx-gst1.0-plugin: fix compile time error"Max Krummenacher2024-06-211-7/+0
| | | | | | | | | This reverts commit 530e79a2205cb08890d3642b3920074cab2964ff. The commit fixes a compile time error with GCC-14. With GCC-13 used in scarthgap the build fails. Revert backport. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* Revert "gstreamer1.0-plugins-bad_1.22.5.imx: fix compile time error"Max Krummenacher2024-06-211-7/+0
| | | | | | | | | This reverts commit 0cc3bf6bbb0e46ee54d5f2e838a6979331b9eb76. The commit fixes a compile time error with GCC-14. With GCC-13 used in scarthgap the build fails. Revert backport. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* patches: fix upstream-statusbackport-scarthgapMax Krummenacher2024-06-182-0/+2
| | | | | | | | | | | OE-core enabled the picky QA check on Upstream-Status. commit b7fb91c797ab ("insane: add patch-status to default ERROR_QA") Add missing upstream-status respectively fix unknown 'unknown' state. strict_status_re = re.compile(r"^Upstream-Status: (Pending|Submitted|Denied|Inappropriate|Backport|Inactive-Upstream)( .+)?$", re.MULTILINE) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bbaaa2981cc3cc024bd3c43e729b871802c817d2)
* imx-vpuwrap: fix compile time errorMax Krummenacher2024-06-182-1/+32
| | | | | | | GCC-14 set more warnings to errors, patch the code so it compiles. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 1261040dba21994131ef519012ee4c35bf2cd9f9)
* gstreamer: Downgrade non-forked recipes to match 1.22.5.imxTom Hochstein2024-06-186-0/+239
| | | | | | | | | | | | | | | | | Add the full set of 1.22.5 compatible recipes with the following exceptions due to build breaks for obsolete components: - gstreamer1.0-omx: Drop the recipe - gstreamer1.0-plugins-ugly: Drop liba52 and mpeg2dec support These exceptions mirror changes in the upstream support: 9c21815339 gstreamer1.0: update 1.22.11 -> 1.24.3 90fbfe9fe1 liba52: remove the recipe d46660e6c0 mpeg2dec: remove the recipe (From OE-Core rev: ae9c64cd2291f4b24ac442816a4e354e47c70933) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 2ca5c455bc08a90863a469f0e06c6b29d2d6629f)
* gstreamer1.0-omx: Remove bbappend fileFabio Estevam2024-06-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | gstreamer1.0-omx has been removed from oe-core since: commit 9c21815339afb85f558d8a1e0365614320cdc7d7 Author: Alexander Kanavin <alex@linutronix.de> Date: Mon May 27 20:12:13 2024 +0200 gstreamer1.0: update 1.22.11 -> 1.24.3 Drop gstreamer1.0-omx recipe as upstream has removed it: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4976 kate plugin dropped from bad. amrnb/amrwb moved from ugly to good. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Remove the gstreamer1.0-omx bbappend file. Signed-off-by: Fabio Estevam <festevam@gmail.com> (cherry picked from commit 083e6707ce37b2594ce6e30af09800665cb3ad34)
* imx-gst1.0-plugin: fix compile time errorMax Krummenacher2024-06-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC-14 set more warnings to errors, demote the ones which trigger to a warning. Fixes: | .../tools/grecorder/grecorder.c:161:38: error: initialization of 'pthread_t' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] | .../tools/grecorder/grecorder.c:162:43: error: initialization of 'pthread_t' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] | .../tools/grecorder/grecorder.c:845:7: error: passing argument 3 of 'recorder->register_event_handler' from incompatible pointer type [-Wincompatible-pointer-types] | .../tools/grecorder/grecorder.c:43:39: error: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] | .../tools/grecorder/grecorder.c:71:39: error: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] | .../tools/grecorder/grecorder.c:81:15: error: assignment to 'pthread_t' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] | .../tools/grecorder/grecorder.c:52:15: error: assignment to 'pthread_t' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] | .../plugins/beepdec/beepdec.c:54:34: error: initialization of 'void (*)(GstObject *, ...)' {aka 'void (*)(struct _GstObject *, ...)'} from incompatible pointer type 'void (*)(GstAudioDecoder *, GstClockTime)' {aka 'void (*)(struct _GstAudioDecoder *, long unsigned int)'} [-Wincompatible-pointer-types] | .../plugins/beepdec/beepdec.c:55:36: error: initialization of 'void (*)(GstObject *, ...)' {aka 'void (*)(struct _GstObject *, ...)'} from incompatible pointer type 'void (*)(GstAudioDecoder *, GstClockTime)' {aka 'void (*)(struct _GstAudioDecoder *, long unsigned int)'} [-Wincompatible-pointer-types] | .../plugins/beepdec/beepdec.c:56:29: error: initialization of 'void (*)(GstObject *, ...)' {aka 'void (*)(struct _GstObject *, ...)'} from incompatible pointer type 'void (*)(GstAudioDecoder *, gboolean)' {aka 'void (*)(struct _GstAudioDecoder *, int) '} [-Wincompatible-pointer-types] | .../recipe-sysroot/usr/include/gstreamer-1.0/gst/audio/gstaudiodecoder.h:49:4: error: passing argument 2 of 'gstsutils_load_default_property' from incompatible pointer type [-Wincompatible-pointer-types] | .../plugins/beepdec/beepdec.c:445:24: error: assignment to 'void * (*)(size_t)' {aka 'void * (*)(long unsigned int)'} from incompatible pointer type 'void * (*)(uint32)' {aka 'void * (*)(unsigned int)'} [-Wincompatible-pointer-types] | .../plugins/beepdec/beepdec.c:510:20: error: assignment to 'void * (*)(size_t)' {aka 'void * (*)(long unsigned int)'} from incompatible pointer type 'void * (*)(uint32)' {aka 'void * (*)(unsigned int)'} [-Wincompatible-pointer-types] | .../plugins/videoconvert/gstimxvideoconvert.c:1662:24: error: assignment to 'void **' from incompatible pointer type 'guint8 *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] | .../plugins/videoconvert/gstimxvideoconvert.c:1673:74: error: passing argument 2 of '_set_cached_phyaddr' from incompatible pointer type [-Wincompatible-pointer-types] | .../plugins/compositor/gstimxcompositor.c:1579:28: error: assignment to 'void **' from incompatible pointer type 'guint8 *' {aka 'unsigned char *'} [-Wincompatible-pointer-types] | .../plugins/compositor/gstimxcompositor.c:1591:77: error: passing argument 2 of '_set_cached_phyaddr' from incompatible pointer type [-Wincompatible-pointer-types] | .../plugins/compositor/gstimxcompositor.c:1954:7: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] | .../tools/grecorder/recorder_engine.c:1253:41: error: passing argument 1 of 'strrchr' from incompatible pointer type [-Wincompatible-pointer-types] | .../tools/grecorder/recorder_engine.c:1901:22: error: assignment to 'GString *' {aka 'struct _GString *'} from incompatible pointer type 'char *' [-Wincompatible-pointer-types] | .../tools/grecorder/recorder_engine.c:1916:18: error: assignment to 'GString *' {aka 'struct _GString *'} from incompatible pointer type 'char *' [-Wincompatible-pointer-types] | .../libs/v4l2_core/gstimxv4l2.c:1203:92: error: passing argument 3 of 'gst_imx_v4l2_dequeue_gstbuffer' from incompatible pointer type [-Wincompatible-pointer-types] | .../plugins/aiurdemux/aiurdemux.c:517:7: error: implicit declaration of function 'aiurdemux_check_stream_status'; did you mean 'aiurdemux_send_stream_eos'? [-Wimplicit-function-declaration] | .../plugins/aiurdemux/aiurdemux.c:1681:7: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] | .../plugins/aiurdemux/aiurdemux.c:4182:47: error: passing argument 3 of 'IParser->seek' from incompatible pointer type [-Wincompatible-pointer-types] | .../plugins/aiurdemux/aiurdemux.c:4217:11: error: passing argument 3 of 'IParser->seek' from incompatible pointer type [-Wincompatible-pointer-types] | .../plugins/aiurdemux/aiurdemux.c:4240:17: error: passing argument 3 of 'IParser->seek' from incompatible pointer type [-Wincompatible-pointer-types] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 2dd7d0824d56932f090600680f797c4d5eb9c9f8)
* gstreamer1.0-plugins-bad_1.22.5.imx: fix compile time errorMax Krummenacher2024-06-181-0/+7
| | | | | | | | | | | | GCC-14 set more warnings to errors, demote the ones which trigger to a warning. Fixes: | .../gst-libs/gst/play/gstplay.c:4926:7: error: implicit declaration of function 'usleep'; did you mean 'g_usleep'? [-Wimplicit-function-declaration] | .../gst-libs/gst/wayland/gstwlbuffer.c:347:35: error: 'return' with a value, in function returning void [-Wreturn-mismatch] | .../gst-libs/gst/wayland/gstwlwindow.c:691:14: error: returning 'struct wl_surface *' from a function with incompatible return type 'struct wl_subsurface *' [-Wincompatible-pointer-types] | .../recipe-sysroot/usr/include/glib-2.0/glib/gmessages.h:671:16: error: returning 'void *' from a function with return type 'gint' {aka 'int'} makes integer from pointer without a cast [-Wint-conversion] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 3d61da6c1828479b58bb443711c8129e70ebace0)
* gstreamer1.0-plugins-good_1.22.5.imx: fix compile time errorMax Krummenacher2024-06-181-0/+5
| | | | | | | | | | | | | | GCC-14 set more warnings to errors, demote implicit-function-declaration and implicit-function-declaration to a warning. Fixes: .../v4l2/gstv4l2videoenc.c:782:9: error: implicit declaration of function 'gst_is_dmabuf_memory'; did you mean 'gst_is_v4l2_memory'? [-Wimplicit-function-declaration] .../sys/v4l2/gstv4l2videodec.c:1185:30: error: initialization of 'GstVideoFrame *' {aka 'struct _GstVideoFrame *'} from incompatible pointer type 'GstVideoCodecFrame *' {aka 'struct _GstVideoCodecFrame *'} [-Wincompatible-pointer-types] .../sys/v4l2/gstv4l2videodec.c:1187:48: error: passing argument 2 of 'gst_video_decoder_drop_frame' from incompatible pointer type [-Wincompatible-pointer-types] .../sys/v4l2/gstv4l2videodec.c:1232:30: error: initialization of 'GstVideoFrame *' {aka 'struct _GstVideoFrame *'} from incompatible pointer type 'GstVideoCodecFrame *' {aka 'struct _GstVideoCodecFrame *'} [-Wincompatible-pointer-types] .../sys/v4l2/gstv4l2videodec.c:1234:48: error: passing argument 2 of 'gst_video_decoder_drop_frame' from incompatible pointer type [-Wincompatible-pointer-types] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit d6c982648868009ea38b36e1eabadef94742b3ca)
* gstreamer1.0-plugins-base_1.22.5.imx: fix compile time errorMax Krummenacher2024-06-181-0/+2
| | | | | | | | | | | | | GCC-14 set more warnings to errors, demote implicit-function-declaration to a warning. Fixes: | .../gst-libs/gst/gl/gstglphymemory.c:312:25: error: assignment to 'GDestroyNotify' {aka 'void (*)(void *)'} from incompatible pointer type 'void (*)(GstMemory *)' {aka 'void (*)(struct _GstMemory *)'} [-Wincompatible-pointer-types] | .../gst-libs/gst/gl/gstglphymemory.c:345:7: error: passing argument 2 of 'gst_gl_context_thread_add' from incompatible pointer type [-Wincompatible-pointer-types] | .../gst-libs/gst/gl/gstglphymemory.c:360:9: error: assignment to 'GstGLBaseMemory *' {aka 'struct _GstGLBaseMemory *'} from incompatible pointer type 'GstMemory *' {aka 'struct _GstMemory *'} [-Wincompatible-pointer-types] | .../git/gst-libs/gst/gl/gstglupload.c:2154:51: error: passing argument 6 of 'directviv->TexDirectVIVMap' from incompatible pointer type [-Wincompatible-pointer-types] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit a7a573a216d5a1ee3ac0349c886d454773a36627)
* imx-opencl-converter: fix compile time errorMax Krummenacher2024-06-182-1/+42
| | | | | | | | | | GCC-14 set more warnings to errors, fix the code. Fixes: | .../src/ocl.c:258: 22: error: passing argument 6 of 'clGetProgramBuildInfo' from incompatible pointer type [-Wincompatible-pointer-types] Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit e836f27b1cf3bee0ac23360428b17a4c10c6f414)
* gstreamer: Use upstream recipesTom Hochstein2024-04-267-329/+0
| | | | | | The downgraded recipes are no longer needed. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* alsa-lib: Update patch for IMX-XCVR.confTom Hochstein2024-04-241-52/+22
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
* pipewire: Fix move to dynamic-layersTom Hochstein2024-04-241-41/+0
| | | | | Fixes: e70b160 ("pipewire: untie bbappend from meta-multimedia") Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
* pipewire: untie bbappend from meta-multimediaOleksandr Suvorov2024-04-241-14/+0
| | | | | | | | 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>
* alsa-lib: Drop upstream patchTom Hochstein2024-04-112-116/+0
| | | | | | | | 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>
* recipes-multimedia: Upgrade to NXP release 6.6.3_1.0.0Valentin Jec2024-04-1118-36/+379
| | | | | | | | | | | | | | | | | | | | | | 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>
* gstreamer1.0-plugins-base: Don't always enable viv-fbSamuli Piippo2024-03-212-7/+2
| | | | | | | 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>
* recipes-multimedia: Update for NXP release 6.1.55-2.2.0Valentin Jec2024-02-1212-50/+84
| | | | | | | | | | | | | | | | | | | | | | 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>
* pulseaudio: Configure for i.MX 9 seriesTom Hochstein2023-11-061-0/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* recipes-multimedia: Update for NXP release 6.1.36-2.1.0Tom Hochstein2023-11-0611-27/+28
| | | | | | | | | | | | | | | | | | | 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>
* gstreamer1.0-plugins-base: Fix viv-fb usage and extract PACKAGECONFIG_GLCarlos Rafael Giani2023-09-142-6/+21
| | | | | | | | | | | | | | | | | | | | | | 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>
* gstreamer1.0-plugins-base: Fix build with muslKhem Raj2023-08-072-0/+48
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-dsp-codec-ext: fix missing gnu_hashMax Krummenacher2023-08-071-1/+1
| | | | | | | | | | | | | | | | | 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>
* imx-vpuwrap: fix license checksumMax Krummenacher2023-08-071-1/+1
| | | | | | | | 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>