summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2022-03-30 15:41:58 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2022-04-04 16:57:41 -0500
commit729790a581dcfdcabefd42d2ef0cf63f521f6a88 (patch)
treecd0bd33d8eb66d6b9c8be28c3777e860e211348f /recipes-multimedia
parent5e56a3a1914ec9a8ad3668426e492eabae0285a5 (diff)
downloadmeta-freescale-729790a581dcfdcabefd42d2ef0cf63f521f6a88.tar.gz
gstreamer1.0-libav: Remove unused patch files
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-multimedia')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch33
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch35
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch36
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch32
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch26
5 files changed, 0 insertions, 162 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch b/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
deleted file mode 100644
index 1d99ad12..00000000
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 6 Apr 2013 01:22:22 +0200
4Subject: [PATCH] Disable yasm for libav when --disable-yasm
5
6Upstream-Status: Inappropriate [configuration]
7
8Signed-off-by: Shane Wang <shane.wang@intel.com>
9Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
10---
11 configure.ac | 4 ++++
12 1 file changed, 4 insertions(+)
13
14diff --git a/configure.ac b/configure.ac
15index 22ede88..ef3c050 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -305,6 +305,12 @@ else
19 emblibav_configure_args="$emblibav_configure_args --enable-gpl"
20 fi
21
22+ AC_ARG_ENABLE(yasm,
23+ [AC_HELP_STRING([--disable-yasm], [disable use of yasm assembler])])
24+ if test "x$enable_yasm" = "xno"; then
25+ emblibav_configure_args="$emblibav_configure_args --disable-yasm"
26+ fi
27+
28 # if we are cross-compiling, tell libav so
29 case $host in
30 *android*)
31--
321.8.2
33
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch b/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
deleted file mode 100644
index b80d0739..00000000
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-configure-check-for-armv7ve-variant.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From aac5902d3c9cb35c771e760d0e487622aa2e116a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 20 Apr 2017 10:38:18 -0700
4Subject: [PATCH] configure: check for armv7ve variant
5
6OE passes -mcpu and -march via cmdline and if
7package tries to detect one of it own then it
8should be compatible otherwise, newer gcc7+ will
9error out
10
11Check for relevant preprocessor macro to determine
12armv7ve architecture
13
14Upstream-Status: Pending
15
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 gst-libs/ext/libav/configure | 1 +
19 1 file changed, 1 insertion(+)
20
21diff --git a/gst-libs/ext/libav/configure b/gst-libs/ext/libav/configure
22index 4a5e477..727818e 100755
23--- a/gst-libs/ext/libav/configure
24+++ b/gst-libs/ext/libav/configure
25@@ -4295,6 +4295,7 @@ elif enabled arm; then
26 elif check_arm_arch 6Z; then echo armv6z
27 elif check_arm_arch 6ZK; then echo armv6zk
28 elif check_arm_arch 6T2; then echo armv6t2
29+ elif check_arm_arch EXT_IDIV; then echo armv7ve
30 elif check_arm_arch 7; then echo armv7
31 elif check_arm_arch 7A 7_A; then echo armv7-a
32 elif check_arm_arch 7S; then echo armv7-a
33--
342.12.2
35
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch b/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
deleted file mode 100644
index 120c0798..00000000
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav/0001-fix-host-contamination.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From c1700f867f876ee33c130a8e28b688e2b1d89663 Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com>
3Date: Wed, 11 Apr 2018 17:14:55 +0800
4Subject: [PATCH] Prevent host contamination
5
6Remove reference to host $(libdir) from .la files.
7
8Upstream-Status: Inappropriate [cross-compile specific]
9
10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
11---
12 gst-libs/ext/Makefile.am | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/gst-libs/ext/Makefile.am b/gst-libs/ext/Makefile.am
16index 6cdc048..a19d255 100644
17--- a/gst-libs/ext/Makefile.am
18+++ b/gst-libs/ext/Makefile.am
19@@ -49,7 +49,7 @@ echo " GEN $1.la" && \
20 echo "library_names=''" && \
21 echo "old_library='$1.a'" && \
22 echo "inherited_linker_flags=''" && \
23- echo "dependency_libs=' -L$(libdir) $(if $2,$(foreach dep,$2,$(abs_builddir)/$(dep).la)) $(call find_library_la,$3 $(LIBM),$(LDFLAGS)) '" && \
24+ echo "dependency_libs=' -L $(if $2,$(foreach dep,$2,$(abs_builddir)/$(dep).la)) $(call find_library_la,$3 $(LIBM),$(LDFLAGS)) '" && \
25 echo "weak_library_names=''" && \
26 echo "current=" && \
27 echo "age=" && \
28@@ -58,7 +58,7 @@ echo " GEN $1.la" && \
29 echo "shouldnotlink=no" && \
30 echo "dlopen=''" && \
31 echo "dlpreopen=''" && \
32- echo "libdir='$(libdir)'") > $1.la
33+ echo "libdir=''") > $1.la
34 endef
35
36 libavutil.la:
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch b/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
deleted file mode 100644
index 7a0b4488..00000000
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav/mips64_cpu_detection.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1It will add -mips64r6 and -mips64r2 to cmdline which will
2cause conflicts
3
4in OE we user mips32r2 and mips64r2 for mips arch versions
5so there is no benefit of detecting it automatically by
6poking at tools especially in cross env
7
8Fixes errors like
9
10linking -mnan=2008 module with previous -mnan=legacy modules
11failed to merge target specific data of file
12
13-Khem
14Upstream-Status: Inappropriate [OE-Specific]
15
16Index: gst-libav-1.10.1/gst-libs/ext/libav/configure
17===================================================================
18--- gst-libav-1.10.1.orig/gst-libs/ext/libav/configure
19+++ gst-libav-1.10.1/gst-libs/ext/libav/configure
20@@ -5269,12 +5269,9 @@ elif enabled mips; then
21
22 # Enable minimum ISA based on selected options
23 if enabled mips64; then
24- enabled mips64r6 && check_inline_asm_flags mips64r6 '"dlsa $0, $0, $0, 1"' '-mips64r6'
25 enabled mips64r2 && check_inline_asm_flags mips64r2 '"dext $0, $0, 0, 1"' '-mips64r2'
26 disabled mips64r6 && disabled mips64r2 && check_inline_asm_flags mips64r1 '"daddi $0, $0, 0"' '-mips64'
27 else
28- enabled mips32r6 && check_inline_asm_flags mips32r6 '"aui $0, $0, 0"' '-mips32r6'
29- enabled mips32r5 && check_inline_asm_flags mips32r5 '"eretnc"' '-mips32r5'
30 enabled mips32r2 && check_inline_asm_flags mips32r2 '"ext $0, $0, 0, 1"' '-mips32r2'
31 disabled mips32r6 && disabled mips32r5 && disabled mips32r2 && check_inline_asm_flags mips32r1 '"addi $0, $0, 0"' '-mips32'
32 fi
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch b/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
deleted file mode 100644
index 36abf860..00000000
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav/workaround-to-build-gst-libav-for-i586-with-gcc.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1Description: Workaround to build libav for i586 with gcc 4.9.2 by avoiding memset
2Author: Bernhard Übelacker <bernhardu@vr-web.de>
3
4---
5Bug-Debian: https://bugs.debian.org/783082
6Last-Update: 2015-04-28
7
8Upstream-Status: Backport [debian]
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11
12--- gst-libav-1.4.5.orig/gst-libs/ext/libav/libavcodec/h264_cabac.c
13+++ gst-libav-1.4.5/gst-libs/ext/libav/libavcodec/h264_cabac.c
14@@ -2020,7 +2020,11 @@ decode_intra_mb:
15 // In deblocking, the quantizer is 0
16 h->cur_pic.qscale_table[mb_xy] = 0;
17 // All coeffs are present
18- memset(h->non_zero_count[mb_xy], 16, 48);
19+ /*memset(h->non_zero_count[mb_xy], 16, 48);*/
20+ /* avoiding this memset because it leads at least with gcc4.9.2 to error: 'asm' operand has impossible constraints */
21+ for (size_t i = 0; i < 48; i++) {
22+ ( (unsigned char*)(h->non_zero_count[mb_xy]) ) [i] = 16;
23+ }
24 h->cur_pic.mb_type[mb_xy] = mb_type;
25 sl->last_qscale_diff = 0;
26 return 0;