added my Recipes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "Alliance for Open Media - AV1 Codec Library"
|
||||
DESCRIPTION = "Alliance for Open Media AV1 codec library"
|
||||
|
||||
LICENSE = "BSD-2-Clause & AOM-Patent-License-1.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \
|
||||
file://PATENTS;md5=e69ad12202bd20da3c76a5d3648cfa83 \
|
||||
"
|
||||
|
||||
SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https;branch=main \
|
||||
file://0001-subpel_variance_neon-Provide-prototypes-for-missing-.patch \
|
||||
"
|
||||
|
||||
SRCREV = "fd0c9275d36930a6eea6d3c35972e7cf9c512944"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake pkgconfig
|
||||
DEPENDS = " yasm-native"
|
||||
|
||||
EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 \
|
||||
-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl \
|
||||
"
|
||||
|
||||
CFLAGS:append:libc-musl = " -D_GNU_SOURCE"
|
||||
EXTRA_OECMAKE:append:arm = " ${@bb.utils.contains("TUNE_FEATURES","neon","-DENABLE_NEON=ON","-DENABLE_NEON=OFF",d)}"
|
||||
Reference in New Issue
Block a user