/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_dct_sse2.c | 96 u[0] = _mm_srai_epi32(v[0], DCT_CONST_BITS); in fdct4_sse2() 97 u[1] = _mm_srai_epi32(v[1], DCT_CONST_BITS); in fdct4_sse2() 98 u[2] = _mm_srai_epi32(v[2], DCT_CONST_BITS); in fdct4_sse2() 99 u[3] = _mm_srai_epi32(v[3], DCT_CONST_BITS); in fdct4_sse2() 144 u[0] = _mm_srai_epi32(v[0], DCT_CONST_BITS); in fadst4_sse2() 145 u[1] = _mm_srai_epi32(v[1], DCT_CONST_BITS); in fadst4_sse2() 146 u[2] = _mm_srai_epi32(v[2], DCT_CONST_BITS); in fadst4_sse2() 147 u[3] = _mm_srai_epi32(v[3], DCT_CONST_BITS); in fadst4_sse2() 291 const __m128i w0 = _mm_srai_epi32(v0, DCT_CONST_BITS); in vp9_fdct8x8_quant_sse2() 292 const __m128i w1 = _mm_srai_epi32(v1, DCT_CONST_BITS); in vp9_fdct8x8_quant_sse2() [all …]
|
D | vp9_dct_ssse3.c | 135 const __m128i w0 = _mm_srai_epi32(v0, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() 136 const __m128i w1 = _mm_srai_epi32(v1, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() 137 const __m128i w2 = _mm_srai_epi32(v2, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() 138 const __m128i w3 = _mm_srai_epi32(v3, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() 140 const __m128i w4 = _mm_srai_epi32(v4, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() 141 const __m128i w5 = _mm_srai_epi32(v5, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() 142 const __m128i w6 = _mm_srai_epi32(v6, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() 143 const __m128i w7 = _mm_srai_epi32(v7, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() 186 const __m128i w0 = _mm_srai_epi32(v0, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() 187 const __m128i w1 = _mm_srai_epi32(v1, DCT_CONST_BITS); in vp9_fdct8x8_quant_ssse3() [all …]
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | fwd_dct32x32_impl_avx2.h | 372 const __m256i s2_20_6 = _mm256_srai_epi32(s2_20_4, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() 373 const __m256i s2_20_7 = _mm256_srai_epi32(s2_20_5, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() 374 const __m256i s2_21_6 = _mm256_srai_epi32(s2_21_4, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() 375 const __m256i s2_21_7 = _mm256_srai_epi32(s2_21_5, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() 376 const __m256i s2_22_6 = _mm256_srai_epi32(s2_22_4, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() 377 const __m256i s2_22_7 = _mm256_srai_epi32(s2_22_5, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() 378 const __m256i s2_23_6 = _mm256_srai_epi32(s2_23_4, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() 379 const __m256i s2_23_7 = _mm256_srai_epi32(s2_23_5, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() 380 const __m256i s2_24_6 = _mm256_srai_epi32(s2_24_4, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() 381 const __m256i s2_24_7 = _mm256_srai_epi32(s2_24_5, DCT_CONST_BITS); in FDCT32x32_2D_AVX2() [all …]
|
D | fwd_dct32x32_impl_sse2.h | 442 const __m128i s2_20_6 = _mm_srai_epi32(s2_20_4, DCT_CONST_BITS); in FDCT32x32_2D() 443 const __m128i s2_20_7 = _mm_srai_epi32(s2_20_5, DCT_CONST_BITS); in FDCT32x32_2D() 444 const __m128i s2_21_6 = _mm_srai_epi32(s2_21_4, DCT_CONST_BITS); in FDCT32x32_2D() 445 const __m128i s2_21_7 = _mm_srai_epi32(s2_21_5, DCT_CONST_BITS); in FDCT32x32_2D() 446 const __m128i s2_22_6 = _mm_srai_epi32(s2_22_4, DCT_CONST_BITS); in FDCT32x32_2D() 447 const __m128i s2_22_7 = _mm_srai_epi32(s2_22_5, DCT_CONST_BITS); in FDCT32x32_2D() 448 const __m128i s2_23_6 = _mm_srai_epi32(s2_23_4, DCT_CONST_BITS); in FDCT32x32_2D() 449 const __m128i s2_23_7 = _mm_srai_epi32(s2_23_5, DCT_CONST_BITS); in FDCT32x32_2D() 450 const __m128i s2_24_6 = _mm_srai_epi32(s2_24_4, DCT_CONST_BITS); in FDCT32x32_2D() 451 const __m128i s2_24_7 = _mm_srai_epi32(s2_24_5, DCT_CONST_BITS); in FDCT32x32_2D() [all …]
|
D | inv_txfm_sse2.c | 60 input0 = _mm_srai_epi32(input0, DCT_CONST_BITS); in vpx_idct4x4_16_add_sse2() 61 input1 = _mm_srai_epi32(input1, DCT_CONST_BITS); in vpx_idct4x4_16_add_sse2() 62 input2 = _mm_srai_epi32(input2, DCT_CONST_BITS); in vpx_idct4x4_16_add_sse2() 63 input3 = _mm_srai_epi32(input3, DCT_CONST_BITS); in vpx_idct4x4_16_add_sse2() 99 input0 = _mm_srai_epi32(input0, DCT_CONST_BITS); in vpx_idct4x4_16_add_sse2() 100 input1 = _mm_srai_epi32(input1, DCT_CONST_BITS); in vpx_idct4x4_16_add_sse2() 101 input2 = _mm_srai_epi32(input2, DCT_CONST_BITS); in vpx_idct4x4_16_add_sse2() 102 input3 = _mm_srai_epi32(input3, DCT_CONST_BITS); in vpx_idct4x4_16_add_sse2() 201 v[0] = _mm_srai_epi32(u[0], DCT_CONST_BITS); in idct4_sse2() 202 v[1] = _mm_srai_epi32(u[1], DCT_CONST_BITS); in idct4_sse2() [all …]
|
D | fwd_txfm_impl_sse2.h | 83 const int DCT_CONST_BITS2 = DCT_CONST_BITS + 2; in FDCT4x4_2D() 167 const __m128i w0 = _mm_srai_epi32(v0, DCT_CONST_BITS); in FDCT4x4_2D() 168 const __m128i w1 = _mm_srai_epi32(v1, DCT_CONST_BITS); in FDCT4x4_2D() 169 const __m128i w2 = _mm_srai_epi32(v2, DCT_CONST_BITS); in FDCT4x4_2D() 170 const __m128i w3 = _mm_srai_epi32(v3, DCT_CONST_BITS); in FDCT4x4_2D() 367 const __m128i w0 = _mm_srai_epi32(v0, DCT_CONST_BITS); in FDCT8x8_2D() 368 const __m128i w1 = _mm_srai_epi32(v1, DCT_CONST_BITS); in FDCT8x8_2D() 369 const __m128i w2 = _mm_srai_epi32(v2, DCT_CONST_BITS); in FDCT8x8_2D() 370 const __m128i w3 = _mm_srai_epi32(v3, DCT_CONST_BITS); in FDCT8x8_2D() 371 const __m128i w4 = _mm_srai_epi32(v4, DCT_CONST_BITS); in FDCT8x8_2D() [all …]
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
D | fwd_txfm_neon.c | 60 const int16x4_t a = vrshrn_n_s32(v_t0_lo, DCT_CONST_BITS); in vpx_fdct8x8_neon() 61 const int16x4_t b = vrshrn_n_s32(v_t0_hi, DCT_CONST_BITS); in vpx_fdct8x8_neon() 62 const int16x4_t c = vrshrn_n_s32(v_t1_lo, DCT_CONST_BITS); in vpx_fdct8x8_neon() 63 const int16x4_t d = vrshrn_n_s32(v_t1_hi, DCT_CONST_BITS); in vpx_fdct8x8_neon() 64 const int16x4_t e = vrshrn_n_s32(v_t2_lo, DCT_CONST_BITS); in vpx_fdct8x8_neon() 65 const int16x4_t f = vrshrn_n_s32(v_t2_hi, DCT_CONST_BITS); in vpx_fdct8x8_neon() 66 const int16x4_t g = vrshrn_n_s32(v_t3_lo, DCT_CONST_BITS); in vpx_fdct8x8_neon() 67 const int16x4_t h = vrshrn_n_s32(v_t3_hi, DCT_CONST_BITS); in vpx_fdct8x8_neon() 81 const int16x4_t a = vrshrn_n_s32(v_t0_lo, DCT_CONST_BITS); in vpx_fdct8x8_neon() 82 const int16x4_t b = vrshrn_n_s32(v_t0_hi, DCT_CONST_BITS); in vpx_fdct8x8_neon() [all …]
|
D | idct4x4_1_add_neon.asm | 34 add r0, r0, #0x2000 ; +(1 << ((DCT_CONST_BITS) - 1)) 35 asr r0, r0, #14 ; >> DCT_CONST_BITS 40 add r0, r0, #0x2000 ; +(1 << ((DCT_CONST_BITS) - 1)) 41 asr r0, r0, #14 ; >> DCT_CONST_BITS
|
D | idct8x8_1_add_neon.asm | 34 add r0, r0, #0x2000 ; +(1 << ((DCT_CONST_BITS) - 1)) 35 asr r0, r0, #14 ; >> DCT_CONST_BITS 40 add r0, r0, #0x2000 ; +(1 << ((DCT_CONST_BITS) - 1)) 41 asr r0, r0, #14 ; >> DCT_CONST_BITS
|
D | idct32x32_1_add_neon.asm | 86 add r0, r0, #0x2000 ; +(1 << ((DCT_CONST_BITS) - 1)) 87 asr r0, r0, #14 ; >> DCT_CONST_BITS 92 add r0, r0, #0x2000 ; +(1 << ((DCT_CONST_BITS) - 1)) 93 asr r0, r0, #14 ; >> DCT_CONST_BITS
|
D | idct16x16_1_add_neon.asm | 34 add r0, r0, #0x2000 ; +(1 << ((DCT_CONST_BITS) - 1)) 35 asr r0, r0, #14 ; >> DCT_CONST_BITS 40 add r0, r0, #0x2000 ; +(1 << ((DCT_CONST_BITS) - 1)) 41 asr r0, r0, #14 ; >> DCT_CONST_BITS
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | itrans8_dspr2.c | 620 x0 = ROUND_POWER_OF_TWO((s0 + s4), DCT_CONST_BITS); in iadst8_dspr2() 621 x1 = ROUND_POWER_OF_TWO((s1 + s5), DCT_CONST_BITS); in iadst8_dspr2() 622 x2 = ROUND_POWER_OF_TWO((s2 + s6), DCT_CONST_BITS); in iadst8_dspr2() 623 x3 = ROUND_POWER_OF_TWO((s3 + s7), DCT_CONST_BITS); in iadst8_dspr2() 624 x4 = ROUND_POWER_OF_TWO((s0 - s4), DCT_CONST_BITS); in iadst8_dspr2() 625 x5 = ROUND_POWER_OF_TWO((s1 - s5), DCT_CONST_BITS); in iadst8_dspr2() 626 x6 = ROUND_POWER_OF_TWO((s2 - s6), DCT_CONST_BITS); in iadst8_dspr2() 627 x7 = ROUND_POWER_OF_TWO((s3 - s7), DCT_CONST_BITS); in iadst8_dspr2() 643 x4 = ROUND_POWER_OF_TWO((s4 + s6), DCT_CONST_BITS); in iadst8_dspr2() 644 x5 = ROUND_POWER_OF_TWO((s5 + s7), DCT_CONST_BITS); in iadst8_dspr2() [all …]
|
D | txfm_macros_msa.h | 26 SRARI_W2_SW(s1_m, s0_m, DCT_CONST_BITS); \ 30 SRARI_W2_SW(s1_m, s0_m, DCT_CONST_BITS); \ 45 SRARI_W4_SW(tp1_m, tp9_m, tp7_m, tp5_m, DCT_CONST_BITS); \ 46 SRARI_W4_SW(tp3_m, tp0_m, tp4_m, tp2_m, DCT_CONST_BITS); \ 56 SRARI_W2_SW(tp1_m, tp0_m, DCT_CONST_BITS); \ 69 SRARI_W4_SW(madd0_m, madd1_m, madd2_m, madd3_m, DCT_CONST_BITS); \ 84 SRARI_W4_SW(m4_m, m5_m, tmp2_m, tmp3_m, DCT_CONST_BITS); \ 90 SRARI_W4_SW(m4_m, m5_m, tmp2_m, tmp3_m, DCT_CONST_BITS); \
|
D | idct8x8_msa.c | 59 SRARI_W4_SW(tmp0, tmp1, tmp2, tmp3, DCT_CONST_BITS); in vpx_idct8x8_12_add_msa() 71 SRARI_W4_SW(tmp0, tmp1, tmp2, tmp3, DCT_CONST_BITS); in vpx_idct8x8_12_add_msa() 81 SRARI_W2_SW(tmp0, tmp1, DCT_CONST_BITS); in vpx_idct8x8_12_add_msa() 108 out = ROUND_POWER_OF_TWO((input[0] * cospi_16_64), DCT_CONST_BITS); in vpx_idct8x8_1_add_msa() 109 out = ROUND_POWER_OF_TWO((out * cospi_16_64), DCT_CONST_BITS); in vpx_idct8x8_1_add_msa()
|
D | inv_txfm_msa.h | 126 SRARI_W4_SW(tmp0_m, tmp1_m, tmp2_m, tmp3_m, DCT_CONST_BITS); \ 180 SRARI_W4_SW(int0_m, int1_m, int2_m, int3_m, DCT_CONST_BITS); \ 204 SRARI_W4_SW(tmp0_m, tmp1_m, tmp2_m, tmp3_m, DCT_CONST_BITS); \ 208 SRARI_W4_SW(tmp0_m, tmp1_m, tmp2_m, tmp3_m, DCT_CONST_BITS); \ 233 SRARI_W4_SW(tmp0_m, tmp1_m, tmp2_m, tmp3_m, DCT_CONST_BITS); \ 270 SRARI_W4_SW(m0_m, m1_m, m2_m, m3_m, DCT_CONST_BITS); \ 274 SRARI_W4_SW(m0_m, m1_m, m2_m, m3_m, DCT_CONST_BITS); \ 288 SRARI_W4_SW(m0_m, m1_m, m2_m, m3_m, DCT_CONST_BITS); \ 292 SRARI_W4_SW(m0_m, m1_m, m2_m, m3_m, DCT_CONST_BITS); \ 306 SRARI_W4_SW(m0_m, m1_m, m2_m, m3_m, DCT_CONST_BITS); \ [all …]
|
D | fwd_txfm_msa.h | 54 SRARI_W4_SW(vec4_m, vec5_m, vec6_m, vec7_m, DCT_CONST_BITS); \ 353 tp0_m = __msa_srari_d(tp0_m, DCT_CONST_BITS); \ 354 tp1_m = __msa_srari_d(tp1_m, DCT_CONST_BITS); \ 355 tp2_m = __msa_srari_d(tp2_m, DCT_CONST_BITS); \ 356 tp3_m = __msa_srari_d(tp3_m, DCT_CONST_BITS); \ 362 tp0_m = __msa_srari_d(tp0_m, DCT_CONST_BITS); \ 363 tp1_m = __msa_srari_d(tp1_m, DCT_CONST_BITS); \ 364 tp2_m = __msa_srari_d(tp2_m, DCT_CONST_BITS); \ 365 tp3_m = __msa_srari_d(tp3_m, DCT_CONST_BITS); \
|
D | itrans32_cols_dspr2.c | 472 step3_29 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in vpx_idct32_cols_add_blk_dspr2() 491 step3_28 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in vpx_idct32_cols_add_blk_dspr2() 515 step3_27 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in vpx_idct32_cols_add_blk_dspr2() 534 step3_26 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in vpx_idct32_cols_add_blk_dspr2() 704 step1_27 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in vpx_idct32_cols_add_blk_dspr2() 719 step1_26 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in vpx_idct32_cols_add_blk_dspr2() 734 step1_25 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in vpx_idct32_cols_add_blk_dspr2() 749 step1_24 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in vpx_idct32_cols_add_blk_dspr2()
|
D | itrans32_dspr2.c | 540 step3_29 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in idct32_rows_dspr2() 559 step3_28 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in idct32_rows_dspr2() 583 step3_27 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in idct32_rows_dspr2() 602 step3_26 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in idct32_rows_dspr2() 779 step1_27 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in idct32_rows_dspr2() 795 step1_26 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in idct32_rows_dspr2() 811 step1_25 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in idct32_rows_dspr2() 827 step1_24 = (temp21 + DCT_CONST_ROUNDING) >> DCT_CONST_BITS; in idct32_rows_dspr2()
|
D | idct4x4_msa.c | 92 out = ROUND_POWER_OF_TWO((input[0] * cospi_16_64), DCT_CONST_BITS); in vpx_idct4x4_1_add_msa() 93 out = ROUND_POWER_OF_TWO((out * cospi_16_64), DCT_CONST_BITS); in vpx_idct4x4_1_add_msa()
|
D | idct16x16_msa.c | 270 out = ROUND_POWER_OF_TWO((input[0] * cospi_16_64), DCT_CONST_BITS); in vpx_idct16x16_1_add_msa() 271 out = ROUND_POWER_OF_TWO((out * cospi_16_64), DCT_CONST_BITS); in vpx_idct16x16_1_add_msa()
|
D | idct32x32_msa.c | 713 out = ROUND_POWER_OF_TWO((input[0] * cospi_16_64), DCT_CONST_BITS); in vpx_idct32x32_1_add_msa() 714 out = ROUND_POWER_OF_TWO((out * cospi_16_64), DCT_CONST_BITS); in vpx_idct32x32_1_add_msa()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | txfm_common.h | 17 #define DCT_CONST_BITS 14 macro 18 #define DCT_CONST_ROUNDING (1 << (DCT_CONST_BITS - 1))
|
D | inv_txfm.h | 39 tran_high_t rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS); in dct_const_round_shift() 64 tran_high_t rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS); in highbd_dct_const_round_shift()
|
D | fwd_txfm.h | 17 tran_high_t rv = ROUND_POWER_OF_TWO(input, DCT_CONST_BITS); in fdct_round_shift()
|
/external/libvpx/libvpx/vp9/encoder/mips/msa/ |
D | vp9_fdct_msa.h | 113 SRARI_W4_SW(in0_r_m, in1_r_m, s2_m, s3_m, DCT_CONST_BITS); \
|