From 02feb63684ecd1123f08d34438ffe13b087042e8 Mon Sep 17 00:00:00 2001 From: Dmitry Kovalev Date: Wed, 23 Oct 2013 10:57:12 -0700 Subject: [PATCH] Renaming vp9_short_fdct16x16 to vp9_fdct16x16. For consistency with idct function names. Change-Id: I5ca355ba99fdba04f09254be95cf79808b534f71 --- test/dct16x16_test.cc | 6 +++--- vp9/common/vp9_rtcd_defs.sh | 4 ++-- vp9/encoder/vp9_dct.c | 2 +- vp9/encoder/vp9_encodemb.c | 4 ++-- vp9/encoder/x86/vp9_dct_sse2.c | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/dct16x16_test.cc b/test/dct16x16_test.cc index b990bf8aa..451aa6038 100644 --- a/test/dct16x16_test.cc +++ b/test/dct16x16_test.cc @@ -264,7 +264,7 @@ 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); + vp9_fdct16x16_c(in, out, stride); } void fht16x16_ref(int16_t *in, int16_t *out, int stride, int tx_type) { @@ -496,7 +496,7 @@ using std::tr1::make_tuple; INSTANTIATE_TEST_CASE_P( C, Trans16x16DCT, ::testing::Values( - make_tuple(&vp9_short_fdct16x16_c, &vp9_idct16x16_256_add_c, 0))); + make_tuple(&vp9_fdct16x16_c, &vp9_idct16x16_256_add_c, 0))); INSTANTIATE_TEST_CASE_P( C, Trans16x16HT, ::testing::Values( @@ -509,7 +509,7 @@ INSTANTIATE_TEST_CASE_P( INSTANTIATE_TEST_CASE_P( SSE2, Trans16x16DCT, ::testing::Values( - make_tuple(&vp9_short_fdct16x16_sse2, + make_tuple(&vp9_fdct16x16_sse2, &vp9_idct16x16_256_add_sse2, 0))); INSTANTIATE_TEST_CASE_P( SSE2, Trans16x16HT, diff --git a/vp9/common/vp9_rtcd_defs.sh b/vp9/common/vp9_rtcd_defs.sh index df92b5882..9d9c48fbe 100644 --- a/vp9/common/vp9_rtcd_defs.sh +++ b/vp9/common/vp9_rtcd_defs.sh @@ -707,8 +707,8 @@ specialize vp9_short_fdct32x32 sse2 prototype void vp9_short_fdct32x32_rd "int16_t *InputData, int16_t *OutputData, int stride" specialize vp9_short_fdct32x32_rd sse2 -prototype void vp9_short_fdct16x16 "int16_t *InputData, int16_t *OutputData, int stride" -specialize vp9_short_fdct16x16 sse2 +prototype void vp9_fdct16x16 "int16_t *input, int16_t *output, int stride" +specialize vp9_fdct16x16 sse2 prototype void vp9_short_walsh4x4 "int16_t *InputData, int16_t *OutputData, int pitch" specialize vp9_short_walsh4x4 diff --git a/vp9/encoder/vp9_dct.c b/vp9/encoder/vp9_dct.c index 550cdee60..37f8414a5 100644 --- a/vp9/encoder/vp9_dct.c +++ b/vp9/encoder/vp9_dct.c @@ -300,7 +300,7 @@ void vp9_short_fdct8x8_c(int16_t *input, int16_t *final_output, int stride) { } } -void vp9_short_fdct16x16_c(int16_t *input, int16_t *output, int stride) { +void vp9_fdct16x16_c(int16_t *input, int16_t *output, int stride) { // The 2D transform is done with two passes which are actually pretty // similar. In the first one, we transform the columns and transpose // the results. In the second one, we transform the rows. To achieve that, diff --git a/vp9/encoder/vp9_encodemb.c b/vp9/encoder/vp9_encodemb.c index 3358fbbe9..0f5d3f4e3 100644 --- a/vp9/encoder/vp9_encodemb.c +++ b/vp9/encoder/vp9_encodemb.c @@ -379,7 +379,7 @@ void vp9_xform_quant(int plane, int block, BLOCK_SIZE plane_bsize, xoff = 16 * (block & twmask); yoff = 16 * (block >> twl); src_diff = p->src_diff + 4 * bw * yoff + xoff; - vp9_short_fdct16x16(src_diff, coeff, bw * 4); + vp9_fdct16x16(src_diff, coeff, bw * 4); vp9_quantize_b(coeff, 256, x->skip_block, p->zbin, p->round, p->quant, p->quant_shift, qcoeff, dqcoeff, pd->dequant, p->zbin_extra, eob, scan, iscan); @@ -559,7 +559,7 @@ void vp9_encode_block_intra(int plane, int block, BLOCK_SIZE plane_bsize, if (tx_type != DCT_DCT) vp9_short_fht16x16(src_diff, coeff, bw * 4, tx_type); else - vp9_short_fdct16x16(src_diff, coeff, bw * 4); + vp9_fdct16x16(src_diff, coeff, bw * 4); vp9_quantize_b(coeff, 256, x->skip_block, p->zbin, p->round, p->quant, p->quant_shift, qcoeff, dqcoeff, pd->dequant, p->zbin_extra, eob, scan, iscan); diff --git a/vp9/encoder/x86/vp9_dct_sse2.c b/vp9/encoder/x86/vp9_dct_sse2.c index fa60e80eb..f67558982 100644 --- a/vp9/encoder/x86/vp9_dct_sse2.c +++ b/vp9/encoder/x86/vp9_dct_sse2.c @@ -1054,7 +1054,7 @@ void vp9_short_fht8x8_sse2(int16_t *input, int16_t *output, write_buffer_8x8(output, in, 8); } -void vp9_short_fdct16x16_sse2(int16_t *input, int16_t *output, int stride) { +void vp9_fdct16x16_sse2(int16_t *input, int16_t *output, int stride) { // The 2D transform is done with two passes which are actually pretty // similar. In the first one, we transform the columns and transpose // the results. In the second one, we transform the rows. To achieve that,