mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
aom: Provide missing function prototypes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
28d9c472f3
commit
15f5ed3853
|
|
@ -0,0 +1,48 @@
|
|||
From c33e07f78982acfb0574a84fb523f8591e55c50e Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sun, 11 Sep 2022 19:46:28 -0700
|
||||
Subject: [PATCH] subpel_variance_neon: Provide prototypes for missing
|
||||
functions
|
||||
|
||||
Fixes build with clang-15
|
||||
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
|
||||
larations [-Wimplicit-function-declaration]
|
||||
| return aom_variance8x8_neon(temp2, 8, dst, dst_stride, sse);
|
||||
| ^
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
aom_dsp/arm/subpel_variance_neon.c | 16 ++++++++++++++++
|
||||
1 file changed, 16 insertions(+)
|
||||
|
||||
diff --git a/aom_dsp/arm/subpel_variance_neon.c b/aom_dsp/arm/subpel_variance_neon.c
|
||||
index 4ecf891cbeb..859168ea0c5 100644
|
||||
--- a/aom_dsp/arm/subpel_variance_neon.c
|
||||
+++ b/aom_dsp/arm/subpel_variance_neon.c
|
||||
@@ -20,6 +20,22 @@
|
||||
#include "aom_dsp/aom_filter.h"
|
||||
#include "aom_dsp/variance.h"
|
||||
|
||||
+extern unsigned int aom_variance8x8_neon(const uint8_t *a, int a_stride,
|
||||
+ const uint8_t *b, int b_stride,
|
||||
+ unsigned int *sse);
|
||||
+
|
||||
+extern unsigned int aom_variance16x16_neon(const uint8_t *a, int a_stride,
|
||||
+ const uint8_t *b, int b_stride,
|
||||
+ unsigned int *sse);
|
||||
+
|
||||
+extern unsigned int aom_variance32x32_neon(const uint8_t *a, int a_stride,
|
||||
+ const uint8_t *b, int b_stride,
|
||||
+ unsigned int *sse);
|
||||
+
|
||||
+extern unsigned int aom_variance64x64_neon(const uint8_t *a, int a_stride,
|
||||
+ const uint8_t *b, int b_stride,
|
||||
+ unsigned int *sse);
|
||||
+
|
||||
// Load 2 sets of 4 bytes when alignment is not guaranteed.
|
||||
static INLINE uint8x8_t load_unaligned_u8(const uint8_t *buf, int stride) {
|
||||
uint32_t a;
|
||||
--
|
||||
2.37.3
|
||||
|
||||
|
|
@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \
|
|||
file://PATENTS;md5=e69ad12202bd20da3c76a5d3648cfa83 \
|
||||
"
|
||||
|
||||
SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main"
|
||||
SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main \
|
||||
file://0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch \
|
||||
"
|
||||
|
||||
SRCREV = "fd0c9275d36930a6eea6d3c35972e7cf9c512944"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user