Commit Graph

35 Commits

Author SHA1 Message Date
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu
e68f8d53b9
libvpx: upgrade 1.15.1 -> 1.15.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-09 21:24:10 -07:00
Wang Mingyu
e8a0c63bbb
libvpx: upgrade 1.15.0 -> 1.15.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-16 08:18:05 -07:00
Wang Mingyu
ea3363dcc0
libvpx: upgrade 1.14.1 -> 1.15.0
libvpx-configure-support-blank-prefix.patch
refreshed for 1.15.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 22:45:17 -08:00
Wang Mingyu
911023b521
libvpx: upgrade 1.14.0 -> 1.14.1
libvpx-configure-support-blank-prefix.patch
refreshed for 1.14.1

Changelog:
============
- Improved the detection of compiler support for AArch64 extensions,
  particularly SVE.
- Added vpx_codec_get_global_headers() support for VP9.
- Added buffer bounds checks to vpx_writer and vpx_write_bit_buffer.
- Fix to GetSegmentationData() crash in aq_mode=0 for RTC rate control.
- Fix to alloc for row_base_thresh_freq_fac.
- Free row mt memory before freeing cpi->tile_data.
- Fix to buffer alloc for vp9_bitstream_worker_data.
- Fix to VP8 race issue for multi-thread with pnsr_calc.
- Fix to uv width/height in vp9_scale_and_extend_frame_ssse3.
- Fix to integer division by zero and overflow in calc_pframe_target_size().
- Fix to integer overflow in vpx_img_alloc() & vpx_img_wrap()(CVE-2024-5197).
- Fix to UBSan error in vp9_rc_update_framerate().
- Fix to UBSan errors in vp8_new_framerate().
- Fix to integer overflow in vp8 encodeframe.c.
- Handle EINTR from sem_wait().

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-07 09:11:58 -07:00
Martin Jansa
30f7287119
libvpx: restore Upstream-Status
* accidentally dropped in:
  https://git.openembedded.org/meta-openembedded/commit/?id=acfdff6e41f860b31faefb4e449239a6d04d7502

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-30 11:42:59 -08:00
Wang Mingyu
acfdff6e41
libvpx: upgrade 1.13.1 -> 1.14.0
Changelog:
===========
  Fix to missing prototypes from the rtcd header.
  Fix to segfault when total size is enlarged but width is smaller.
  Fix to the build for arm64ec using MSVC.
  Fix to copy BLOCK_8X8's mi to PICK_MODE_CONTEXT::mic.
  Fix to -Wshadow warnings.
  Fix to heap overflow in vpx_get4x4sse_cs_neon.
  Fix to buffer overrun in highbd Neon subpel variance filters.
  Added bitexact encode test script.
  Fix to -Wl,-z,defs with Clang's sanitizers.
  Fix to decoder stability after error & continued decoding.
  Fix to mismatch of VP9 encode with NEON intrinsics with C only version.
  Fix to Arm64 MSVC compile vpx_highbd_fdct4x4_neon.
  Fix to fragments count before use.
  Fix to a case where target bandwidth is 0 for SVC.
  Fix mask in vp9_quantize_avx2,highbd_get_max_lane_eob.
  Fix to int overflow in vp9_calc_pframe_target_size_one_pass_cbr.
  Fix to integer overflow in vp8,ratectrl.c.
  Fix to integer overflow in vp9 svc.
  Fix to avg_frame_bandwidth overflow.
  Fix to per frame qp for temporal layers.
  Fix to unsigned integer overflow in sse computation.
  Fix to uninitialized mesh feature for BEST mode.
  Fix to overflow in highbd temporal_filter.
  Fix to unaligned loads w/w==4 in vpx_convolve_copy_neon.
  Skip arm64_neon.h workaround w/VS >= 2019.
  Fix to c vs avx mismatch of diamond_search_sad().
  Fix to c vs intrinsic mismatch of vpx_hadamard_32x32() function.
  Fix to a bug in vpx_hadamard_32x32_neon().
  Fix to Clang -Wunreachable-code-aggressive warnings.
  Fix to a bug in vpx_highbd_hadamard_32x32_neon().
  Fix to -Wunreachable-code in mfqe_partition.
  Force mode search on 64x64 if no mode is selected.
  Fix to ubsan failure caused by left shift of negative.
  Fix to integer overflow in calc_pframe_target_size.
  Fix to float-cast-overflow in vp8_change_config().
  Fix to a null ptr before use.
  Conditionally skip using inter frames in speed features.
  Remove invalid reference frames.
  Disable intra mode search speed features conditionally.
  Set nonrd keyframe under dynamic change of deadline for rtc.
  Fix to scaled reference offsets.
  Set skip_recode=0 in nonrd_pick_sb_modes.
  Fix to an edge case when downsizing to one.
  Fix to a bug in frame scaling.
  Fix to pred buffer stride.
  Fix to a bug in simple motion search.
  Update frame size in actual encoding.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-22 18:02:28 -08:00
skandigraun
82d0508039
libvpx: don't specify armv5 and armv6 toolchains explicitly
The libvpx project has removed the support for these values, and
the recipe can't be built anymore for these arch's when these values
are used. The correct value for these arch's is `generic-gnu`,
which is used as a default fallthrough value for all platforms
in the recipe for arch's that are not specified explicitly.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-19 19:47:47 -08:00
Benjamin Bara
06faef7244 libvpx: upgrade 1.13.0 -> 1.13.1
Changelog:
=========
This release contains two security related fixes. One each for VP8 and
VP9.

- Upgrading:
  This release is ABI compatible with the previous release.

- Bug fixes:
  https://crbug.com/1486441 (CVE-2023-5217)
  Fix to a crash related to VP9 encoding (#1642)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-04 13:10:06 -07:00
Benjamin Bara
0324259cd6 libvpx: fix VPXTARGET for non-neon armv7a
The compiler might use non-supported instructions, as the build config
requires armv7-linux-gcc targets to have NEON[1] and drops the mtune
value[2], which also might use d32 registers on d16 cpus.

Falling back to the generic-gnu target respects the toolchain-set values
and should therefore be used instead.

[1] 626ff35955/build/make/configure.sh (955)
[2] 626ff35955/build/make/configure.sh (973)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-22 13:12:38 -07:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Wang Mingyu
0aaa35bf7a libvpx: upgrade 1.12.0 -> 1.13.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-09 09:10:52 -08:00
Joshua Watt
747684d460 libvpx: Enable native support
Enable support for building libvpx as a native recipe

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-24 08:45:44 -08:00
Joshua Watt
6aa414ea0e libvpx: Explicitly link with pthread support
When building for the native build host, explicitly add the -pthread
option to link against the pthread libraries. This errors like:

  vp9_encoder.c:(.text+0x2073): undefined reference to `pthread_once'

when building the native variant

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-24 08:45:44 -08:00
wangmy
4e23d59f6b libvpx: upgrade 1.11.0 -> 1.12.0
Changelog:
=========
 This release adds optimizations for Loongarch, adds support for vp8 in the
  real-time rate control library, upgrades GoogleTest to v1.11.0, updates
  libwebm to libwebm-1.0.0.28-20-g206d268, and includes numerous bug fixes.

- Upgrading:
    This release is ABI compatible with the previous release.
    vp8 support in the real-time rate control library.
    New codec control VP8E_SET_RTC_EXTERNAL_RATECTRL is added.
    Configure support for darwin21 is added.
    GoogleTest is upgraded to v1.11.0.
    libwebm is updated to libwebm-1.0.0.28-20-g206d268.

- Enhancement:
    Numerous improvements on checking memory allocations.
    Optimizations for Loongarch.
    Code clean-up.

- Bug fixes:
    Fix to a crash related to {vp8/vp9}_set_roi_map.
    Fix to compiling failure with -Wformat-nonliteral.
    Fix to integer overflow with vp9 with high resolution content.
    Fix to AddNoiseTest failure with ARMv7.
    Fix to libvpx Null-dereference READ in vp8.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-07 08:24:26 -07:00
wangmy
509d74f2d3 libvpx: upgrade 1.8.2 -> 1.11.0
Changelog from 1.8.2 to 1.11.0:
https://chromium.googlesource.com/webm/libvpx/+/refs/heads/main/CHANGELOG

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-13 19:21:41 -07:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Zang Ruochen
91b30560e4 libvpx: upgrade 1.8.1 -> 1.8.2
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-08 22:00:37 -07:00
Christophe PRIOUZEAU
e796da8f1a libvpx: Clarify BSD license variant
The License of libvpx is BSD-3-Clause.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-25 10:29:51 -07:00
Oleksandr Kravchuk
995273abc9 libvpx: update to 1.8.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-16 07:10:03 -07:00
S. Lockwood-Childs
d8730f4328 libvpx: bump to 1.7.0
Fetch was switched from tarball to git fetcher with release tag because
libvpx-1.7.0.tar.bz2 was not available at the previous download URL.

The download instructions for the project point to autogenerated
tarballs now (instead of storage.googleapis.com) [1], but archive
tarballs generated by git can end up with checksums that change
over time... so using git directly is less likely to break.

Successfully compile tested against:
* ffmpeg-4.0.2
* gstreamer1.0-plugins-good-1.14.2
* vlc-2.2.2
with vpx enabled in each respective PACKAGECONFIG.

[1] https://www.webmproject.org/code/releases/

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-22 15:37:36 -08:00
Armin Kuster
a3a88094a5 libvpx: refresh patches
WARNING:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:

    devtool modify <recipe>
    devtool finish --force-patch-refresh <recipe> <layer_path>

Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
checking file build/make/configure.sh
Hunk #1 succeeded at 581 with fuzz 2 (offset 137 lines).
Hunk #2 succeeded at 616 (offset 27 lines).

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 12:43:38 -07:00
dengke.du@windriver.com
2ee20c389a libvpx: upgrade to 1.6.1
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-28 11:06:01 +02:00
Chang Rebecca Swee Fun
907504c948 libvpx: upgrade to version 1.5.0
This version had improved VP9 encoder and speeds up the encoding and
decoding process.

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-07 13:02:18 +01:00
Qi.Chen@windriver.com
445b13638e libvpx: fix host-user-comtaminated QA issue
Fix 'host-user-comtaminated' QA issue by using chown in do_install.
Also remove the useless do_compile function.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:44:42 +01:00
Andreas Müller
c08d766401 libvpx: avoid CVE-2015-1258
[1] https://security-tracker.debian.org/tracker/CVE-2015-1258
[2] http://pkgs.fedoraproject.org/cgit/libvpx.git/commit/?id=4257ff5f4ac22a3fe7b34f441e6425b2a8b690ae

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-10-23 12:57:17 +02:00
Kai Kang
f45881b382 libvpx: 1.3.0 -> 1.4.0
* update SRC_URI
* remove re-definition of S
* drop backport patch 0001-configure.sh-quote-local-variables.patch
* update context of libvpx-configure-support-blank-prefix.patch

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-08-31 19:30:54 +02:00
dv@pseudoterminal.org
87842d3f69 libvpx: upgrade to version 1.3.0
Removed libvpx.inc , since there was no need for it (there aren't multiple
.bb files for different versions that could share the .inc)

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-01 14:23:46 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Marcin Juszkiewicz
392e30c21a libvpx: do not hardcode -mfloat-api=softfp for ARM builds
| Configuring for target 'armv7-linux-gcc'
|   enabling armv7
|   enabling armv6
|   enabling armv5te
|   enabling fast_unaligned
| Unable to invoke compiler: arm-oe-linux-gnueabi-gcc  -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv7a -O2 -pipe -g -feliminate-unused-debug-types -fPIC -march=armv7-a -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -O3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wno-unused
|
| Configuration failed. This could reflect a misconfiguration of your
| toolchains, improper options selected, or another problem. If you
| don't see any useful error messages above, the next step is to look
| at the configure error log file (config.err) to determine what
| configure was trying to do when it died.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-09 21:34:15 +02:00
Martin Jansa
d792afdefc libav, libvpx, mplayer2: drop work around for gcc-4.6 ICE, no need to pass -fno-tree-vectorize now
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-01-12 10:41:09 +01:00
Martin Jansa
11fbc9fb4e libvpx: disable tree-vectorize
* It's causing ICE with latest gcc-4.6 from meta-oe, see:
  http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-November/036001.html

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-12-16 08:43:43 +01:00
Martin Jansa
5c24a66ea7 pixman,libav,libvpx,fftwf: bump PR after arm OVERRIDES changes in oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-12-16 08:43:43 +01:00
Koen Kooi
7ad1aec3ed libvpx 0.9.5: import from OE rev e02237d7e46e60fbd9eb4a05a308e6adcf916ebb
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-08-17 09:21:11 +02:00