summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
Commit message (Collapse)AuthorAgeFilesLines
* gstreamer1.0-plugins-base: Allow undefined symbols with muslKhem Raj2022-09-191-0/+4
| | | | | | | These are glibc specific symbols which gcompat should be able to handle at runtime Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-dpu-g2d,imx-gpu-viv,imx-sw-pdm: Use gcompat with muslKhem Raj2022-09-171-0/+4
| | | | | | | | | | These recipes contain pre-built binaries and libraries which are built against glibc, we have a way to run such binaries on musl systems via gcompat stubs, however, we have to fool the system to ignore the missing rdeps on libc.so.6, since we know they will be available via gcompat being in rdep. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-plugins-base: Fix build with clangKhem Raj2022-09-122-0/+49
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pulseaudio: Fix gstreamer pause mutex issueTom Hochstein2022-09-023-8/+45
| | | | | | Add a patch to fix a mutex issue when pausing a gstreamer stream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* pulseaudio: Fix HFP with headset=autoTom Hochstein2022-09-021-1/+1
| | | | | | | For HFP to work as expected, use module-bluetooth-discover option headset=auto. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* pulseaudio: Fix WM8960 codec by disabling alternate sample rateTom Hochstein2022-09-021-0/+2
| | | | | | | The WM8960 codec doesn't support 44k and 48k simultaneously, so set alternate-sample-rate the same as default-sample-rate. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-vpuwrap: Upgrade to 5.15.32-2.0.0Tom Hochstein2022-09-021-5/+4
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-sw-pdm: Upgrade 1.0.1 -> 1.0.2Tom Hochstein2022-09-021-3/+3
| | | | | | | | | | | Fixes: 738ca90 MMFMWK-9001-5: build: configure: bump version 1.0.2 9e2e282 MMFMWK-9001-4: release: imx-sw-pdm: rebuild using latest lib 2979b5c MMFMWK-9001-3: test: output sample rate and samples per channel 128e3cc MMFMWK-9001-2: release: libimxswpdm: rebuild with clang 12.0.0 a9eb48f MMFMWK-9001-1: pdmToPcm_simd: module.mk: use clang++ compiler Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-parser: Upgrade 4.6.2 -> 4.7.0Tom Hochstein2022-09-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: b479f651 MA-20253 mp4 dash streaming video hang when playing an hevc stream 2f381602 MA-20234: check if mkv parser has cluster. 3d736c7c [configurea.ac] Update version to 4.7.0 for next release af0b43d8 MA-20193 [Android 12] cts.MediaPlayerTest#testCallback fail 7398507f MKVPARSER_01.08.16 add FlushTrack function 6ca57f2d MKVPARSER_01.08.15 support dash playback. 88203eb8 MMFMWK-9067-1: refine mkv parser and remove compile warnings aa7f343f MA-20134 coverity issues in mp4 parser 6956469f MA-20105 [Android 12] cts MediaMetadataRetrieverTest#testGetFrameAtTimeClosestSyncEmptyNormalEditList fail d2098571 MA-20085 [Android 12] cts MediaMetadataRetrieverTest#testGetFrameAtTimeClosestEditList fail with nxp mp4 parser 12a5e4ef LF-5172 enable MP4 and webm dash streaming in 2022 Q2 c834ded7 MMFMWK-9048 MPG2 PARSER 06.01.02 3b6b3b22 FMMFMWK-9047 MPEG2 PARSER 06.01.01 621c504d add version information in libspdif_parser.mk modify install-data-hook for spdif parser in Makefile.am to fix installation error e971965d MMFMWK-9010 SPDIF PARSER 00.00.01 modify Makefile file format in spdif parser add newline character in Makefile.am to fix missing separator issue add soft link file and modify Makefile.am to realize file packaging 55c67aae MMFMWK-9042 MPEG2 PARSER 06.00.04 46f9e346 MMFMWK-9010 SPDIF PARSER 00.00.01 73af1c6a MA-19906 cts android.media.cts.MediaExtractorTest fail and get crash e874f58f [configurea.ac] Update version to 4.6.5 for next release 3089c7e8 MMFMWK-9026: fix dash playback issue for webm streams. 07c6df92 MKV PARSER 01.08.12 support seek without cue list 84f963be MMFMWK-9007 [i.MX8MM/Sony] Error on gst-discoverer-1.0 with ALAC file 5b736228 MA-19618 [Android 12] ctsv2 ExtractorTest$FunctionalityTest#testExtract[17(audio/ac4)] fail 36718bf0 MA-19734-2 [Android 12] cts android.mediav2.cts.MuxerTest$TestSimpleAppend#testSimpleAppendNative[0(mp4)] and related fa a0842c57 MA-19781: fix cts android.mediav2.cts.ExtractorTest$ValidateKeyValuePairs#validateKeyValuePairs 14816f41 MA-19730 [Android 12] refine mp4 parser seek for MediaMuxerTest#testSimulateAudioBVideoFramesDropIssues ba94b741 MMFMWK-9007 [i.MX8MM/Sony] Error on gst-discoverer-1.0 with ALAC file 2908ec52 MA-19734 [Android 12] cts android.mediav2.cts.MuxerTest$TestSimpleAppend#testSimpleAppendNative[0(mp4)] and related failures 0aa9acf3 ASF PARSER 01.01.08 6a402d61 MA-19619 [Android 12] cts MediaExtractorTest#testMpegh3dAudioMediaExtractorMha1 fail 5f34631a MA-19595 [Android12 8qm/8qxp]cts mediaprovidertranscode.cts.TranscodeTest#testTranscoded_FilePath e6808758 [configurea.ac] Update version to 4.6.4 for next release d81e3def MA-19589 [Android 12] cts mediav2.cts.DecoderColorAspectsTest#testColorAspects fail on 8mp f12cd7d5 MMFMWK-8999 Fix process crash in ID3 PARSER 65e58b12 MMFMWK-8997 MP3 PARSER 03.03.11 4510a2a1 MA-19560: change timecode from uint to uint64 83af99c8 MMFMWK-8995 MP3 PARSER 03.03.10 5d5c21ba MMFMWK-8994 MPG2 PARSER 06.00.03 7874f734 MKV PARSER 01.08.09 4b70b7a7 MA-19211 Failed to output sound when playing recording file from USB Camera 99b778df ASF PARSER 01.01.07 e4b74edf [configurea.ac] Update version to 4.6.3 for next release Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-dspc-asrc: Simplify SRC_URI with BPTom Hochstein2022-09-021-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-dsp-codec-ext: Upgrade 1.2.0 -> 2.0.0Tom Hochstein2022-09-021-3/+3
| | | | | | | | | | | | | | | | | | | Fixes: d690e91f MMFMWK-9102-3 release/lib/dsp: Update lib_aacd_wrap_dsp ab775415 MMFMWK-9102-2 aacd_wrap: Add return success after copy codec data 93076c58 MMFMWK-9102-1 aacd_wrap: Remove free codec data buf when reset b3ea821c [configurea.ac] Update version to 4.7.0 for next release fdedb900 [configurea.ac] Update dsp version to 2.0.0 for next release 3e12abf4 MMFMWK-9090-3 release/lib: Update vorbis/wma dsp wrapper library 07d2d122 MMFMWK-9090-2 wma10d_wrapper: Change to use good way to get decode info a6fd6062 MMFMWK-9090-1 ua_wrapper: remove free codec buf in reset func 9c071602 MMFMWK-9089 vorbisd_wrapper: fix copy codec data error a4ce4242 [configurea.ac] Update dsp version to 1.2.2 for next release ce41e27a [configurea.ac] Update version to 4.6.5 for next release 267d74fc [configurea.ac] Update dsp version to 1.2.1 for next release ee983061 [configurea.ac] Update version to 4.6.4 for next release Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-dsp: Add TensorFlow Lite Micro for 8ULPTom Hochstein2022-09-021-0/+7
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-dsp: Rework the install logic [LF-5799]Tom Hochstein2022-09-021-6/+10
| | | | | | | | | | | | Replace the firmware name variable with a simpler firmware platform variable. This allows the logic that removes firmware that is not for this platform to handle any firmware, not just the main binary. Also, make the default value of the variable UNDEFINED. Then, if a new SOC is not properly added to the variable list, the mv will fail. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-dsp: Upgrade 1.2.0 -> 2.0.0Tom Hochstein2022-09-021-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: 1afdb74 MMFMWK-9126 dsp_wrapper: Switch to sw aac/aacp decoder with multi chan 89f44f8 MMFMWK-9123-7 unit_test: fsl-rend: Add pcm gain d5ff750 MMFMWK-9123-6 unit_test: fsl-dec: Add pcm gain 024ec32 MMFMWK-9123-5 unit_test:src: Add source file for parser pcm info f073481 MMFMWK-9123-4 dsp_framework: Makefile: Add pcm gain to build d44697e MMFMWK-9123-3 Change CODEC_PCM_DEC to CODEC_PCM_GAIN fcdcded MMFMWK-9123-2 common: library_load: Add check lib type 98e594d MMFMWK-9123-1 dsp_framework: main: Enlarge worker_thread_scratch_size 78029ab MMFMWK-9122: fix warning with yocto toolchain 2c5f489 MMFMWK-9122: switch to use yocto toolchain cb76f5e MMFMWK-9121 libxa_af_hostless: sysdeps:linux: Add check for exit thread a5c2f24 MMFMWK-9119: dsp_framework: Use production configuration for 8QM and 8QXP f941878 MMFMWK-9117-2 dsp_framework: fsl-render: Remove checking rate for render 8ffdbbb MMFMWK-9117-1 unit_test: fsl-render: Add to get real dec format 3eae49a MMFMWK-9114-4: dsp_framework: render: fix noise issue after suspend eeb9918 MMFMWK-9114-3: dsp_framework: hifi-dpf: add dead wait after suspend cc43096 MMFMWK-9114-2: dsp_framework: render: free memory to avoid memory leak e130ea1 MMFMWK-9114-1: dsp_framework: render: fix render can't work 67aa852 MMFMWK-9115 dsp_wrapper: Go to send output buffer when received init done 7cda1fc MMFMWK-9109 dsp_framework: unia-codec: Set codec id when load codec wrap 91ad2c9 MMFMWK-9113 dsp_framework: Add consumed len for getpara 3d2167c MMFMWK-9112 common: xaf-fsl-api: Fix no output if do reset before decoding 195faaf MMFMWK-9111-3 dsp_wrapper: fix android build issue 2aff770 MMFMWK-9111-2 common: fix android build issue 04ccf6d MMFMWK-9111-1 libxa_af_hostless: fix android build issue 5dba863 MMFMWK-9110 dsp_wrapper: fix get wrong value from dsp 0ddf545 MMFMWK-9107-2 dsp_wrapper: fix build warning 82685ed MMFMWK-9107-1 dsp_framework: render: fix build warning 1c60ffe MMFMWK-9104 dsp_framework: unia-codec: Ignore some codec decoding errors 9d63a74 MMFMWK-9108 build_dsp: Fix unit test name is not correct when install 11b653e MMFMWK-9105-2 dsp_wrapper: Add check codec library installed or not 464ae43 MMFMWK-9105-1 common: Move macro CORE_LIB_PATH to header b9c186f MMFMWK-9103 dsp_wrapper: Fix decoding timeout after received eos db0ac54 MMFMWK-9099 dsp_wrapper: Add channel num check for aac codec 956832e MMFMWK-9100 common: library_load: Add check lib_info section pool 159f7cf MMFMWK-9098 dsp_framework: unia-codec: Clear codec struct when init f193eca dsp_framework: unia-codec: fixed memory size for chan_map_table 3ce22f9 Makefile: don't remove the tflm_imx8ulp.bin 25ccff0 Add TFLM DSP firmware binary 2803042 Remove TFLM dependency from test 0e3ba22 MMFMWK-9093-2 dsp_wrapper: Process fatal error from event 6dbba43 MMFMWK-9093-1 dsp_framework: unia-codec: Add fatal error for decoding 3fac033 Integrate TFLM 5681b5b common: xf-fsl-ipc: fix addr issue on munmap b2907c8 dsp_framework: Enlarge dsp local mem ceb3574 dsp_wrapper: fix seek error when comp status is XAF_EXEC_DONE 61a0b00 dsp_wrapper: Adjust msg flow d145008 Revert "hifi-dpf: xa-class-audio-codec: Only purse input port if msg from proxy" fac3a35 dsp_framework: enlarge mem fa0697c dsp_framework: memory: Add success check for xf_uniacodec_malloc ec02b01 dsp_wrapper: fix codec data c01e084 dsp_wrapper: do not set codec data again if already set f7fc455 dsp_wrapper: fix decoding error when end of stream c3cd468 dsp_framework: unia-codec: init input_over, clear out_size 27f6a7a dsp_wrapper: Add wma channel layouts 271e820 common: xaf-fsl-api: Add error process 0c5da67 Revert "common: xf-fsl-ipc: fix reference counter issue" b6f8ad7 dsp_wrapper: fix some wma streams seek error b268d78 hifi-dpf: xa-class-audio-codec: Only purse input port if msg from proxy edee928 dsp_wrapper: set wma alway is framed ccb49dc dsp_wrapper: Remove offset_copy b6d2e50 release:build_dsp: Generate software link 3e4057a Makefile.am Add dsp_rend_test.out 6398123 release: Add build_dsp 88f9736 Add SCR 731e9e7 Add README 3dde879 EULA: Add EULA.txt V32 56d7b47 dsp_wrapper: Add DEBUG macro to print info 3a4cbc5 dsp_wrapper: remove printf dd1ef59 common: xf-fsl-ipc: fix reference counter issue c9253c9 libxa_af_hostless:hifi-dpf: Remove check frame_size * sample_size 3f62eb2 dsp_wrapper: bugfix: Move mem_exit to xaf-fsl-api 805a7df dsp_framework: fix not enough buffer when loading a796d8b dsp_wrapper: Add aac channel map in local d58d51f dsp_wrapper: fix some ogg streams can't play ed8ef02 Makefile: build DSP_WRAPPER b6213bf testxa_af_hostless: xaf-mem-test: move mem_obj_t to xaf_adev_config_t 6b3f824 dsp_wrapper: fix outputformat error 4cf6f0b host-apf: Change xf_g_ap to local var 56fe689 dsp_wrapper: process decode err b3c00e0 dsp_wrapper: remove printf 71002fe dsp_wrapper: Remove returned val process 408ae00 common: xaf-fsl-api: Add process XF_EVENT msg c9af2d0 dsp_wrapper: Add support event msg 245f4ea dsp_framework: unia-codec: fix outbuf size is not correct 7476b62 dsp_framework: Move rpmsg_response to xf-core 197befd dsp_framework:plugins:unia-codec: Avoid to report narmal returned val 3ddf693 unit_test: Makefile: Remove XA_DISABLE_EVENT 40a10d3 dsp_wrapper: Makefile: Remove XA_DISABLE_EVENT 149187f dsp_framework: Makefile: Remove XA_DISABLE_EVENT 42c8b42 common: xaf-fsl-api: fix wrong val convert c482b5e host-apf: xf-proxy: fix wrong buffer address bc618a7 dsp_framework: plugins: unia-codec: Add reset buf cmd c781b46 dsp_wrapper: Add reset dsp cmd in reset func 5d2145e common: fsl_unia: Add cmd UNIA_RESET_BUF 037ae78 dsp_framework: fix end of stream error in bypass mode 1cd2cc0 dsp_framework: unia-codec: Add set decoding fatal error a127078 unit_test: rend: Add set cmd line param 05239b0 unit_test: rend: Support all codecs in rend bb987cf dsp_framework: fix multi instances issue cf07fed dsp_framework: set framework in bypass mode 0302efe dsp_wrapper: set chan map 71824c1 dsp_framework: set chan map d2d3b09 dsp_framework: enlarge the local buffer size 128097d dsp_wrapper: Add dsp_wrapper 35d6abb xf-proxy: Add xf_flush function 1c7b002 unit_test: Add to support more codecs ca3aabe unit_test: Add support to build dsp_rend_test 3430046 unit_test: initial xaf-fsl-mp3-dec-rend-test.c 18f9aea dsp_framework: Add renderer and peripherals driver 8b9e95a dsp_framework: initial xa-fsl-renderer.c f1afdb0 unit_test: Add support MP3 decoder 6182802 unit_test: initial xaf-fsl-dec-test.c 5a19ec6 unit_test: initial xaf-fsl-api.c 0430abf dsp_framework: integrated unified audio codec plugin 8db1736 dsp_framework: Enable the basic rpmsg communication 9747302 rpmsg-lite: Add rpmsg-lite 2a2ab7b XAF: xa_hifi_af_hostless_lib_2_6_api_2_0_src.xws Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gst1.0-plugin: Upgrade 4.6.4 -> 4.7.0Tom Hochstein2022-09-011-5/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0*: Upgrade 1.18.5.imx -> 1.20.0.imxTom Hochstein2022-09-0121-695/+315
| | | | | | | | | | | | | | | Includes: - gstreamer1.0 - gstreamer1.0-plugins-base - gstreamer1.0-plugins-good - gstreamer1.0-plugins-bad Drops downgraded recipe copies for 1.18.5: - gstreamer1.0-libav - gstreamer1.0-plugins-ugly - gstreamer1.0-rtsp-server Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-codec: Upgrade 4.6.2 -> 4.7.0Tom Hochstein2022-09-011-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | - VPU support is limited to Chips&Media - Let package arch be more generic SOC-specfic - Fixes: d690e91f MMFMWK-9102-3 release/lib/dsp: Update lib_aacd_wrap_dsp ab775415 MMFMWK-9102-2 aacd_wrap: Add return success after copy codec data 93076c58 MMFMWK-9102-1 aacd_wrap: Remove free codec data buf when reset b3ea821c [configurea.ac] Update version to 4.7.0 for next release fdedb900 [configurea.ac] Update dsp version to 2.0.0 for next release 3e12abf4 MMFMWK-9090-3 release/lib: Update vorbis/wma dsp wrapper library 07d2d122 MMFMWK-9090-2 wma10d_wrapper: Change to use good way to get decode info a6fd6062 MMFMWK-9090-1 ua_wrapper: remove free codec buf in reset func 9c071602 MMFMWK-9089 vorbisd_wrapper: fix copy codec data error a4ce4242 [configurea.ac] Update dsp version to 1.2.2 for next release ce41e27a [configurea.ac] Update version to 4.6.5 for next release 267d74fc [configurea.ac] Update dsp version to 1.2.1 for next release ee983061 [configurea.ac] Update version to 4.6.4 for next release e17ab6f7 [configurea.ac] Update dsp version to 1.2.0 for next release c704facf [configurea.ac] Update dsp version to 1.2.00 for next release ec99ab25 [configurea.ac] Update version to 4.6.3 for next release Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-alsa-plugins: Upgrade to NXP 5.15.32-2.0.0Tom Hochstein2022-09-011-2/+8
| | | | | | Includes SWPDM support for i.MX 8. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* libimxvpuapi2: Upgrade to version 2.2.1Carlos Rafael Giani2022-06-161-1/+1
| | | | | | | | | | | | | * 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>
* gstreamer1.0-plugins-imx: Upgrade to version 2.1.0Carlos Rafael Giani2022-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * meson: * New sysroot option in case the external sysroot property is unusable Normally, this option should not be needed. However, with some BSPs whose sysroot properties are broken, having this option is useful. * Reduce minimum required Meson version from 0.54.0 to 0.53.2 This is mainly introduced for Yocto Dunfell support. (Meson <0.54 requires the new sysroot property though.) * Cleanup deprecated code * imx2d: UYVY and YUYV formats are supported by G2D if it is emulated on top of the DPU (found in i.MX8 QuadMax and i.MX8 QuadXPlus SocS). * vpu: * Correctly handle case when a stream buffer is not needed * Disable frame reordering if it is not needed * imxvpudec_h264 needs au alignment to guarantee complete frames * Unlock decoder_context on fatal error while decoding * v4l2video: * v4l2videosrc: Skip allocation pools with NULL buffer pool Prevents assertions like: gst_buffer_pool_has_option: assertion 'GST_IS_BUFFER_POOL (pool)' failed See: https://github.com/Freescale/gstreamer-imx/issues/304 * v4l2videosrc: Skip allocation params with NULL allocator Prevents assertions like: gst_object_unref: assertion 'object != NULL' failed See: https://github.com/Freescale/gstreamer-imx/issues/304 * v4l2videosrc: Use correct ioctl for frame intervals * Minor logging fixes Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* alsa-lib: drop not applying patchMax Krummenacher2022-06-062-68/+0
| | | | | | | | | | | | | | | | | | With the update from v1.2.6.1 to v1.2.7 the patch no longer applies. The patched code sections have been refactored to be provided from a common helper functions [1] and the code has been reworked to better cope with suspend e.g. [2]. As it is unclear how to reproduce what the patch tries to fix just drop the patch for now to keep the recipe building. At least aplay and arecord still work, if aplay is interrupted with a suspend/resume cycle playing restarts on resume. (This on a Apalis iMX6, SGTL5000 codec). [1] https://github.com/alsa-project/alsa-lib/commit/3577a7a26beb74285af776fbd499b519723a955a [2] https://github.com/alsa-project/alsa-lib/commit/b3ce9cb8391654b6924868b0393cc33ef653268b Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* ffmpeg: Downgrade ffmpeg 5.0.0 -> 4.4.1 for NXP BSPTom Hochstein2022-04-042-0/+282
| | | | | | | | | | | | | | | | | | | | The i.MX 1.18.5 version of gstreamer1.0-libav is not compatible with upstream ffmpeg 5.5.0 and results in the follow build errors: ``` /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavaudenc.c.o: in function `gst_ffmpegaudenc_set_format': /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:246: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:292: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:336: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:317: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavaudenc.c.o: in function `gst_ffmpegaudenc_start': /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:197: undefined reference to `avcodec_get_context_defaults3' /opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavvidenc.c.o:/usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavvidenc.c:252: more undefined references to `avcodec_get_context_defaults3' follow collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gst1.0-plugin: Adjust libdrm dependencyTom Hochstein2022-04-041-1/+2
| | | | | | | | | | | | | | | | | | The 7ULP build is broken: ``` ../git/plugins/compositor/gstimxcompositor.c:124:10: fatal error: libdrm/drm_fourcc.h: No such file or directory 124 | #include <libdrm/drm_fourcc.h> | ^~~~~~~~~~~~~~~~~~~~~ ``` Replace the imxvpu condition for the libdrm dependency to all fbdev devices with GPU. For i.MX 6 and 7, the new condition simply extends what the old condition provided. For i.MX 8, the new condition removes the explicit dependency. It seems the dependency is still needed, but it is satisfied implicitly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gst1.0-plugin: Upgrade 4.6.1 -> 4.6.4Tom Hochstein2022-04-041-7/+4
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-rtsp-server: Upgrade 1.18.0 -> 1.18.5Tom Hochstein2022-04-041-4/+5
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-rtsp-server: Remove unused patch fileTom Hochstein2022-04-041-36/+0
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-libav: Upgrade 1.18.0 -> 1.18.5Tom Hochstein2022-04-041-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-libav: Remove unused patch filesTom Hochstein2022-04-045-162/+0
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-ugly: Upgrade 1.18.0 -> 1.18.5Tom Hochstein2022-04-041-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-bad: Upgrade 1.18.0.imx -> 1.18.5.imxTom Hochstein2022-04-0410-244/+151
| | | | | | | Also separate the base recipe copy from the overrides for ease of maintenance. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-good: Upgrade 1.18.0.imx -> 1.18.5.imxTom Hochstein2022-04-042-15/+105
| | | | | | | Also separate the base recipe copy from the overrides for ease of maintenance. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-plugins-base: Upgrade 1.18.0.imx -> 1.18.5.imxTom Hochstein2022-04-044-94/+53
| | | | | | | Also separate the base recipe copy from the overrides for ease of maintenance. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0: Upgrade 1.18.0.imx -> 1.18.5.imxTom Hochstein2022-04-042-18/+35
| | | | | | | Also separate the base recipe copy from the overrides for ease of maintenance. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* mx8dx: Normalize MACHINEOVERRIDES implementationTom Hochstein2022-03-313-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and the rework of the SOC overrides didn't handle it properly, leading to a build break: ``` Log data follows: | DEBUG: Executing shell function do_compile | NOTE: 8QX boot binary build | cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory | WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$ tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin' | WARNING: Backtrace (BB generated script): | #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179 | #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151 | #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189 ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1' ``` Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting existing mx8qxp overrides appropriately. Fixes: #1027 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-alsa-plugins: Set recipe name and PV properlyTom Hochstein2022-03-151-0/+1
| | | | | | | The recipe allows SRCREV to change while the version stays at 1.0.26, so change the recipe version to git and set PV based on the SRCREV. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layer: Update LICENSE variable to use SPDX license identifiersAndrey Zhizhikin2022-03-0313-13/+13
| | | | | | | | | | | | Since OE-Core commit 9379f80f48 ("license/insane: Show warning for obsolete license usage"), LICENSE field not containing SPDX identifiers are treated with WARNING. An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers has been done on the entire layer. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* Rework recipes to use imx-nxp-bsp more extensivelyOtavio Salvador2022-02-218-8/+8
| | | | | | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-nxp-bsp override; it has been applied to: - gstreamer1.0 - gstreamer1.0-plugins-bad - gstreamer1.0-plugins-base - gstreamer1.0-plugins-good - imx-alsa-plugins - imx-codec - imx-gst1.0-plugin - imx-parser - libdrm - libimxdmabuffer - linux-fslc-imx - linux-imx - optee-client - optee-test Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-2124-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* gstreamer: Lockin the versions for imx machinesKhem Raj2022-01-203-0/+6
| | | | | | | | | | Having open recipes in a high priority layer means they will override always even when its not building for machines not coming from this layer Pin them to imx Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-gst1.0-plugin: Enable to support i.MX Audio DSP CodecNate Drude2022-01-171-0/+4
| | | | | | | | Integrate NXP DSP Codec for i.MX 8QM/8QXP/8MP/8ULP As per: https://source.codeaurora.org/external/imx/meta-imx/commit/meta-bsp/recipes-multimedia/gstreamer?h=hardknott-5.10.72-2.2.0&id=eb72f6dc37079f001106711cdeecdb00f2d8e6cf Signed-off-by: Nate Drude <nate.d@variscite.com>
* imx-dsp-codec-ext: add recipeNate Drude2022-01-171-0/+21
| | | | | | As per NXP BSP: https://source.codeaurora.org/external/imx/meta-imx/tree/meta-bsp/recipes-multimedia/imx-dsp?h=hardknott-5.10.72-2.2.0 Signed-off-by: Nate Drude <nate.d@variscite.com>
* imx-dsp: add recipeNate Drude2022-01-171-0/+45
| | | | | | As per NXP BSP: https://source.codeaurora.org/external/imx/meta-imx/tree/meta-bsp/recipes-multimedia/imx-dsp?h=hardknott-5.10.72-2.2.0 Signed-off-by: Nate Drude <nate.d@variscite.com>
* recipes: use https protocol and add explicit branch parameterPierre-Jean Texier2021-11-037-7/+7
| | | | | | | | | | | | | | | 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>
* imx-vpuwrap: upgrade to 4.6.2Andrey Zhizhikin2021-10-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Following commits are included in this update: ---- f09ceba ("Update EULA.txt to v27 according to imx-release-info") 60b5950 ("Update EULA.txt to v25 according to imx-release-info") 8dce1b6 ("Update EULA.txt to v24 according to imx-release-info") c278d0d ("Update EULA.txt to v23 according to imx-release-info") 42da611 ("[configurea.ac] Update version to 4.6.2 for next release") 761c323 ("MMFMWK-8940 Force inserted I frame to be IDR frame.") bf01b8f ("Update EULA.txt to v19 according to imx-release-info") 9d05c1d ("Update EULA.txt to v18 according to imx-release-info") f84384e ("MA-18641 Fix vp8 encoder bitrate incorrect") 0594603 ("LF-3164 Fix segmentation fault when seeking one RV clip") fb11efe ("MMFMWK-8922 [8mp]Force one frame to be key frame with parameter nForceIPicture") 735d02d ("MMFMWK-8926 [hantro] disable adaptive mode") 7e94957 ("[configurea.ac] Update version to 4.6.1 for next release") 806fe7e ("Revert "MMFMWK-8922 [8mp]Force one frame to be key frame with parameter nForceIPicture"") eb4b209 ("MMFMWK-8922 [8mp]Force one frame to be key frame with parameter nForceIPicture") 13e9e78 ("MMFMWK-8816 vpuenc: add VBR mode for 8mm/8mp") b931875 ("[configurea.ac] Update version to 4.6.0 for next release") ---- Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-parser: upgrade to 4.6.2Andrey Zhizhikin2021-10-221-3/+3
| | | | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-codec: upgrade to 4.6.2Andrey Zhizhikin2021-10-221-3/+3
| | | | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* tinycompress: Fix build with muslKhem Raj2021-09-111-12/+6
| | | | | | | Fixes a build error discovered by musl, we need to include sys/types.h for u_charr and its friends. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tinycompress: Add recipeTom Hochstein2021-09-016-0/+1675
| | | | | | Add tinycompress, a library to handle compressed formats like MP3. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gst1.0-plugin: Upgrade to 4.6.1Tom Hochstein2021-09-011-17/+14
| | | | | | Includes switch to meson. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0-rtsp-server: Upgrade to 1.18.0Tom Hochstein2021-09-011-5/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>