setuptools3-base FILES assignments have been simplified, therefore the
internal libraries should be now packaged explicitly.
Fixes
ERROR: QA Issue: gstreamer1.0-python: Files/directories were installed but not shipped in any package:
/usr/lib/gstreamer-1.0/libgstpython.so
Signed-off-by: Khem Raj <raj.khem@gmail.com>
These warnings are already there, gcc just does not error on them yet
but clang does. Therefore clean them up a bit
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This builds a bridge for packagegroups from oe-core master which are
upgraded to use gstreamer 1.22 and some packages are merged together
e.g. videoconvertscale is unified version of videoconvert and videoscale
packages
Fixes
ERROR: gstreamer1.0-meta-base-1.0-r0 do_package_qa: QA Issue: gstreamer1.0-meta-base rdepends on gstreamer1.0-plugins-base-videoconvertscale, but it isn't a build dependen
cy? [build-deps]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes fetching errors otherwise, since it can not file source tarballs
on gstreamer download servers with 1.20.3.imx suffix
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jose Quaresma <jose.quaresma@foundries.io>
These recipes are copies of oe-core 1.20.3 that are not available
anymore upstream on the master branch.
The requirement to have them is because they are dependencies of
the other ones imx specific gstreamer forks on the layer.
So make their names maching the exisng ones will make it more safe.
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
oe-core has moved to gstreamer 1.22.0 and recipes which don't have
an imx version can no longer be built. Add older version of those
components to be used with the gstreamer 1.20.3.imx.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
The local patch 0001-gstallocatorphymem.c-Typecast-result-of-gst_phymem_g.patch
should be added in the bottom section.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This ensures that clang based distributions can compile this recipe,
since it uses nested functions ( bad bad ) which is not supported by
clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>
Update to the version used in lf5.15.52_2.1.0.
Commit history:
* f4410b7 LF-6531 imxcompositor: add video information handling by title format for upstream amphion vpu driver
* befcd74 MKL-25625 imx2ddevice_pxp: add support to pxp new api and new formats
* 2a26823 MMFMWK-9106 vpuenc: add QpMin and QpMax property for 8mm/8mp
* d630a98 MMFMWK-9073 add support for imx93
* 6e9b88f [configurea.ac] Update version to 4.7.1 for next release
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
Commit history:
* a9c9d17bb wlwindow: fix 8qxp and 8qm video playback performance issue
* 8ecf6a59f MMFMWK-9073 waylandsink: set as default videosink for mx93
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
Commit history:
* b83d1e4a3 LF-6577 v4l2: add capture buffer check and resize to avoid deadlock issue when seek
* b9319a38b LF-6531 v4l2: revert "v4l2videodec: workaround for v4l2 driver multi-plane"
* 5459be91d LF-6531 v4l2: fix the critical log when unreference the buffer which memory type is multi-plane and contain no valid data
* 059ed0874 LF-6531 v4l2: support stream with V4L2_FIELD_SEQ_TB field
* ba9d457b0 LF-6531 v4l2: add function to detect upstream amphion vpu driver
* 1cf76472c MMFMWK-9092 v4l2: Fix race condition between orphaning and stopping allocator
* f5566b038 LF-6195 v4l2: Reset transfer in gst_v4l2_object_acquire_format()
* dd7ae2aee v4l2: set default resolution if caps has no such information
* fa45cf501 MMFMWK-9116 v4l2videodec: Fix output state memory leak
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
Commit history:
* db100facd MMFMWK-9073 gstimxcommon.h: add support for mx93
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
No code changes, but the git repo was moved to github and a new branch
used. Pull those changes in to be consistent with the plugin recipes.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
Commit history:
* a9643b8 LF-6596 swpdm: refine the gain setting
* 6fc1604 LF-6274-2: swpdm: Support channel 1/2/3
* 61215bc LF-6274-1: swpdm: fix swpdm document
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
License was updated to NXP EULA v39 August 2022.
Commit history:
* bb1a5f3 Update EULA.txt to v39 according to imx-release-info
* 0d28bf2 Update EULA.txt to v38 according to imx-release-info
* b12ca6a Update EULA.txt to v37 according to imx-release-info
* c6d52a5 Update EULA.txt to v36 according to imx-release-info
* 7fbaf32 MMFMWK-9106 Add QpMin and QpMax property for 8mm/8mp
* 06e3543 [configurea.ac] Update version to 4.7.1 for next release
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
License was updated to NXP EULA v39 August 2022.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
License was updated to NXP EULA v39 August 2022.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
License was updated to NXP EULA v39 August 2022.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Update to the version used in lf5.15.52_2.1.0.
License was updated to NXP EULA v39 August 2022.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
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>
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>
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>
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>
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>
- 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>
* 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>
* 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>
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] 3577a7a26b
[2] b3ce9cb839
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
The bbappend overrides a non-existent variable PACKAGECONFIG_GL. The values
set by the override do not exist either, so just drop the bbappend.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* 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>
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-ptest
file and is designed to use the gnome-desktop-testing suite runner
(which is why the .inc files inherits from ptest-gnome)
(From OE-Core rev: 075aa7a617d38d6a698cee97dcb7550e72741eb5)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
This is a rewrite, based on the new libimxdmabuffer library, the new
libimxvpuapi library version 2, and GStreamer 1.14 (1.16 required for
full functionality). In addition to the i.MX6 and i.MX7, the i.MX8 is now
supported as well.
The code was reorganized into gst-libs/ and ext/ subdirectories to match
the GStreamer directory structure.
Also, meson is now the build system in use to ease integration with
GStreamer build setups such as Cerbero.
See the ChangeLog for a full list of changes and additions.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* 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>
In case we are building for a GPU-less machine (e.g: i.MX6UL) using a
distro without OpenGL support, was triggering a wrong build dependency
chain.
Now, we enable gles2 backend only if the distro has OpenGL support.
Fixes: #684.
Fixes: 61fac596 ("gstreamer1.0-plugins-bad: Let processors with pxp chose the correct Opengl API")
Change-Id: I275299d20065309d753ebc7774ab1fcc5bea7113
The gstreamer1.0 recipes for the i.MX forks were updated to a newer version, but
the file versions were not updated accordingly. For the NXP 5.4.47 release, the
gstreamer version is 1.16.2.imx. For NXP 5.4.70, the gstreamer version is
1.16.3.imx.
Note that the original version 1.16.imx was not appropriate either, and this
fix can also be viewed from that perspective, that the third digit of the version
should be included in the recipe version.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
The processors without gpu (imx6ul/imx6ull) support only opengl-es.The system must be able to chose the correct API instead of forcing it for all processors.
Signed-off-by: ZIDOUH Zakaria <zakaria.zidouh@gmail.com>
Update imx-gst1.0-plugin package to use the MM_04.05.06_2008_L5.4.47
branch. Version also increases to 4.5.6.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Update gstreamer1.0-plugins-bad package to use the
MM_04.05.06_2008_L5.4.47 branch. This branch is based on the upstream
1.16.2 release.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Update gstreamer1.0-plugins-good package to use the
MM_04.05.06_2008_L5.4.47 branch. This branch is based on the upstream
1.16.2 release.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Update gstreamer1.0-plugins-base package to use the
MM_04.05.06_2008_L5.4.47 branch. This branch is based on the upstream
1.16.2 release which also includes one patch we until now maintained in
this recipe.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Update gstreamer1.0 package to use the MM_04.05.06_2008_L5.4.47 branch.
This branch is based on the upstream 1.16.2 release.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Update imx-vpuwrap package to use the MM_04.05.06_2008_L5.4.47 branch.
Version also increases to 4.5.6.
Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
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>
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>
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>
* 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>
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>
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>
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>
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>
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>
* 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>
-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>
-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>
* 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>
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>