diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dct16x16_test.cc | 7 | ||||
-rw-r--r-- | test/dct32x32_test.cc | 2 | ||||
-rw-r--r-- | test/fdct8x8_test.cc | 7 |
3 files changed, 9 insertions, 7 deletions
diff --git a/test/dct16x16_test.cc b/test/dct16x16_test.cc index 11cbfd00e..3d61d40e0 100644 --- a/test/dct16x16_test.cc +++ b/test/dct16x16_test.cc @@ -21,7 +21,7 @@ extern "C" { #include "vp9/common/vp9_entropy.h" #include "./vp9_rtcd.h" -void vp9_idct16x16_256_add_c(int16_t *input, uint8_t *output, int pitch); +void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch); } #include "vpx/vpx_integer.h" @@ -258,9 +258,10 @@ void reference_16x16_dct_2d(int16_t input[256], double output[256]) { } typedef void (*fdct_t)(int16_t *in, int16_t *out, int stride); -typedef void (*idct_t)(int16_t *in, uint8_t *dst, int stride); +typedef void (*idct_t)(const int16_t *in, uint8_t *dst, int stride); typedef void (*fht_t) (int16_t *in, int16_t *out, int stride, int tx_type); -typedef void (*iht_t) (int16_t *in, uint8_t *dst, int stride, int tx_type); +typedef void (*iht_t) (const int16_t *in, uint8_t *dst, int stride, + int tx_type); void fdct16x16_ref(int16_t *in, int16_t *out, int stride, int tx_type) { vp9_short_fdct16x16_c(in, out, stride); diff --git a/test/dct32x32_test.cc b/test/dct32x32_test.cc index 0df466d59..f456abcd1 100644 --- a/test/dct32x32_test.cc +++ b/test/dct32x32_test.cc @@ -75,7 +75,7 @@ void reference_32x32_dct_2d(const int16_t input[kNumCoeffs], } typedef void (*fwd_txfm_t)(int16_t *in, int16_t *out, int stride); -typedef void (*inv_txfm_t)(int16_t *in, uint8_t *dst, int stride); +typedef void (*inv_txfm_t)(const int16_t *in, uint8_t *dst, int stride); class Trans32x32Test : public PARAMS(fwd_txfm_t, inv_txfm_t, int) { public: diff --git a/test/fdct8x8_test.cc b/test/fdct8x8_test.cc index 34066bfb8..728db6dc7 100644 --- a/test/fdct8x8_test.cc +++ b/test/fdct8x8_test.cc @@ -21,7 +21,7 @@ extern "C" { #include "vp9/common/vp9_entropy.h" #include "./vp9_rtcd.h" -void vp9_idct8x8_64_add_c(int16_t *input, uint8_t *output, int pitch); +void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *output, int pitch); } #include "vpx/vpx_integer.h" @@ -29,9 +29,10 @@ using libvpx_test::ACMRandom; namespace { typedef void (*fdct_t)(int16_t *in, int16_t *out, int stride); -typedef void (*idct_t)(int16_t *in, uint8_t *dst, int stride); +typedef void (*idct_t)(const int16_t *in, uint8_t *dst, int stride); typedef void (*fht_t) (int16_t *in, int16_t *out, int stride, int tx_type); -typedef void (*iht_t) (int16_t *in, uint8_t *dst, int stride, int tx_type); +typedef void (*iht_t) (const int16_t *in, uint8_t *dst, int stride, + int tx_type); void fdct8x8_ref(int16_t *in, int16_t *out, int stride, int tx_type) { vp9_short_fdct8x8_c(in, out, stride); |