diff --git a/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm b/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm index a744f59dbdf6cafdabfbf5d4857d6e3be55347b5..c02251a3dab49f9582bb9380d5946cfeedbfa588 100644 --- a/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm +++ b/vp9/common/arm/neon/vp9_short_idct8x8_add_neon.asm @@ -9,7 +9,7 @@ ; EXPORT |vp9_short_idct8x8_add_neon| - EXPORT |vp9_short_idct10_8x8_add_neon| + EXPORT |vp9_short_idct8x8_10_add_neon| ARM REQUIRE8 PRESERVE8 @@ -310,13 +310,13 @@ bx lr ENDP ; |vp9_short_idct8x8_add_neon| -;void vp9_short_idct10_8x8_add_neon(int16_t *input, uint8_t *dest, int dest_stride) +;void vp9_short_idct8x8_10_add_neon(int16_t *input, uint8_t *dest, int dest_stride) ; ; r0 int16_t input ; r1 uint8_t *dest ; r2 int dest_stride) -|vp9_short_idct10_8x8_add_neon| PROC +|vp9_short_idct8x8_10_add_neon| PROC push {r4-r9} vpush {d8-d15} vld1.s16 {q8,q9}, [r0]! @@ -514,6 +514,6 @@ vpop {d8-d15} pop {r4-r9} bx lr - ENDP ; |vp9_short_idct10_8x8_add_neon| + ENDP ; |vp9_short_idct8x8_10_add_neon| END diff --git a/vp9/common/vp9_idct.c b/vp9/common/vp9_idct.c index 9975d3678afdedd91fbfbfba04cfdd7eef0deeb8..bc30d2a9507a0f210a46806d87853491e60a9a2a 100644 --- a/vp9/common/vp9_idct.c +++ b/vp9/common/vp9_idct.c @@ -420,7 +420,7 @@ void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, + dest[j * dest_stride + i]); } } -void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, +void vp9_short_idct8x8_10_add_c(int16_t *input, uint8_t *dest, int dest_stride) { int16_t out[8 * 8] = { 0 }; int16_t *outptr = out; diff --git a/vp9/common/vp9_rtcd_defs.sh b/vp9/common/vp9_rtcd_defs.sh index c4d7134f4df9d9713bceade40b7cf09666583e01..42923b3c890dd994652e7e1890c71a2759a75070 100644 --- a/vp9/common/vp9_rtcd_defs.sh +++ b/vp9/common/vp9_rtcd_defs.sh @@ -306,8 +306,8 @@ specialize vp9_short_idct8x8_1_add sse2 neon prototype void vp9_short_idct8x8_add "int16_t *input, uint8_t *dest, int dest_stride" specialize vp9_short_idct8x8_add sse2 neon -prototype void vp9_short_idct10_8x8_add "int16_t *input, uint8_t *dest, int dest_stride" -specialize vp9_short_idct10_8x8_add sse2 neon +prototype void vp9_short_idct8x8_10_add "int16_t *input, uint8_t *dest, int dest_stride" +specialize vp9_short_idct8x8_10_add sse2 neon prototype void vp9_short_idct16x16_1_add "int16_t *input, uint8_t *dest, int dest_stride" specialize vp9_short_idct16x16_1_add sse2 neon diff --git a/vp9/common/x86/vp9_idct_intrin_sse2.c b/vp9/common/x86/vp9_idct_intrin_sse2.c index f97a6f5bf2bf00874dd99a2160c0c3ee22a7c37a..d44c7e2a0e766342ae21a689939c6ff96cb67e9a 100644 --- a/vp9/common/x86/vp9_idct_intrin_sse2.c +++ b/vp9/common/x86/vp9_idct_intrin_sse2.c @@ -985,7 +985,7 @@ void vp9_short_iht8x8_add_sse2(int16_t *input, uint8_t *dest, int stride, RECON_AND_STORE(dest, in[7]); } -void vp9_short_idct10_8x8_add_sse2(int16_t *input, uint8_t *dest, int stride) { +void vp9_short_idct8x8_10_add_sse2(int16_t *input, uint8_t *dest, int stride) { const __m128i zero = _mm_setzero_si128(); const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); const __m128i final_rounding = _mm_set1_epi16(1<<4); diff --git a/vp9/decoder/vp9_idct_blk.c b/vp9/decoder/vp9_idct_blk.c index 00d2751bd22865d0d3cbe8fb92284e77c6d30aa8..76d8ac4297567c0d2c7447ff2e36ad9371f99fd5 100644 --- a/vp9/decoder/vp9_idct_blk.c +++ b/vp9/decoder/vp9_idct_blk.c @@ -96,7 +96,7 @@ void vp9_idct_add_8x8_c(int16_t *input, uint8_t *dest, int stride, int eob) { vp9_short_idct8x8_1_add(input, dest, stride); input[0] = 0; } else if (eob <= 10) { - vp9_short_idct10_8x8_add(input, dest, stride); + vp9_short_idct8x8_10_add(input, dest, stride); vpx_memset(input, 0, 128); } else { vp9_short_idct8x8_add(input, dest, stride); diff --git a/vp9/encoder/vp9_encodemb.c b/vp9/encoder/vp9_encodemb.c index 058bde66f73116774b6ce55a87b8ae55fcd01454..d33c2821296fe2c9e5fd5e7696e531469e6efa8e 100644 --- a/vp9/encoder/vp9_encodemb.c +++ b/vp9/encoder/vp9_encodemb.c @@ -53,7 +53,7 @@ static void inverse_transform_b_8x8_add(int eob, if (eob <= 1) vp9_short_idct8x8_1_add(dqcoeff, dest, stride); else if (eob <= 10) - vp9_short_idct10_8x8_add(dqcoeff, dest, stride); + vp9_short_idct8x8_10_add(dqcoeff, dest, stride); else vp9_short_idct8x8_add(dqcoeff, dest, stride); }