Merge "Renaming vp9_short_idct10_8x8_add to vp9_short_idct8x8_10_add."
This commit is contained in:
commit
b3d3578ee4
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user