Clean vp9_highbd_iht4x4_16_add_neon()
Extract common code. Change-Id: I422150ada1c6915f0ce39b912149994eb3bb3f12
This commit is contained in:
parent
82e9c30334
commit
d8497e1fcd
@ -132,13 +132,11 @@ void vp9_highbd_iht4x4_16_add_neon(const tran_low_t *input, uint16_t *dest,
|
|||||||
case DCT_ADST: {
|
case DCT_ADST: {
|
||||||
const int32x4_t cospis = vld1q_s32(kCospi32);
|
const int32x4_t cospis = vld1q_s32(kCospi32);
|
||||||
|
|
||||||
if (bd == 10) {
|
|
||||||
transpose_s32_4x4(&c[0], &c[1], &c[2], &c[3]);
|
transpose_s32_4x4(&c[0], &c[1], &c[2], &c[3]);
|
||||||
highbd_iadst4(c);
|
highbd_iadst4(c);
|
||||||
|
if (bd == 10) {
|
||||||
idct4x4_16_kernel_bd10(cospis, c);
|
idct4x4_16_kernel_bd10(cospis, c);
|
||||||
} else {
|
} else {
|
||||||
transpose_s32_4x4(&c[0], &c[1], &c[2], &c[3]);
|
|
||||||
highbd_iadst4(c);
|
|
||||||
idct4x4_16_kernel_bd12(cospis, c);
|
idct4x4_16_kernel_bd12(cospis, c);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user