summaryrefslogtreecommitdiff
path: root/test/fdct4x4_test.cc
diff options
context:
space:
mode:
authorLinfeng Zhang <linfengz@google.com>2017-05-03 13:32:08 -0700
committerLinfeng Zhang <linfengz@google.com>2017-05-03 13:59:16 -0700
commitd5de63d2be0e8547358343c6e123eeb43f3433d9 (patch)
tree055ca91d61c1de401d67f0748a2ce434755521ec /test/fdct4x4_test.cc
parent081b39f2b765f83406ac41a9ad8c8d6830e1707a (diff)
downloadlibvpx-d5de63d2be0e8547358343c6e123eeb43f3433d9.tar
libvpx-d5de63d2be0e8547358343c6e123eeb43f3433d9.tar.gz
libvpx-d5de63d2be0e8547358343c6e123eeb43f3433d9.tar.bz2
libvpx-d5de63d2be0e8547358343c6e123eeb43f3433d9.zip
Update highbd idct functions arguments to use uint16_t dst
BUG=webm:1388 Change-Id: I3581d80d0389b99166e70987d38aba2db6c469d5
Diffstat (limited to 'test/fdct4x4_test.cc')
-rw-r--r--test/fdct4x4_test.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/fdct4x4_test.cc b/test/fdct4x4_test.cc
index 4836a0453..bd2327520 100644
--- a/test/fdct4x4_test.cc
+++ b/test/fdct4x4_test.cc
@@ -55,36 +55,36 @@ void fwht4x4_ref(const int16_t *in, tran_low_t *out, int stride,
#if CONFIG_VP9_HIGHBITDEPTH
void idct4x4_10(const tran_low_t *in, uint8_t *out, int stride) {
- vpx_highbd_idct4x4_16_add_c(in, out, stride, 10);
+ vpx_highbd_idct4x4_16_add_c(in, CAST_TO_SHORTPTR(out), stride, 10);
}
void idct4x4_12(const tran_low_t *in, uint8_t *out, int stride) {
- vpx_highbd_idct4x4_16_add_c(in, out, stride, 12);
+ vpx_highbd_idct4x4_16_add_c(in, CAST_TO_SHORTPTR(out), stride, 12);
}
void iht4x4_10(const tran_low_t *in, uint8_t *out, int stride, int tx_type) {
- vp9_highbd_iht4x4_16_add_c(in, out, stride, tx_type, 10);
+ vp9_highbd_iht4x4_16_add_c(in, CAST_TO_SHORTPTR(out), stride, tx_type, 10);
}
void iht4x4_12(const tran_low_t *in, uint8_t *out, int stride, int tx_type) {
- vp9_highbd_iht4x4_16_add_c(in, out, stride, tx_type, 12);
+ vp9_highbd_iht4x4_16_add_c(in, CAST_TO_SHORTPTR(out), stride, tx_type, 12);
}
void iwht4x4_10(const tran_low_t *in, uint8_t *out, int stride) {
- vpx_highbd_iwht4x4_16_add_c(in, out, stride, 10);
+ vpx_highbd_iwht4x4_16_add_c(in, CAST_TO_SHORTPTR(out), stride, 10);
}
void iwht4x4_12(const tran_low_t *in, uint8_t *out, int stride) {
- vpx_highbd_iwht4x4_16_add_c(in, out, stride, 12);
+ vpx_highbd_iwht4x4_16_add_c(in, CAST_TO_SHORTPTR(out), stride, 12);
}
#if HAVE_SSE2
void idct4x4_10_sse2(const tran_low_t *in, uint8_t *out, int stride) {
- vpx_highbd_idct4x4_16_add_sse2(in, out, stride, 10);
+ vpx_highbd_idct4x4_16_add_sse2(in, CAST_TO_SHORTPTR(out), stride, 10);
}
void idct4x4_12_sse2(const tran_low_t *in, uint8_t *out, int stride) {
- vpx_highbd_idct4x4_16_add_sse2(in, out, stride, 12);
+ vpx_highbd_idct4x4_16_add_sse2(in, CAST_TO_SHORTPTR(out), stride, 12);
}
#endif // HAVE_SSE2
#endif // CONFIG_VP9_HIGHBITDEPTH