aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
AgeCommit message (Collapse)Author
2018-01-25imx-vpuwrap: Upgrade to v4.3.2Yuqing Zhu
1. Rename the recipe version, align with imx-codec/parser 2. Upgrade EULA to v20 3. Changes: -Add vpu_wrapper_test -Add gst_dump tools -Add gl sink -Enable RMVB/VC1/DIVX3 -Add webp support Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-01-25imx-parser: Upgrade to v4.3.2Yuqing Zhu
1. Upgrade EULA to v20 2. Add i.MX8 support 3. Bugfix/Optimization -Fix creating parser error When the variable value is negetive, if(bytesToRead) will return true, modify this condition to if(bytesToRead > 0). -FLAC PARSER 03.00.07 Check read actual length in case of parser reach eos. -MP4 PARSER 06.12.11 Fix crash issue when parse id3 metadata. -MPG2 PARSER 04.05.16 Fix parser return wrong frame size after fastforward. -ASFPARSER_01.00.55 Update for HEVC tag and audio AC3 support. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-01-25imx-codec: Upgrade to v4.3.2Yuqing Zhu
1. Upgrade EULA to v20 2. Add i.MX8 support 3. Bugfix/Optimization - Remove video codec in imx-codec package. - Fix logically dead code issue for aac_dec. - Fix wrong sizeof argument for flac_dec. - Cancel unused code in nb_amr/wb_amr/flac_dec/bsac_dec. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-28gstreamer1.0-plugins-imx: Update to version 0.13.0Carlos Rafael Giani
Changes: * New imxv4l2videosink element Currently only supports input physically contiguous memory blocks as input (so, for example, no videotestsrc) * New Pango-based overlay elements using G2D for rendering * gstimxcommon library is now public Necessary when implementing external sinks to retrieve the mapped physical memory address from gstreamer buffers (NOTE: ABI may change in the next few releases until this is stabilized) * New optional ability to use GstPhysMemory from gst-plugins-bad * imxv4l2videosrc: * Add checks for V4L XRGB555X and GStreamer NV61 pixel formats * Add UYVY support and make it the new default UYVY works better with IPU-based deinterlacing, since with I420, deinterlaced frames may exhibit a green band at the bottom, which is apparently an IPU bug related to the plane offsets. * Fix compile prior to Gstreamer 1.3.1 * v4l2_buffer_pool: Add special case for tw6869 driver The tw6869 driver requires a different physical address to allow DMA'able buffers for decreasing latency between chip and display * v4l2src: add fractional "fps" property (obsoletes the "fps-n" property) * Add GstImxV4l2Meta init function This avoids the g_assert() that was caused by the missing init function * Add num-additional-buffers property This can be useful if capturing video isn't smooth; it sets the number of internal additional buffers, so if downstream consumes too many buffers, imxv4l2videosrc might end up doing a blocking wait until buffers are returned * imxv4l2src plugin is now called imxv4l2video, because it also contains imxv4l2videosink Also, the v4l2 elements can be enabled/disabled in the build configuration individually now * compositor: * Clear output also if the input format has an alpha channel * Only copy compositor input buffers to DMA memory once If a single input frame is used for multiple output frames, we would otherwise copy multiple times which can easily go to the limit of the memory bandwidth * vpu: * Fix leak causd by missing GstVideoCodecState unref * Release decoder context GCond during flush to fix potential deadlock * Add memory tag to VPU framebuffer meta to avoid meta related crashes * Add support for GRAY8 frames as a "fake grayscale mode" Grayscale is actually encoded as I420, with the U and V planes filled with 0x80 bytes. This feature also makes libimxvpuapi 0.10.3 the new minimum requirement. * Remove 8-pixel alignment from width & height sinkcaps * Framebuffer array: fix memory leak if we got out of memory * Handle releasing of buffers without assigned framebuffer This can happen if the buffer is released before it was actually used, e.g. when renegotiating at the very beginning; prevents a crash that would otherwise occur * Add parameter check to avoid encoder crash on flush * g2d: * Always enable blending if the input frames have an alpha channel G2D automatically makes use not only of global alpha, but also of per-pixel alpha. Therefore, it makes sense to enable blending even if global alpha is set to 255, as long as the input frames have an alpha channel. Such blending is useful for composing a video frame with some partially-transparent overlays for example (not to be confused with hardware overlays though). * Add build configuration switches to explicitely specify G2D include and library paths * Disable cacheable memory allocation Several issues were reported with cacheable DMA memory, so it is turned off, at least for now * blitter: * Add property to clear screen to black in blitter sinks * Add output-rotation property to videotransform base class * audio: * Fix SIGFPE when restarting mp3 encoder * Fix reference counting for caps * Mark static codec caps as may be leaked This gets rid of the false positive in the leak tracer * misc: * Update waf to 1.9.3 to fix compilation with Python 3.4+ Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-10gstreamer1.0-plugins-bad: Set PACKAGECONFIG_GL for imxgpu2d and imxgpu3dFabio Berton
Commit 3304733d6736c6ed04620daf513361a26a71ea1b removed patches and PACKAGECONFIG_GL, but actually we need to keep PACKAGECONFIG_GL and remove only patches. So, add back PACKAGECONFIG_GL gstreamer1.0-plugins-bad. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-28imx-gst1.0-plugin: Change git repository URLDaiane Angolini
Change the git URL to Code Aurora as it mirrors the git.freescale.com. It also changes the branch name to the matching one. Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-28imx-alsa-plugins: Change SRC_URI to point to gitDaiane Angolini
Change SRC_URI to point to git repo on Code Aurora as it mirrors the git.freescale.com. It also changes the working directory to reflect the git structure. Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-16imx-vpuwrap: replace imx-vpu with virtual/imxvpu in DEPENDSJun Zhu
In order to support future VPUs on other SoC, replace imx-vpu with virtual/imxvpu. Signed-off-by: Jun Zhu <junzhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-27imx-parser: Upgrade to v4.2.1Yuqing Zhu
1. Upgrade EULA to v18 2. Bugfixes/Optimization - Update HEVC PARSER 01.00.02/ APE PARSER 00.00.08/ MPEG2 PARSER 04.05.10 1. Delete the useless label in HEVC PARSER. 2. Fix 2 variables' not init in special case for APE PARSER. 3. Fix one struct's not init for MPEG2 PARSER. - Fix one mp3 can't play on jb4.3_1.1.1-ga ID3V2 contains a picture larger than 3MB, need to save ID3 data size in self->m_dwID3V2Size to let parser skip it when starting playback. - Fix creating parser error When variable value is negative, if(bytesToRead) will return true, modify this condition to if(bytesToRead > 0). Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-27imx-codec: Upgrade to v4.2.1Yuqing Zhu
1. Upgrade EULA to v18 2. Bugfix/Optimization - AACPlus:M4A format audio only can output about 1s audio, then keep silence It is caused by AACPlus decoder because aacplus decoder occupys much cpu time when decoding. Add -O3 build option into aacplus decoder's build script to optimize the code. - Optimize the code Cancel duplicated code in aac_dec/aacplus_dec. Cancel unused code in flac_dec. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-24gstreamer1.0-plugins: Remove gstreamer 1.10 bad and base pluging patchesFabio Berton
Gstreamer was updated to version 1.12 and these 1.10 patches don't apply in version 1.12. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-07-13alsa-lib: Ensure MACHINE_SOCARCH is used consistentlyOtavio Salvador
The alsa-lib needs to apply the patches for all i.MX SoCs so using the 'imx' override seems to be the best choice for this specific use-case. A missing aspect though was that this should also affect every package which /depends/ on alsa-lib (e.g: alsa-utils) so it also goes to MACHINE_SOCARCH architecture fixing the signature change across different machines. This fix has been tested using a massive parallel build using multiconfig. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-06-28Revert "gstreamer1.0-plugins-bad: Add some gstplayer API"Yuqing Zhu
The patch has some applying conflicts. It should be applied after some poky patches, but they are still under review, not accepted yet. Will add it back later. This reverts commit faa2234c766558b904447405ee30cd3d183c79e4. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-06-17alsa-lib: refresh patches against alsa-lib 1.1.4.1Ricardo Salveti
Signed-off-by: Ricardo Salveti <rsalveti@rsalveti.net> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-06-16gstreamer1.0-plugins-bad: Add some gstplayer APIYuqing Zhu
* Add gstplayer get_rotate() and set_rotate() API * Add get/set force-aspect-ratio config API * Add set audio/text sink API Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-06-16gstreamer1.0-plugins-base: Don't set async of custom text-sink to false in ↵Yuqing Zhu
gstplaysink Setting async to false will cause A/V sync problem when seeking. The preroll needs to use GAP event instead of setting async to false. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-23imx-gst1.0-plugin: Upgrade to v4.1.6Yuqing Zhu
-Add an interface in playengine to set video sink using GstElement This interface is for qmlglsink use or something like that. -Optimize imxv4l2sink and overlaysink to make them work with qmlglsrc more effective Add RGBA format support the two sink. Reduce the interval to 1ms when do dequeue retry in v4l2. -Add gst_phy_mem_meta_init() Avoid critical warning as gst_meta_register add critical check for NULL init_func. -Aiurdemux add wma voice support -Add vertical and horizontal flip support for overlaysink and imxv4l2sink Add vertical and horizontal flip for overlaysink and imxv4l2sink. Change playengine set rotate interface to set enum value. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-23imx-parser: Upgrade to v4.1.6Yuqing Zhu
Upgrade license chksum to v16 EULA Fix segmentation fault in ID3 parser when dataSize is abnormal Update MP4 PARSER to 06.09.38 Update MP3 PARSER to 03.01.14 Update AAC PARSER to 03.00.11 Update FLAC PARSER to 03.00.6 Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-23imx-codec: Upgrade to v4.1.6Yuqing Zhu
-Upgrade license chksum to v16 EULA Bugfixes: -VORBIS_Wrapper/VORBIS_DEC: add error handler Some fuzzy bitstream will cause segmentfault as error handler is not correct. -Fix wma10_dec's Segmentation fault in performance test Segmentation fault occurs when decoding several streams in performance test. Add test_case[] array's size to fix it. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-09gstreamer1.0-plugins-imx: add pkgconfig to inheritMax Krummenacher
The wscript file uses conf.check_cfg which in turn uses pkg-config. Fixes configure error triggered now with recipe specific sysroot. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-27imx-parser: Remove i.MX 6UL specific metadataFabio Berton
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-27imx-codec: Remove i.MX 6UL specific metadataFabio Berton
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-27pulseaudio: Remove i.MX 6UL specific metadataOtavio Salvador
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-27alsa-lib: Remove i.MX 6UL specific metadataOtavio Salvador
The SoC is now dealt as a i.MX6 SoC so there is no need for the specific metadata. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-11gstreamer1.0-plugins-bad: Fix MRT cannot work in GLES3.0Yuqing Zhu
Use glBlitFramebuffer for textures copy if it is available Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-11gstreamer1.0-plugins-bad: Workaround for no frame when imxplayer using ↵Yuqing Zhu
glimagesink Workaround: Change parent window of internal_window in window_show function. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-11gstreamer1.0-plugins-bad: Convert YUV to RGB using directvivYuqing Zhu
Add a property "disable_passthrough" in glcolorconvert for enable/disable passthrough. When need convert YUV to RGB with directviv, set it to be TRUE. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-11gstreamer1.0-plugins-bad: Accelerate gldownload with directviv APIYuqing Zhu
1) Propose a physical buffer pool to upstream in gldownload 2) Bind the physical buffer with texture via dirctviv 3) In gldownload, wrap the physical buffer to gstbuffer, pass to downstream plugins. 4) Add some configure check for g2d and phymem Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-11gstreamer1.0-plugins-bad: Add directviv to glimagesink to improve playback ↵Yuqing Zhu
performance 1.Add a physical buffer uploader in glupload plugin and using viv direct texture to bind physical continious buffer with texture to avoid memory copy from videobuffer to texture to gain good performance. 2.Reduce glimagesink load latency by override glimagesink ALLOCATION query to avoid memory copy. 3.Add configure check for directviv feature. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-11gstreamer1.0-plugins-bad: Support fb backend for gl pluginsYuqing Zhu
1. Add fb support in glimagesink 2. Override set_render_rectangle() to support resize Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-11gstreamer1.0-plugins-bad: Remove the conflicted patchesYuqing Zhu
These patches are for GST 1.8, need to do refine for GST 1.10 Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-19gstreamer1.0-plugins: Upgrade to 1.10Thomas Perrot
Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-09gstreamer1.0-plugins-bad: Add version number into the name of bbappend fileYuqing Zhu
The bbappend will only work on a specific version, or it may have some conflicts. Currently, it is for GST 1.8. And once the release is final, it does not update the Gstreamer version in poky. So it won't raise the parser error. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-12-09gstreamer1.0-plugins-base: Add version number into the name of bbappend fileYuqing Zhu
The bbappend will only work on a specific version, or it may have some conflicts. Currently, it is for GST 1.8. And once the release is final, it does not update the Gstreamer version in poky. So it won't raise the parser error. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-23gstreamer1.0-plugins-imx: Configure for Wayland backend if wayland and x11 ↵Tom Hochstein
are in distro By i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-23gstreamer1.0-plugins-bad: Use compiler settings provided by IMX-GPU driver ↵Tom Hochstein
pkg-config The IMX-GPU driver now provides compiler settings through pkg-config, so don't set them explicitly. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-16gstreamer1.0-plugins-bad: Add imxgpu2d override to SRC_URIFabio Berton
We can't append SRC_URI here without using an override because it add patches for all machines, including non imx machines, e.g QEMU machines. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-09libimxvpuapi: Update to version 0.10.3Carlos Rafael Giani
Changes: - properly pass on color format in simplified JPEG encoder interface - add alternative write-callback-style encoding mode also add encode example variant which uses write-callback style output - add support for "fake grayscale mode" in encoders this is done by using I420 internally and filling the U and V planes with 0x80 bytes - make sure JPEG quantization table is copied in standardized zig zag order the VPU does not, so this has to be done explicitely Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-09imx-gst1.0-plugin: configure for available platforms onlyMax Krummenacher
For the MACHINEOVERRIDES "mx6dl" and "mx6q" PLATFORM is set to MX6DL and MX6Q, respectively, resulting in the following error from the configure script: | configure: error: No target platform specified! | Use ./configure PLATFORM=(MX6/MX6QP/MX6SL/MX6SX/MX6UL/MX7D) to retry Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-05gstreamer1.0-plugins-bad: Fix build error on non-GPU SoCYuqing Zhu
1. Add directviv and g2d check in configure.ac 2. Add compile marcos in glupload and gldownload 3. Now, these patches can be applied on all imx SoC, no need to add filter. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-05gstreamer1.0-plugins-bad: Support fb backend for gl pluginsYuqing Zhu
1. Add fb support in glimagesink 2. Override set_render_rectangle() to support resize Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-31gstreamer1.0-plugins-imx: Add support for all mx6 and mx7 machinesFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-31imx-gst1.0-plugin: Add support for all mx6 and mx7 machinesFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-31imx-alsa-plugins: Add support for all mx6 and mx7 machinesFabio Berton
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-28gstreamer1.0-plugins-base: Refactor code to use the new overridesOtavio Salvador
The recipe has been reworked to use the 'imxpxp' and 'imxvpu' feature overrides. Change-Id: Ib2e23d965dbad45bb8246493a79c1d3320866170 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-28gstreamer1.0-plugins-bad: Refactor code to use the new overridesOtavio Salvador
The recipe has been reworked to use the 'imxgpu2d' and 'imxgpu3d' feature overrides. Change-Id: Ib91231cfaff479cd185741b12ff8da56145e6327 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27gstreamer1.0-plugins-bad: Fix MRT cannot work in GLES3.0Yuqing Zhu
1. Add #ifdefine Marco to avoid redefinition of GL_COLOR_ATTACHMENT(1,2). 2. Change to use glBlitFramebuffer for textures copy. glCopyTexImage2D cannot work because we cannot get texture internal format. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27gstreamer1.0-plugins-bad: work around for no frame when imxplayer using ↵Yuqing Zhu
glimagesink Workaround: Change parent window of internal_window in window_show function. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27gstreamer1.0-plugins-bad: convert YUV to RGB using directvivYuqing Zhu
Add a property "disable_passthrough" in glcolorconvert for enable/disable passthrough. When need convert YUV to RGB with directviv, set it to be TRUE. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27gstreamer1.0-plugins-bad: Accelerate gldownload with directviv APIYuqing Zhu
1) Propose a physical buffer pool to upstream in gldownload 2) Bind the physical buffer with texture via dirctviv 3) In gldownload, wrap the physical buffer to gstbuffer, pass to downstream plugins. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>