diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-09-11 20:03:15 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-09-11 20:42:05 -0700 |
| commit | 15f5ed38536b6aa7ff239cb7132b3c8b61ebe2ac (patch) | |
| tree | c1b800e41238b9e6478d3317cdd727766db78407 | |
| parent | 28d9c472f397f70d8e3a8a9f2b20567411459a62 (diff) | |
| download | meta-openembedded-15f5ed38536b6aa7ff239cb7132b3c8b61ebe2ac.tar.gz | |
aom: Provide missing function prototypes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-multimedia/recipes-multimedia/aom/aom/0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch | 48 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/aom/aom_3.4.0.bb | 4 |
2 files changed, 51 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/aom/aom/0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch b/meta-multimedia/recipes-multimedia/aom/aom/0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch new file mode 100644 index 0000000000..100507cdec --- /dev/null +++ b/meta-multimedia/recipes-multimedia/aom/aom/0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | From c33e07f78982acfb0574a84fb523f8591e55c50e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sun, 11 Sep 2022 19:46:28 -0700 | ||
| 4 | Subject: [PATCH] subpel_variance_neon: Provide prototypes for missing | ||
| 5 | functions | ||
| 6 | |||
| 7 | Fixes build with clang-15 | ||
| 8 | aom_dsp/arm/subpel_variance_neon.c:121:10: error: call to undeclared function 'aom_variance8x8_neon'; ISO C99 and later do not support implicit function dec | ||
| 9 | larations [-Wimplicit-function-declaration] | ||
| 10 | | return aom_variance8x8_neon(temp2, 8, dst, dst_stride, sse); | ||
| 11 | | ^ | ||
| 12 | |||
| 13 | Upstream-Status: Pending | ||
| 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 15 | --- | ||
| 16 | aom_dsp/arm/subpel_variance_neon.c | 16 ++++++++++++++++ | ||
| 17 | 1 file changed, 16 insertions(+) | ||
| 18 | |||
| 19 | diff --git a/aom_dsp/arm/subpel_variance_neon.c b/aom_dsp/arm/subpel_variance_neon.c | ||
| 20 | index 4ecf891cbeb..859168ea0c5 100644 | ||
| 21 | --- a/aom_dsp/arm/subpel_variance_neon.c | ||
| 22 | +++ b/aom_dsp/arm/subpel_variance_neon.c | ||
| 23 | @@ -20,6 +20,22 @@ | ||
| 24 | #include "aom_dsp/aom_filter.h" | ||
| 25 | #include "aom_dsp/variance.h" | ||
| 26 | |||
| 27 | +extern unsigned int aom_variance8x8_neon(const uint8_t *a, int a_stride, | ||
| 28 | + const uint8_t *b, int b_stride, | ||
| 29 | + unsigned int *sse); | ||
| 30 | + | ||
| 31 | +extern unsigned int aom_variance16x16_neon(const uint8_t *a, int a_stride, | ||
| 32 | + const uint8_t *b, int b_stride, | ||
| 33 | + unsigned int *sse); | ||
| 34 | + | ||
| 35 | +extern unsigned int aom_variance32x32_neon(const uint8_t *a, int a_stride, | ||
| 36 | + const uint8_t *b, int b_stride, | ||
| 37 | + unsigned int *sse); | ||
| 38 | + | ||
| 39 | +extern unsigned int aom_variance64x64_neon(const uint8_t *a, int a_stride, | ||
| 40 | + const uint8_t *b, int b_stride, | ||
| 41 | + unsigned int *sse); | ||
| 42 | + | ||
| 43 | // Load 2 sets of 4 bytes when alignment is not guaranteed. | ||
| 44 | static INLINE uint8x8_t load_unaligned_u8(const uint8_t *buf, int stride) { | ||
| 45 | uint32_t a; | ||
| 46 | -- | ||
| 47 | 2.37.3 | ||
| 48 | |||
diff --git a/meta-multimedia/recipes-multimedia/aom/aom_3.4.0.bb b/meta-multimedia/recipes-multimedia/aom/aom_3.4.0.bb index 36db45e265..9cd6f7a9e9 100644 --- a/meta-multimedia/recipes-multimedia/aom/aom_3.4.0.bb +++ b/meta-multimedia/recipes-multimedia/aom/aom_3.4.0.bb | |||
| @@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \ | |||
| 6 | file://PATENTS;md5=e69ad12202bd20da3c76a5d3648cfa83 \ | 6 | file://PATENTS;md5=e69ad12202bd20da3c76a5d3648cfa83 \ |
| 7 | " | 7 | " |
| 8 | 8 | ||
| 9 | SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main" | 9 | SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main \ |
| 10 | file://0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch \ | ||
| 11 | " | ||
| 10 | 12 | ||
| 11 | SRCREV = "fd0c9275d36930a6eea6d3c35972e7cf9c512944" | 13 | SRCREV = "fd0c9275d36930a6eea6d3c35972e7cf9c512944" |
| 12 | 14 | ||
