ref: 9ecc0e779a29281e5698451bfd1b3ebe8f053bfd
parent: 6e318fa569577525008be3263aa7032133c1b152
parent: 9ca2ec2277e55be333be59f9e6928d944fc2e2d5
author: Johann Koenig <johannkoenig@google.com>
date: Wed Jan 16 00:06:59 EST 2019
Merge "mips highbd: resolve missing declarations"
--- a/vp9/encoder/mips/msa/vp9_error_msa.c
+++ b/vp9/encoder/mips/msa/vp9_error_msa.c
@@ -8,6 +8,7 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include "./vpx_config.h"
#include "./vp9_rtcd.h"
#include "vpx_dsp/mips/macros_msa.h"
@@ -79,6 +80,7 @@
return err; \
}
+#if !CONFIG_VP9_HIGHBITDEPTH
BLOCK_ERROR_BLOCKSIZE_MSA(16);
BLOCK_ERROR_BLOCKSIZE_MSA(64);
BLOCK_ERROR_BLOCKSIZE_MSA(256);
@@ -103,3 +105,4 @@
return err;
}
+#endif // !CONFIG_VP9_HIGHBITDEPTH
--- a/vpx_dsp/mips/avg_msa.c
+++ b/vpx_dsp/mips/avg_msa.c
@@ -9,6 +9,7 @@
*/
#include <stdlib.h>
+#include "./vpx_config.h"
#include "./vpx_dsp_rtcd.h"
#include "vpx_dsp/mips/macros_msa.h"
@@ -56,6 +57,7 @@
return sum_out;
}
+#if !CONFIG_VP9_HIGHBITDEPTH
void vpx_hadamard_8x8_msa(const int16_t *src, ptrdiff_t src_stride,
int16_t *dst) {
v8i16 src0, src1, src2, src3, src4, src5, src6, src7;
@@ -391,6 +393,7 @@
return satd;
}
+#endif // !CONFIG_VP9_HIGHBITDEPTH
void vpx_int_pro_row_msa(int16_t hbuf[16], const uint8_t *ref,
const int ref_stride, const int height) {