/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_quantize_sse2.c | 20 void vp9_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vp9_quantize_fp_sse2() argument 36 coeff_ptr += n_coeffs; in vp9_quantize_fp_sse2() 37 iscan += n_coeffs; in vp9_quantize_fp_sse2() 38 qcoeff_ptr += n_coeffs; in vp9_quantize_fp_sse2() 39 dqcoeff_ptr += n_coeffs; in vp9_quantize_fp_sse2() 40 n_coeffs = -n_coeffs; in vp9_quantize_fp_sse2() 58 coeff0 = load_tran_low(coeff_ptr + n_coeffs); in vp9_quantize_fp_sse2() 59 coeff1 = load_tran_low(coeff_ptr + n_coeffs + 8); in vp9_quantize_fp_sse2() 82 store_tran_low(qcoeff0, qcoeff_ptr + n_coeffs); in vp9_quantize_fp_sse2() 83 store_tran_low(qcoeff1, qcoeff_ptr + n_coeffs + 8); in vp9_quantize_fp_sse2() [all …]
|
D | vp9_quantize_avx2.c | 49 void vp9_quantize_fp_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vp9_quantize_fp_avx2() argument 63 coeff_ptr += n_coeffs; in vp9_quantize_fp_avx2() 64 iscan += n_coeffs; in vp9_quantize_fp_avx2() 65 qcoeff_ptr += n_coeffs; in vp9_quantize_fp_avx2() 66 dqcoeff_ptr += n_coeffs; in vp9_quantize_fp_avx2() 67 n_coeffs = -n_coeffs; in vp9_quantize_fp_avx2() 90 coeff256 = load_tran_low(coeff_ptr + n_coeffs); in vp9_quantize_fp_avx2() 95 store_tran_low(qcoeff256, qcoeff_ptr + n_coeffs); in vp9_quantize_fp_avx2() 97 store_tran_low(coeff256, dqcoeff_ptr + n_coeffs); in vp9_quantize_fp_avx2() 100 eob256 = scan_eob_256((const __m256i *)(iscan + n_coeffs), &coeff256); in vp9_quantize_fp_avx2() [all …]
|
/external/libvpx/libvpx/vpx_dsp/ |
D | quantize.c | 18 void vpx_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs, int skip_block, in vpx_quantize_dc() argument 28 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in vpx_quantize_dc() 29 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in vpx_quantize_dc() 42 void vpx_highbd_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs, in vpx_highbd_quantize_dc() argument 49 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in vpx_highbd_quantize_dc() 50 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in vpx_highbd_quantize_dc() 70 const int n_coeffs = 1024; in vpx_quantize_dc_32x32() local 77 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in vpx_quantize_dc_32x32() 78 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in vpx_quantize_dc_32x32() 97 const int n_coeffs = 1024; in vpx_highbd_quantize_dc_32x32() local [all …]
|
D | quantize.h | 21 void vpx_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs, int skip_block, 31 void vpx_highbd_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs,
|
/external/libaom/libaom/aom_dsp/ |
D | quantize.c | 17 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, in aom_quantize_b_adaptive_helper_c() argument 26 int i, non_zero_count = (int)n_coeffs, eob = -1; in aom_quantize_b_adaptive_helper_c() 29 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in aom_quantize_b_adaptive_helper_c() 30 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in aom_quantize_b_adaptive_helper_c() 37 for (i = (int)n_coeffs - 1; i >= 0; i--) { in aom_quantize_b_adaptive_helper_c() 107 void aom_quantize_b_helper_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in aom_quantize_b_helper_c() argument 119 int i, non_zero_count = (int)n_coeffs, eob = -1; in aom_quantize_b_helper_c() 122 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in aom_quantize_b_helper_c() 123 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in aom_quantize_b_helper_c() 126 for (i = (int)n_coeffs - 1; i >= 0; i--) { in aom_quantize_b_helper_c() [all …]
|
D | quantize.h | 24 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, 31 void aom_quantize_b_adaptive_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, 41 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, 48 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, 56 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, 64 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, 71 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, 78 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, 85 void aom_quantize_b_helper_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, 95 void aom_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, [all …]
|
/external/libaom/libaom/av1/encoder/x86/ |
D | av1_quantize_sse2.c | 72 const tran_low_t *coeff_ptr, intptr_t n_coeffs, in quantize() argument 81 read_coeff(coeff_ptr, n_coeffs, &coeff0, &coeff1); in quantize() 108 write_qcoeff(&qcoeff0, &qcoeff1, qcoeff_ptr, n_coeffs); in quantize() 113 write_qcoeff(&coeff0, &coeff1, dqcoeff_ptr, n_coeffs); in quantize() 122 _mm_load_si128((const __m128i *)(iscan_ptr + n_coeffs)); in quantize() 124 _mm_load_si128((const __m128i *)(iscan_ptr + n_coeffs) + 1); in quantize() 133 write_zero(qcoeff_ptr, n_coeffs); in quantize() 134 write_zero(dqcoeff_ptr, n_coeffs); in quantize() 138 void av1_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in av1_quantize_fp_sse2() argument 149 coeff_ptr += n_coeffs; in av1_quantize_fp_sse2() [all …]
|
D | av1_quantize_avx2.c | 162 void av1_quantize_lp_avx2(const int16_t *coeff_ptr, intptr_t n_coeffs, in av1_quantize_lp_avx2() argument 171 coeff_ptr += n_coeffs; in av1_quantize_lp_avx2() 172 scan += n_coeffs; in av1_quantize_lp_avx2() 173 qcoeff_ptr += n_coeffs; in av1_quantize_lp_avx2() 174 dqcoeff_ptr += n_coeffs; in av1_quantize_lp_avx2() 175 n_coeffs = -n_coeffs; in av1_quantize_lp_avx2() 198 coeff256 = _mm256_loadu_si256((const __m256i *)(coeff_ptr + n_coeffs)); in av1_quantize_lp_avx2() 203 _mm256_storeu_si256((__m256i *)(qcoeff_ptr + n_coeffs), qcoeff256); in av1_quantize_lp_avx2() 205 _mm256_storeu_si256((__m256i *)(dqcoeff_ptr + n_coeffs), coeff256); in av1_quantize_lp_avx2() 208 eob256 = scan_eob_256((const __m256i *)(scan + n_coeffs), &coeff256); in av1_quantize_lp_avx2() [all …]
|
D | av1_highbd_quantize_avx2.c | 91 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, in av1_highbd_quantize_fp_avx2() argument 112 n_coeffs -= step; in av1_highbd_quantize_fp_avx2() 115 while (n_coeffs > 0) { in av1_highbd_quantize_fp_avx2() 123 n_coeffs -= step; in av1_highbd_quantize_fp_avx2()
|
/external/libaom/libaom/av1/encoder/ |
D | av1_quantize.c | 29 void av1_quantize_skip(intptr_t n_coeffs, tran_low_t *qcoeff_ptr, in av1_quantize_skip() argument 31 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in av1_quantize_skip() 32 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in av1_quantize_skip() 37 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, in quantize_fp_helper_c() argument 52 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in quantize_fp_helper_c() 53 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in quantize_fp_helper_c() 56 for (i = 0; i < n_coeffs; i++) { in quantize_fp_helper_c() 79 for (i = 0; i < n_coeffs; i++) { in quantize_fp_helper_c() 184 void av1_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in av1_quantize_fp_c() argument 190 quantize_fp_helper_c(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, in av1_quantize_fp_c() [all …]
|
D | av1_quantize.h | 38 typedef void (*AV1_QUANT_FACADE)(const tran_low_t *coeff_ptr, intptr_t n_coeffs, 118 void av1_quantize_skip(intptr_t n_coeffs, tran_low_t *qcoeff_ptr, 121 void av1_quantize_fp_facade(const tran_low_t *coeff_ptr, intptr_t n_coeffs, 126 void av1_quantize_b_facade(const tran_low_t *coeff_ptr, intptr_t n_coeffs, 131 void av1_quantize_dc_facade(const tran_low_t *coeff_ptr, intptr_t n_coeffs, 138 intptr_t n_coeffs, const MACROBLOCK_PLANE *p, 145 intptr_t n_coeffs, const MACROBLOCK_PLANE *p, 152 intptr_t n_coeffs, const MACROBLOCK_PLANE *p,
|
/external/libaom/libaom/test/ |
D | quantize_func_test.cc | 33 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, \ 43 fn(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, quant_shift_ptr, \ 47 fn(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, quant_shift_ptr, \ 91 const int n_coeffs = coeff_num(); in SetUp() local 93 aom_memalign(32, 6 * n_coeffs * sizeof(tran_low_t))); in SetUp() 111 const intptr_t n_coeffs = coeff_num(); in QuantizeRun() local 113 tran_low_t *qcoeff_ref = coeff_ptr + n_coeffs; in QuantizeRun() 114 tran_low_t *dqcoeff_ref = qcoeff_ref + n_coeffs; in QuantizeRun() 116 tran_low_t *qcoeff = dqcoeff_ref + n_coeffs; in QuantizeRun() 117 tran_low_t *dqcoeff = qcoeff + n_coeffs; in QuantizeRun() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_quantize.c | 24 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vp9_quantize_fp_c() argument 35 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in vp9_quantize_fp_c() 36 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in vp9_quantize_fp_c() 40 for (i = 0; i < n_coeffs; i++) { in vp9_quantize_fp_c() 58 void vp9_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vp9_highbd_quantize_fp_c() argument 71 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in vp9_highbd_quantize_fp_c() 72 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in vp9_highbd_quantize_fp_c() 76 for (i = 0; i < n_coeffs; i++) { in vp9_highbd_quantize_fp_c() 93 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vp9_quantize_fp_32x32_c() argument 104 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in vp9_quantize_fp_32x32_c() [all …]
|
/external/libaom/libaom/aom_dsp/x86/ |
D | highbd_quantize_intrin_sse2.c | 93 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, in aom_highbd_quantize_b_32x32_sse2() argument 114 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in aom_highbd_quantize_b_32x32_sse2() 115 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in aom_highbd_quantize_b_32x32_sse2() 118 for (i = 0; i < n_coeffs / 4; i++) { in aom_highbd_quantize_b_32x32_sse2() 151 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, in aom_highbd_quantize_b_64x64_sse2() argument 172 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in aom_highbd_quantize_b_64x64_sse2() 173 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in aom_highbd_quantize_b_64x64_sse2() 176 for (i = 0; i < n_coeffs / 4; i++) { in aom_highbd_quantize_b_64x64_sse2()
|
D | highbd_quantize_intrin_avx2.c | 112 void aom_highbd_quantize_b_avx2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in aom_highbd_quantize_b_avx2() argument 134 n_coeffs -= step; in aom_highbd_quantize_b_avx2() 138 while (n_coeffs > 0) { in aom_highbd_quantize_b_avx2() 146 n_coeffs -= step; in aom_highbd_quantize_b_avx2()
|
/external/libvpx/config/x86_64/ |
D | vp9_rtcd.h | 86 void vp9_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const… 89 void vp9_highbd_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block,… 107 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 108 void vp9_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int… 109 void vp9_quantize_fp_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const in… 112 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const … 113 void vp9_quantize_fp_32x32_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, co…
|
/external/libvpx/config/arm-neon/ |
D | vp9_rtcd.h | 82 void vp9_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const… 85 void vp9_highbd_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block,… 103 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 104 void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int… 107 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const … 108 void vp9_quantize_fp_32x32_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, con…
|
/external/libvpx/config/arm64/ |
D | vp9_rtcd.h | 82 void vp9_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const… 85 void vp9_highbd_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block,… 103 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 104 void vp9_quantize_fp_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int… 107 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const … 108 void vp9_quantize_fp_32x32_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, con…
|
/external/libvpx/config/x86/ |
D | vp9_rtcd.h | 86 void vp9_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const… 89 void vp9_highbd_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block,… 107 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 108 void vp9_quantize_fp_sse2(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int… 111 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
|
/external/libvpx/config/generic/ |
D | vp9_rtcd.h | 79 void vp9_highbd_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const… 82 void vp9_highbd_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block,… 97 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_… 100 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const …
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
D | quantize_neon.c | 34 void vpx_quantize_b_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vpx_quantize_b_neon() argument 96 n_coeffs -= 8; in vpx_quantize_b_neon() 146 n_coeffs -= 8; in vpx_quantize_b_neon() 147 } while (n_coeffs > 0); in vpx_quantize_b_neon() 191 void vpx_quantize_b_32x32_neon(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vpx_quantize_b_32x32_neon() argument 204 (void)n_coeffs; // Because we will always calculate 32*32. in vpx_quantize_b_32x32_neon()
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | highbd_quantize_intrin_sse2.c | 97 const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, in vpx_highbd_quantize_b_32x32_sse2() argument 121 memset(qcoeff_ptr, 0, n_coeffs * sizeof(*qcoeff_ptr)); in vpx_highbd_quantize_b_32x32_sse2() 122 memset(dqcoeff_ptr, 0, n_coeffs * sizeof(*dqcoeff_ptr)); in vpx_highbd_quantize_b_32x32_sse2() 125 for (i = 0; i < n_coeffs / 4; i++) { in vpx_highbd_quantize_b_32x32_sse2()
|
D | quantize_avx.c | 23 void vpx_quantize_b_avx(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vpx_quantize_b_avx() argument 70 if (n_coeffs == 16) return; in vpx_quantize_b_avx() 103 for (index = 16; index < n_coeffs; index += 16) { in vpx_quantize_b_avx() 147 void vpx_quantize_b_32x32_avx(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vpx_quantize_b_32x32_avx() argument 168 (void)n_coeffs; in vpx_quantize_b_32x32_avx()
|
/external/libvpx/libvpx/test/ |
D | vp9_quantize_test.cc | 169 inline void quant_fp_nz(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in quant_fp_nz() argument 183 for (i = 0; i < n_coeffs; i += 16) { in quant_fp_nz() 235 for (i = 0; i < n_coeffs; i++) { in quant_fp_nz() 245 void quantize_fp_nz_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in quantize_fp_nz_c() argument 251 quant_fp_nz(coeff_ptr, n_coeffs, skip_block, round_ptr, quant_ptr, qcoeff_ptr, in quantize_fp_nz_c() 255 void quantize_fp_32x32_nz_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in quantize_fp_32x32_nz_c() argument 261 quant_fp_nz(coeff_ptr, n_coeffs, skip_block, round_ptr, quant_ptr, qcoeff_ptr, in quantize_fp_32x32_nz_c()
|
/external/libvpx/libvpx/vp9/encoder/ppc/ |
D | vp9_quantize_vsx.c | 41 void vp9_quantize_fp_vsx(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vp9_quantize_fp_vsx() argument 93 if (n_coeffs > 16) { in vp9_quantize_fp_vsx() 139 } while (index < n_coeffs); in vp9_quantize_fp_vsx() 167 void vp9_quantize_fp_32x32_vsx(const tran_low_t *coeff_ptr, intptr_t n_coeffs, in vp9_quantize_fp_32x32_vsx() argument 198 (void)n_coeffs; in vp9_quantize_fp_32x32_vsx()
|