/external/libaom/libaom/av1/encoder/ |
D | av1_fwd_txfm1d.c | 16 void av1_fdct4_new(const int32_t *input, int32_t *output, int8_t cos_bit, in av1_fdct4_new() argument 39 cospi = cospi_arr(cos_bit); in av1_fdct4_new() 42 bf1[0] = half_btf(cospi[32], bf0[0], cospi[32], bf0[1], cos_bit); in av1_fdct4_new() 43 bf1[1] = half_btf(-cospi[32], bf0[1], cospi[32], bf0[0], cos_bit); in av1_fdct4_new() 44 bf1[2] = half_btf(cospi[48], bf0[2], cospi[16], bf0[3], cos_bit); in av1_fdct4_new() 45 bf1[3] = half_btf(cospi[48], bf0[3], -cospi[16], bf0[2], cos_bit); in av1_fdct4_new() 59 void av1_fdct8_new(const int32_t *input, int32_t *output, int8_t cos_bit, in av1_fdct8_new() argument 86 cospi = cospi_arr(cos_bit); in av1_fdct8_new() 94 bf1[5] = half_btf(-cospi[32], bf0[5], cospi[32], bf0[6], cos_bit); in av1_fdct8_new() 95 bf1[6] = half_btf(cospi[32], bf0[6], cospi[32], bf0[5], cos_bit); in av1_fdct8_new() [all …]
|
D | av1_fwd_txfm1d.h | 21 void av1_fdct4_new(const int32_t *input, int32_t *output, int8_t cos_bit, 23 void av1_fdct8_new(const int32_t *input, int32_t *output, int8_t cos_bit, 25 void av1_fdct16_new(const int32_t *input, int32_t *output, int8_t cos_bit, 27 void av1_fdct32_new(const int32_t *input, int32_t *output, int8_t cos_bit, 29 void av1_fdct64_new(const int32_t *input, int32_t *output, int8_t cos_bit, 31 void av1_fadst4_new(const int32_t *input, int32_t *output, int8_t cos_bit, 33 void av1_fadst8_new(const int32_t *input, int32_t *output, int8_t cos_bit, 35 void av1_fadst16_new(const int32_t *input, int32_t *output, int8_t cos_bit, 37 void av1_fidentity4_c(const int32_t *input, int32_t *output, int8_t cos_bit, 39 void av1_fidentity8_c(const int32_t *input, int32_t *output, int8_t cos_bit, [all …]
|
/external/libaom/libaom/av1/common/ |
D | av1_inv_txfm1d.c | 19 void av1_idct4_new(const int32_t *input, int32_t *output, int8_t cos_bit, in av1_idct4_new() argument 23 const int32_t *cospi = cospi_arr(cos_bit); in av1_idct4_new() 44 bf1[0] = half_btf(cospi[32], bf0[0], cospi[32], bf0[1], cos_bit); in av1_idct4_new() 45 bf1[1] = half_btf(cospi[32], bf0[0], -cospi[32], bf0[1], cos_bit); in av1_idct4_new() 46 bf1[2] = half_btf(cospi[48], bf0[2], -cospi[16], bf0[3], cos_bit); in av1_idct4_new() 47 bf1[3] = half_btf(cospi[16], bf0[2], cospi[48], bf0[3], cos_bit); in av1_idct4_new() 60 void av1_idct8_new(const int32_t *input, int32_t *output, int8_t cos_bit, in av1_idct8_new() argument 64 const int32_t *cospi = cospi_arr(cos_bit); in av1_idct8_new() 93 bf1[4] = half_btf(cospi[56], bf0[4], -cospi[8], bf0[7], cos_bit); in av1_idct8_new() 94 bf1[5] = half_btf(cospi[24], bf0[5], -cospi[40], bf0[6], cos_bit); in av1_idct8_new() [all …]
|
D | av1_inv_txfm1d.h | 32 void av1_idct4_new(const int32_t *input, int32_t *output, int8_t cos_bit, 34 void av1_idct8_new(const int32_t *input, int32_t *output, int8_t cos_bit, 36 void av1_idct16_new(const int32_t *input, int32_t *output, int8_t cos_bit, 38 void av1_idct32_new(const int32_t *input, int32_t *output, int8_t cos_bit, 40 void av1_idct64_new(const int32_t *input, int32_t *output, int8_t cos_bit, 42 void av1_iadst4_new(const int32_t *input, int32_t *output, int8_t cos_bit, 44 void av1_iadst8_new(const int32_t *input, int32_t *output, int8_t cos_bit, 46 void av1_iadst16_new(const int32_t *input, int32_t *output, int8_t cos_bit, 48 void av1_iidentity4_c(const int32_t *input, int32_t *output, int8_t cos_bit, 50 void av1_iidentity8_c(const int32_t *input, int32_t *output, int8_t cos_bit, [all …]
|
D | av1_txfm.h | 109 typedef void (*TxfmFunc)(const int32_t *input, int32_t *output, int8_t cos_bit,
|
/external/libaom/libaom/av1/encoder/x86/ |
D | av1_fwd_txfm2d_avx2.c | 24 int8_t cos_bit) { in fdct16x16_new_avx2() argument 25 const int32_t *cospi = cospi_arr(cos_bit); in fdct16x16_new_avx2() 26 const __m256i _r = _mm256_set1_epi32(1 << (cos_bit - 1)); in fdct16x16_new_avx2() 63 btf_16_w16_avx2(cospi_m32_p32, cospi_p32_p32, &x1[10], &x1[13], _r, cos_bit); in fdct16x16_new_avx2() 64 btf_16_w16_avx2(cospi_m32_p32, cospi_p32_p32, &x1[11], &x1[12], _r, cos_bit); in fdct16x16_new_avx2() 69 btf_16_w16_avx2(cospi_m32_p32, cospi_p32_p32, &x1[5], &x1[6], _r, cos_bit); in fdct16x16_new_avx2() 76 btf_16_w16_avx2(cospi_p32_p32, cospi_p32_m32, &x1[0], &x1[1], _r, cos_bit); in fdct16x16_new_avx2() 77 btf_16_w16_avx2(cospi_p48_p16, cospi_m16_p48, &x1[2], &x1[3], _r, cos_bit); in fdct16x16_new_avx2() 80 btf_16_w16_avx2(cospi_m16_p48, cospi_p48_p16, &x1[9], &x1[14], _r, cos_bit); in fdct16x16_new_avx2() 81 btf_16_w16_avx2(cospi_m48_m16, cospi_m16_p48, &x1[10], &x1[13], _r, cos_bit); in fdct16x16_new_avx2() [all …]
|
D | av1_fwd_txfm1d_sse4.c | 14 void av1_fdct32_new_sse4_1(__m128i *input, __m128i *output, int cos_bit, in av1_fdct32_new_sse4_1() argument 88 cospi = cospi_arr(cos_bit); in av1_fdct32_new_sse4_1() 110 buf0[27], cos_bit); in av1_fdct32_new_sse4_1() 112 buf0[26], cos_bit); in av1_fdct32_new_sse4_1() 114 buf0[25], cos_bit); in av1_fdct32_new_sse4_1() 116 buf0[24], cos_bit); in av1_fdct32_new_sse4_1() 123 cospi = cospi_arr(cos_bit); in av1_fdct32_new_sse4_1() 135 buf1[13], cos_bit); in av1_fdct32_new_sse4_1() 137 buf1[12], cos_bit); in av1_fdct32_new_sse4_1() 158 cospi = cospi_arr(cos_bit); in av1_fdct32_new_sse4_1() [all …]
|
D | av1_txfm1d_sse4.h | 24 const int8_t cos_bit, const int8_t *stage_range); 26 const int8_t cos_bit, const int8_t *stage_range); 28 const int8_t cos_bit, const int8_t *stage_range); 29 void av1_fdct32_new_sse4_1(__m128i *input, __m128i *output, int cos_bit, 31 void av1_fdct64_new_sse4_1(__m128i *input, __m128i *output, int8_t cos_bit, 34 const int8_t cos_bit, const int8_t *stage_range); 36 const int8_t cos_bit, const int8_t *stage_range); 38 const int8_t cos_bit, const int8_t *stage_range); 41 const int8_t cos_bit, const int8_t *stage_range); 43 const int8_t cos_bit, const int8_t *stage_range); [all …]
|
D | av1_fwd_txfm_sse2.h | 27 void fdct8x32_new_sse2(const __m128i *input, __m128i *output, int8_t cos_bit); 28 void fdct8x64_new_sse2(const __m128i *input, __m128i *output, int8_t cos_bit); 32 const int8_t cos_bit) { in fidentity4x4_new_sse2() argument 33 (void)cos_bit; in fidentity4x4_new_sse2() 45 const int8_t cos_bit) { in fidentity8x4_new_sse2() argument 46 (void)cos_bit; in fidentity8x4_new_sse2() 59 int8_t cos_bit) { in fidentity8x8_new_sse2() argument 60 (void)cos_bit; in fidentity8x8_new_sse2() 73 int8_t cos_bit) { in fidentity8x16_new_sse2() argument 74 (void)cos_bit; in fidentity8x16_new_sse2() [all …]
|
D | av1_fwd_txfm_avx2.h | 20 const __m256i _r, const int32_t cos_bit) { in btf_32_avx2_type0() argument 29 *in0 = _mm256_srai_epi32(temp0, cos_bit); in btf_32_avx2_type0() 34 *in1 = _mm256_srai_epi32(temp1, cos_bit); in btf_32_avx2_type0() 39 const __m256i _r, const int32_t cos_bit) { in btf_32_avx2_type1() argument 48 *in0 = _mm256_srai_epi32(temp0, cos_bit); in btf_32_avx2_type1() 53 *in1 = _mm256_srai_epi32(temp1, cos_bit); in btf_32_avx2_type1() 61 const int32_t cos_bit) { in btf_32_avx2_type0_new() argument 68 *in0 = _mm256_srai_epi32(temp0, cos_bit); in btf_32_avx2_type0_new() 73 *in1 = _mm256_srai_epi32(temp1, cos_bit); in btf_32_avx2_type0_new() 81 const int32_t cos_bit) { in btf_32_avx2_type1_new() argument [all …]
|
D | highbd_fwd_txfm_avx2.c | 254 const int8_t cos_bit, int instride, 1606 const int8_t cos_bit, const int instride, in av1_fdct32_avx2() argument 1679 cospi = cospi_arr(cos_bit); in av1_fdct32_avx2() 1701 buf0[27], cos_bit); in av1_fdct32_avx2() 1703 buf0[26], cos_bit); in av1_fdct32_avx2() 1705 buf0[25], cos_bit); in av1_fdct32_avx2() 1707 buf0[24], cos_bit); in av1_fdct32_avx2() 1714 cospi = cospi_arr(cos_bit); in av1_fdct32_avx2() 1726 buf1[13], cos_bit); in av1_fdct32_avx2() 1728 buf1[12], cos_bit); in av1_fdct32_avx2() [all …]
|
D | av1_fwd_txfm_sse2.c | 19 int8_t cos_bit) { in fdct4x4_new_sse2() argument 20 const int32_t *cospi = cospi_arr(cos_bit); in fdct4x4_new_sse2() 25 const __m128i __rounding = _mm_set1_epi32(1 << (cos_bit - 1)); in fdct4x4_new_sse2() 43 u[0] = _mm_srai_epi32(v[0], cos_bit); in fdct4x4_new_sse2() 44 u[1] = _mm_srai_epi32(v[1], cos_bit); in fdct4x4_new_sse2() 45 u[2] = _mm_srai_epi32(v[2], cos_bit); in fdct4x4_new_sse2() 46 u[3] = _mm_srai_epi32(v[3], cos_bit); in fdct4x4_new_sse2() 55 int8_t cos_bit) { in fdct8x4_new_sse2() argument 56 const int32_t *cospi = cospi_arr(cos_bit); in fdct8x4_new_sse2() 57 const __m128i __rounding = _mm_set1_epi32(1 << (cos_bit - 1)); in fdct8x4_new_sse2() [all …]
|
D | av1_fwd_txfm2d_sse4.c | 33 const int8_t cos_bit, const int8_t *stage_range); 36 const int8_t cos_bit, const int8_t *stage_range) { in fdct32_new_sse4_1() argument 43 av1_fdct32_new_sse4_1((input + col), (output + col), cos_bit, col_num); in fdct32_new_sse4_1() 48 const int8_t cos_bit, const int8_t *stage_range) { in fdct64_new_sse4_1() argument 54 av1_fdct64_new_sse4_1((input + col), (output + col), cos_bit, col_num, in fdct64_new_sse4_1() 59 const int8_t cos_bit, const int8_t *stage_range) { in idtx32x32_sse4_1() argument 63 av1_idtx32_new_sse4_1(&input[i * 32], &output[i * 32], cos_bit, 1); in idtx32x32_sse4_1()
|
/external/libaom/libaom/av1/common/x86/ |
D | av1_inv_txfm_avx2.c | 28 const __m256i _r, int8_t cos_bit) { in idct16_stage5_avx2() argument 33 btf_16_w16_avx2(cospi_m32_p32, cospi_p32_p32, &x1[5], &x1[6], _r, cos_bit); in idct16_stage5_avx2() 42 const __m256i _r, int8_t cos_bit) { in idct16_stage6_avx2() argument 49 btf_16_w16_avx2(cospi_m32_p32, cospi_p32_p32, &x[10], &x[13], _r, cos_bit); in idct16_stage6_avx2() 50 btf_16_w16_avx2(cospi_m32_p32, cospi_p32_p32, &x[11], &x[12], _r, cos_bit); in idct16_stage6_avx2() 65 int8_t cos_bit) { in idct16_new_avx2() argument 66 (void)(cos_bit); in idct16_new_avx2() 110 btf_16_w16_avx2(cospi_p60_m04, cospi_p04_p60, &x1[8], &x1[15], _r, cos_bit); in idct16_new_avx2() 111 btf_16_w16_avx2(cospi_p28_m36, cospi_p36_p28, &x1[9], &x1[14], _r, cos_bit); in idct16_new_avx2() 112 btf_16_w16_avx2(cospi_p44_m20, cospi_p20_p44, &x1[10], &x1[13], _r, cos_bit); in idct16_new_avx2() [all …]
|
D | av1_inv_txfm_ssse3.c | 28 int8_t cos_bit) { in idct4_new_sse2() argument 29 (void)cos_bit; in idct4_new_sse2() 54 void idct4_w4_new_sse2(const __m128i *input, __m128i *output, int8_t cos_bit) { in idct4_w4_new_sse2() argument 55 (void)cos_bit; in idct4_w4_new_sse2() 81 int8_t cos_bit) { in idct8_low1_new_ssse3() argument 82 (void)cos_bit; in idct8_low1_new_ssse3() 105 void idct8_new_sse2(const __m128i *input, __m128i *output, int8_t cos_bit) { in idct8_new_sse2() argument 106 (void)cos_bit; in idct8_new_sse2() 153 void idct8_w4_new_sse2(const __m128i *input, __m128i *output, int8_t cos_bit) { in idct8_w4_new_sse2() argument 154 (void)cos_bit; in idct8_w4_new_sse2() [all …]
|
D | av1_txfm_sse2.h | 30 const int8_t cos_bit, const __m128i *const in0, const __m128i *const in1, in btf_16_w4_sse2() argument 37 const __m128i c0 = _mm_srai_epi32(a0, cos_bit); in btf_16_w4_sse2() 38 const __m128i d0 = _mm_srai_epi32(b0, cos_bit); in btf_16_w4_sse2() 53 __m128i c0 = _mm_srai_epi32(a0, cos_bit); \ 54 __m128i d0 = _mm_srai_epi32(b0, cos_bit); \ 74 __m128i c0 = _mm_srai_epi32(a0, cos_bit); \ 75 __m128i c1 = _mm_srai_epi32(a1, cos_bit); \ 76 __m128i d0 = _mm_srai_epi32(b0, cos_bit); \ 77 __m128i d1 = _mm_srai_epi32(b1, cos_bit); \ 308 int8_t cos_bit);
|
D | av1_inv_txfm_ssse3.h | 223 int8_t cos_bit);
|
/external/libaom/libaom/test/ |
D | av1_inv_txfm1d_test.cc | 43 const int8_t cos_bit = 13; variable 94 inv_txfm_func(input, output, cos_bit, range_bit); in TEST() 143 fwd_txfm_func(input, output, cos_bit, range_bit); in TEST() 144 inv_txfm_func(output, round_trip_output, cos_bit, range_bit); in TEST()
|
D | av1_fwd_txfm1d_test.cc | 41 const int8_t cos_bit = 14; variable 86 fwd_txfm_func(input, output, cos_bit, range_bit); in TEST()
|
D | av1_txfm_test.h | 76 typedef void (*TxfmFunc)(const int32_t *in, int32_t *out, const int8_t cos_bit, 132 const int8_t cos_bit, int low_range,
|
D | av1_txfm_test.cc | 361 int8_t cos_bit, int low_range, int high_range) { in txfm_stage_range_check() argument 364 ASSERT_LE(stage_range[i] + cos_bit, high_range) << "stage = " << i; in txfm_stage_range_check() 368 ASSERT_LE(stage_range[i + 1] + cos_bit, high_range) << "stage = " << i; in txfm_stage_range_check()
|
/external/libaom/libaom/av1/common/arm/ |
D | av1_inv_txfm_neon.h | 24 const int8_t cos_bit, 27 int8_t cos_bit, int bit);
|
D | av1_inv_txfm_neon.c | 263 int8_t cos_bit, int bit) { in iadst8_new_neon() argument 265 const int32_t *cospi = cospi_arr(cos_bit); in iadst8_new_neon() 340 int8_t cos_bit, int bit) { in iadst8_low1_new_neon() argument 342 const int32_t *cospi = cospi_arr(cos_bit); in iadst8_low1_new_neon() 393 static INLINE void idct8_new_neon(int16x8_t *in, int16x8_t *out, int8_t cos_bit, in idct8_new_neon() argument 396 const int32_t *cospi = cospi_arr(cos_bit); in idct8_new_neon() 436 int8_t cos_bit, int bit) { in idct8_low1_new_neon() argument 438 const int32_t *cospi = cospi_arr(cos_bit); in idct8_low1_new_neon() 493 int8_t cos_bit, int bit) { in identity8_new_neon() argument 495 (void)cos_bit; in identity8_new_neon() [all …]
|
/external/libaom/libaom/aom_dsp/x86/ |
D | txfm_common_avx2.h | 30 const int32_t cos_bit) { in btf_16_w16_avx2() argument 43 __m256i c0 = _mm256_srai_epi32(a0, cos_bit); in btf_16_w16_avx2() 44 __m256i c1 = _mm256_srai_epi32(a1, cos_bit); in btf_16_w16_avx2() 45 __m256i d0 = _mm256_srai_epi32(b0, cos_bit); in btf_16_w16_avx2() 46 __m256i d1 = _mm256_srai_epi32(b1, cos_bit); in btf_16_w16_avx2()
|