quiet -Warray-parameter warnings
w/gcc-11 this matches the definition of the function with the declaration Change-Id: I757b731b9560cb0b0ceec4ec258ec5af5a183b3d
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
@@ -22,8 +22,8 @@ static INLINE void calc_final_4(const __m256i *const sums /*[4]*/,
|
||||
}
|
||||
|
||||
void vpx_sad32x32x4d_avx2(const uint8_t *src_ptr, int src_stride,
|
||||
const uint8_t *const ref_array[4], int ref_stride,
|
||||
uint32_t sad_array[4]) {
|
||||
const uint8_t *const ref_array[/*4*/], int ref_stride,
|
||||
uint32_t *sad_array /*[4]*/) {
|
||||
int i;
|
||||
const uint8_t *refs[4];
|
||||
__m256i sums[4];
|
||||
@@ -127,8 +127,8 @@ void vpx_sad32x32x8_avx2(const uint8_t *src_ptr, int src_stride,
|
||||
}
|
||||
|
||||
void vpx_sad64x64x4d_avx2(const uint8_t *src_ptr, int src_stride,
|
||||
const uint8_t *const ref_array[4], int ref_stride,
|
||||
uint32_t sad_array[4]) {
|
||||
const uint8_t *const ref_array[/*4*/], int ref_stride,
|
||||
uint32_t *sad_array /*[4]*/) {
|
||||
__m256i sums[4];
|
||||
int i;
|
||||
const uint8_t *refs[4];
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
#include "vpx/vpx_integer.h"
|
||||
|
||||
void vpx_sad64x64x4d_avx512(const uint8_t *src_ptr, int src_stride,
|
||||
const uint8_t *const ref_array[4], int ref_stride,
|
||||
uint32_t res[4]) {
|
||||
const uint8_t *const ref_array[/*4*/],
|
||||
int ref_stride, uint32_t *res /*[4]*/) {
|
||||
__m512i src_reg, ref0_reg, ref1_reg, ref2_reg, ref3_reg;
|
||||
__m512i sum_ref0, sum_ref1, sum_ref2, sum_ref3;
|
||||
__m512i sum_mlow, sum_mhigh;
|
||||
|
||||
Reference in New Issue
Block a user