| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
i.MX 6 & 7 with GPU fails to build due to lack of glx support. Move the fix in
1.22.0.imx, which is limited to i.MX 8, to a generic bbappend so the upstream
recipe is covered as well.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Note, this commit does also complete the 'snapshot' model being used by
including the .inc files.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* imx2d:
* Add 10-bit tiled NV12/21 formats and extend Imx2dPixelFormatInfo
* Fix corner case when imx2d format has no GStreamer counterpart
In such a case, no GStreamer format string exists, so format_str stays
NULL, and the format_string_gvalue is not taken into the
format_list_gvalue array. Unset it to prevent followup g_value_init()
calls from failing.
* Replace num_first_plane_bpp with pixel_stride
pixel_stride is more useful and more intuitive in calculations,
and works properly with tiled 10-bit formats.
* Fix flickering when using DPU-emulated G2D rendering
* Free surface during destroy
* Add support for specifying colorimetry
* Take into account chroma subsampling in alignments
* Add special format specific stride alignment specifier
* Add overlay composition support to imx2d video sinks
* ipu: Add support for YUY2 (aka YUYV)
* ipu: Add video sink
Even though the IPU isn't actually flexible enough for use in a video
sink, it can be useful for diagnostics and debugging, so add one.
* g2d: Don't restrict calls to one thread if G2D is new enough
* g2d: Check if Amphion tile enums are present
* g2d: Enable YVYU and NV61 when using G2D newer than 1.x
* g2d: Check for colorimetry support
* vpu:
* Raise minimum required libimxvpuapi version to 2.3.0
A number of API additions and critical bug fixes in libimxvpuapi
make it essential to raise the minimum required version.
* Fix case when a gap event arrives before the caps event does
* Fix gst_imx_vpu_dec_drain() return type
* Free element_name after registering
* encoder: Add closed-gop-interval property
* encoder: Handle force-keyframe-headers flag and add sync points
* encoder: Fix h264/h265 AUD handling and add enable-aud property
AUDs are not enabled by "au" caps. "au" instead means that buffers
contain entire access units, which is what all imx6 and imx8 VPUs
produce. Fix this by always setting "au" in the output caps and adding
an "enable-aud" GObject property.
* decoder: Add support for producing 4x4 tiled frames
The 4x4 tile format is available with Hantro VPUs. Especially when
using formats that are produced by the G2 VPU, using tiled formats
can yield significant performance improvements, because the VPU does
not have to perform internal detiling before handing over the decoded
frame to the caller. The 4x4 tile format corresponds to the GStreamer
NV12_4L4 format. If GStreamer is older than 1.18, this is disabled,
since NV12_4L4 was introduced in 1.18.0.
* decoder: When draining before setting format, don't treat EOS as error
* v4l2video:
* Add ISI transform and Amphion decoder elements
These are meant for older imx-kernels (<5.15) that have broken drivers
for V4L2 mem2mem ISI and Amphion decoder devices. These custom elements
use workarounds to address the issues these drivers have. Newer kernels
use different drivers that aren't broken, so the custom elements are
not needed there.
* v4l2videosrc: Minor logging fixes
* v4l2videosrc: Support non-mxc_v4l2 devices (like USB cameras)
This enables support for devices that aren't based on the mxc_v4l2
driver. Useful for being able to use the same imxv4l2videosrc element
with both MIPI/CSI and USB cameras.
* v4l2videosrc: Read back format with G_FMT after having set it with S_FMT
Usually, the driver should set any changes in the parameters right in
the S_FMT call, but some don't (they return defaults instead), so to
be safe, actually issue the G_FMT ioctl instead.
* v4l2videosrc: Copy bytesperline and sizeimage into videoinfo struct
This is important if the driver picked a different format, since then,
the originally chosen sizes and the new ones can differ significantly.
* v4l2videosrc: Unref old v4l2 object before creating new one
This fixes cases where a caps renegotiation happens and the old object
still keeps the V4L2 device open, preventing some of the new object's
ioctls from succeeding.
* Added ov5645 mipi camera
* v4l2videosrc: Check for V4L2_CAP_SDR_OUTPUT and V4L2_CAP_TOUCH presence
* v4l2videosrc: Don't exit with error if mxc_v4l2 chip ID is not
available
* Add prelude header
This fixes build errors due to undeclared symbols
* v4l2videosrc: Don't use V4L2 sizeimage for single-planar pixel formats
* Explicitly calculate plane stride and offset values
* Remove pixel-aspect-ratio from probed device caps
These unfixated template caps can mislead downstream fixation logic,
leading to it using a PAR of 1/maxint, which in turn causes integer
overflow errors. Elements do not normally specify that kind of
pixel aspect ratio range, and just omit it from the template caps.
* Use sys/time.h instead of time.h
* imx-gst-libs:
* common: Fix incorrect imx_dma_buffer_deallocate() calls
If the gst_imx_dmabuf_allocator_activate() call inside alloc() fails,
imx_dma_buffer_deallocate() would be called even though no imxdmabuffer
was allocated. Fix this by adding an imx_dma_buffer check.
* common: Add gst_imx_dmabuf_allocator_get_physical_address()
* common: Misc GstImxDmaBufAllocator improvements
* common: Fix gst_imx_dmabuf_allocator_wrap_dmabuf() call
This function tries to get a physical address before activating the
allocator. Switch this around to make this call work with allocators
like the ION allocator.
* common: Replace dup() with memory ref'ing in dmabuf uploader
Using dup() was causing an FD leak because the dup'ed FD was not being
closed correctly. But also, just using dup() risks data races because
producers can still write to the same dma-buf memory that consumers are
processing. Instead, ref the input dmabuf gstmemory to let the rest of
the pipeline know that the gstmemory is in use.
* common: Remove volatile qualifier in allocator GType
This addresses the warning:
warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier
* common: Fix assertion in raw_buffer_upload_method_create()
* common: Synchronize imx gstmemory access with mutexes
* video: Move GstImx2dVideoBufferPool to video/
GstImx2dVideoBufferPool is not actually imx2d specific, and can be
reused in other plugins. Move it to gst-libs/gst/imx/video/ for that
purpose.
* video: Add functions to videobufferpool for getting info
* video: Add GstImxVideoDmaBufferPool
* video: Set videometa plane stride & offset values in pool
* video: Take into account chroma subsampling in alignments
* video: Adjust video meta before doing a CPU based frame copy
* video: Fix video dma buffer pool info size modifications
* video: Add function for setting new video uploader alignments
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* vpu: Implement first working version of VC8000E encoder integration
This adds support for the Hanto VC8000E encoder that can be found on
the i.MX8m plus. The VC8000E encoder integration is not finished.
h.264 encoding works fine. h.265 encoding is not yet done. And,
changing framerate mid-stream is currently not supported.
* Replace mxcfb.h with ipu.h in option description
Some BSPs no longer ship with the mxcfb.h header.
* imx6-coda: Fix ENC_ENABLE_SOF_STUFF check
The check was being performed incorrectly, leading to nullbytes
being inserted at the end of the SOF0 marker.
* imx6-coda: Insert JFIF APP0 segment
The VPU does not insert this segment on its own. Some programs need
JFIF data to be present in JPEG files, so insert APP0 manually.
* imx6-coda: Fix decoder and encoder alignments
* imx6-coda: Add more IPU detiler logging
* imx6-coda: Fix decoder Y/U/V offset alignments
As it turns out, these must be aligned to 8-byte boundaries, not to
4096 byte ones. The latter caused incorrect offset calculations.
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
|
|
|
|
|
|
|
|
|
| |
Relevant changes:
- b2ba082 asrc_pair: Update mxc_arc header location.
- dc41b8f Add SCR-imx-alsa-plugins.txt.
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
|
|
|
|
| |
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
|
|
|
|
|
|
|
| |
- Add more DSP libraries of i.MX platforms.
- Install different lib of different platforms.
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
|
|
|
|
| |
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
|
|
|
|
| |
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
|
|
|
|
| |
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
|
|
|
|
|
|
| |
- test: Change input file to raw pdm file.
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Signed-off-by: Jun Zhu <junzhu@nxp.com>
|
|\
| |
| | |
Update libimxvpuapi2_2.2.2.bb: "hanto" missing files fix (imx8mp)
|
| |
| |
| | |
This fixes the compilation issue on imx8mp, where "hanto" files are missing.
|
|/
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
gstreamer LF6.1.1-1.0.0 update
|
| |
| |
| |
| | |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
| |
| |
| |
| |
| |
| |
| | |
Backport a fix for libsoup:
https://github.com/openembedded/openembedded-core/commit/56c4559788d3d87ceed965aedd03d461df5999aa
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
| |
| |
| |
| | |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
| |
| |
| |
| | |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
| |
| |
| |
| | |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|/
|
|
|
|
| |
As per NXP langdale-6.1.1-1.0.0 release.
Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
vivante does not implement glx
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
.imx when needing gstreamer version
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Fails to build, lets disable them for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
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>
|