summaryrefslogtreecommitdiff
path: root/vpx_dsp
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2021-12-20 19:56:01 -0800
committerJames Zern <jzern@google.com>2021-12-21 11:45:56 -0800
commit94972ca7ea2a93806d0f902dd222ec164e81997d (patch)
tree067f63573a3bb4e81886d5c9ff5a55b1a3114dba /vpx_dsp
parente478500ff2660377e3c95532115fd7e68741229e (diff)
downloadlibvpx-94972ca7ea2a93806d0f902dd222ec164e81997d.tar
libvpx-94972ca7ea2a93806d0f902dd222ec164e81997d.tar.gz
libvpx-94972ca7ea2a93806d0f902dd222ec164e81997d.tar.bz2
libvpx-94972ca7ea2a93806d0f902dd222ec164e81997d.zip
vpx_int_pro_row: normalize declaration w/aom
this is a followup to: 7fbcee49d quiet -Warray-parameter warnings and conforms to aom in: 06e13e817 quiet -Warray-parameter warnings the sad functions are more varied in libvpx and will require a separate pass Change-Id: I765fd6704df615e836ba0b184ff8266ce926c394
Diffstat (limited to 'vpx_dsp')
-rw-r--r--vpx_dsp/avg.c2
-rw-r--r--vpx_dsp/vpx_dsp_rtcd_defs.pl2
-rw-r--r--vpx_dsp/x86/avg_intrin_sse2.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/vpx_dsp/avg.c b/vpx_dsp/avg.c
index c87ab20ff..1c45e8a73 100644
--- a/vpx_dsp/avg.c
+++ b/vpx_dsp/avg.c
@@ -340,7 +340,7 @@ int vpx_satd_c(const tran_low_t *coeff, int length) {
// Integer projection onto row vectors.
// height: value range {16, 32, 64}.
-void vpx_int_pro_row_c(int16_t *hbuf /*[16]*/, const uint8_t *ref,
+void vpx_int_pro_row_c(int16_t hbuf[16], const uint8_t *ref,
const int ref_stride, const int height) {
int idx;
const int norm_factor = height >> 1;
diff --git a/vpx_dsp/vpx_dsp_rtcd_defs.pl b/vpx_dsp/vpx_dsp_rtcd_defs.pl
index fd7eefdad..0144b90c2 100644
--- a/vpx_dsp/vpx_dsp_rtcd_defs.pl
+++ b/vpx_dsp/vpx_dsp_rtcd_defs.pl
@@ -824,7 +824,7 @@ if (vpx_config("CONFIG_VP9_ENCODER") eq "yes") {
specialize qw/vpx_satd avx2 sse2 neon msa/;
}
- add_proto qw/void vpx_int_pro_row/, "int16_t *hbuf, const uint8_t *ref, const int ref_stride, const int height";
+ add_proto qw/void vpx_int_pro_row/, "int16_t hbuf[16], const uint8_t *ref, const int ref_stride, const int height";
specialize qw/vpx_int_pro_row sse2 neon msa/;
add_proto qw/int16_t vpx_int_pro_col/, "const uint8_t *ref, const int width";
diff --git a/vpx_dsp/x86/avg_intrin_sse2.c b/vpx_dsp/x86/avg_intrin_sse2.c
index 3cba258f6..9da2f34c9 100644
--- a/vpx_dsp/x86/avg_intrin_sse2.c
+++ b/vpx_dsp/x86/avg_intrin_sse2.c
@@ -464,7 +464,7 @@ int vpx_satd_sse2(const tran_low_t *coeff, int length) {
return _mm_cvtsi128_si32(accum);
}
-void vpx_int_pro_row_sse2(int16_t *hbuf, const uint8_t *ref,
+void vpx_int_pro_row_sse2(int16_t hbuf[16], const uint8_t *ref,
const int ref_stride, const int height) {
int idx;
__m128i zero = _mm_setzero_si128();