/external/libaom/libaom/test/ |
D | error_block_test.cc | 35 const tran_low_t *dqcoeff, 61 DECLARE_ALIGNED(16, tran_low_t, dqcoeff[4096]); in TEST_P() 79 dqcoeff[j] = rnd(1 << msb); in TEST_P() 83 dqcoeff[j] = -rnd(1 << msb); in TEST_P() 87 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); in TEST_P() 89 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); in TEST_P() 104 DECLARE_ALIGNED(16, tran_low_t, dqcoeff[4096]); in TEST_P() 127 dqcoeff[j] = (k >> 1) % 2 ? max_val : 0; in TEST_P() 131 dqcoeff[j] = (k >> 1) % 2 ? -max_val : 0; in TEST_P() 136 dqcoeff[j] = rnd(1 << 14); in TEST_P() [all …]
|
D | quantize_func_test.cc | 115 tran_low_t *dqcoeff = qcoeff + n_coeffs; in QuantizeRun() local 116 uint16_t *eob = (uint16_t *)(dqcoeff + n_coeffs); in QuantizeRun() 147 quant_shift, qcoeff, dqcoeff, dequant, in QuantizeRun() 157 ASSERT_EQ(dqcoeff_ref[j], dqcoeff[j]) in QuantizeRun() 282 tran_low_t *dqcoeff = qcoeff + n_coeffs; in TEST_P() local 283 uint16_t *eob = (uint16_t *)(dqcoeff + n_coeffs); in TEST_P() 305 qcoeff, dqcoeff, dequant, eob, sc->scan, sc->iscan); in TEST_P() 312 dqcoeff, dequant, eob, sc->scan, sc->iscan); in TEST_P()
|
/external/libvpx/libvpx/test/ |
D | vp9_block_error_test.cc | 35 const tran_low_t *dqcoeff, 43 const tran_low_t *dqcoeff, 48 const tran_low_t *dqcoeff, intptr_t block_size, in BlockError8BitWrapper() argument 51 return fn(coeff, dqcoeff, block_size, ssz); in BlockError8BitWrapper() 74 DECLARE_ALIGNED(16, tran_low_t, dqcoeff[4096]); in TEST_P() 92 dqcoeff[j] = rnd(1 << msb); in TEST_P() 96 dqcoeff[j] = -rnd(1 << msb); in TEST_P() 100 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); in TEST_P() 102 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); in TEST_P() 117 DECLARE_ALIGNED(16, tran_low_t, dqcoeff[4096]); in TEST_P() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodemb.c | 70 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in vp9_optimize_b() local 157 const int diff0_raw = (dqcoeff[rc] - coeff[rc]) * (1 << shift); in vp9_optimize_b() 248 dqc0 = dqcoeff[rc]; in vp9_optimize_b() 261 dqcoeff[rc] = dqc1; in vp9_optimize_b() 313 dqcoeff[rc] = before_best_eob_dqc; in vp9_optimize_b() 318 dqcoeff[rc] = 0; in vp9_optimize_b() 352 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in vp9_xform_quant_fp() local 366 p->quant_fp, qcoeff, dqcoeff, pd->dequant, in vp9_xform_quant_fp() 372 p->quant_fp, qcoeff, dqcoeff, pd->dequant, eob, in vp9_xform_quant_fp() 378 p->quant_fp, qcoeff, dqcoeff, pd->dequant, eob, in vp9_xform_quant_fp() [all …]
|
D | vp9_context_tree.c | 35 CHECK_MEM_ERROR(cm, ctx->dqcoeff[i][k], in alloc_mode_context() 36 vpx_memalign(32, num_pix * sizeof(*ctx->dqcoeff[i][k]))); in alloc_mode_context() 41 ctx->dqcoeff_pbuf[i][k] = ctx->dqcoeff[i][k]; in alloc_mode_context() 57 vpx_free(ctx->dqcoeff[i][k]); in free_mode_context() 58 ctx->dqcoeff[i][k] = 0; in free_mode_context()
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_error_avx2.c | 19 int64_t vp9_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, in vp9_block_error_avx2() argument 33 dqcoeff_256 = load_tran_low(dqcoeff); in vp9_block_error_avx2() 59 dqcoeff_0 = load_tran_low(dqcoeff + i); in vp9_block_error_avx2() 61 dqcoeff_1 = load_tran_low(dqcoeff + i + 16); in vp9_block_error_avx2() 110 const tran_low_t *dqcoeff, int block_size) { in vp9_block_error_fp_avx2() argument 121 const __m256i _dqcoeff = load_tran_low(dqcoeff); in vp9_block_error_fp_avx2() 136 const __m256i _dqcoeff = load_tran_low(dqcoeff); in vp9_block_error_fp_avx2() 146 dqcoeff += 16; in vp9_block_error_fp_avx2()
|
D | vp9_highbd_block_error_intrin_sse2.c | 18 const tran_low_t *dqcoeff, in vp9_highbd_block_error_sse2() argument 31 __m128i mm_dqcoeff = _mm_load_si128((const __m128i *)(dqcoeff + i)); in vp9_highbd_block_error_sse2() 32 __m128i mm_dqcoeff2 = _mm_load_si128((const __m128i *)(dqcoeff + i + 4)); in vp9_highbd_block_error_sse2() 60 const int64_t diff = coeff[i + j] - dqcoeff[i + j]; in vp9_highbd_block_error_sse2()
|
/external/libvpx/libvpx/vpx_dsp/x86/ |
D | quantize_ssse3.h | 23 tran_low_t *dqcoeff) { in calculate_dqcoeff_and_store_32x32() argument 43 _mm_store_si128((__m128i *)(dqcoeff), dqcoeff32_0); in calculate_dqcoeff_and_store_32x32() 44 _mm_store_si128((__m128i *)(dqcoeff + 4), dqcoeff32_1); in calculate_dqcoeff_and_store_32x32() 46 _mm_store_si128((__m128i *)(dqcoeff), in calculate_dqcoeff_and_store_32x32()
|
D | quantize_sse2.h | 48 tran_low_t *dqcoeff) { in calculate_dqcoeff_and_store() argument 56 _mm_store_si128((__m128i *)(dqcoeff), dqcoeff32_0); in calculate_dqcoeff_and_store() 57 _mm_store_si128((__m128i *)(dqcoeff + 4), dqcoeff32_1); in calculate_dqcoeff_and_store() 61 _mm_store_si128((__m128i *)(dqcoeff), dqcoeff16); in calculate_dqcoeff_and_store()
|
/external/libaom/libaom/av1/common/ |
D | av1_rtcd_defs.pl | 113 add_proto qw/void av1_inv_txfm_add/, "const tran_low_t *dqcoeff, uint8_t *dst, int stride, const Tx… 118 add_proto qw/void av1_highbd_inv_txfm_add/, "const tran_low_t *dqcoeff, uint8_t *dst, int stride, c… 123 add_proto qw/void av1_highbd_inv_txfm_add_4x4/, "const tran_low_t *dqcoeff, uint8_t *dst, int stri… 125 add_proto qw/void av1_highbd_inv_txfm_add_8x8/, "const tran_low_t *dqcoeff, uint8_t *dst, int stri… 127 add_proto qw/void av1_highbd_inv_txfm_add_4x8/, "const tran_low_t *dqcoeff, uint8_t *dst, int stri… 129 add_proto qw/void av1_highbd_inv_txfm_add_8x4/, "const tran_low_t *dqcoeff, uint8_t *dst, int stri… 131 add_proto qw/void av1_highbd_inv_txfm_add_4x16/, "const tran_low_t *dqcoeff, uint8_t *dst, int str… 133 add_proto qw/void av1_highbd_inv_txfm_add_16x4/, "const tran_low_t *dqcoeff, uint8_t *dst, int str… 196 …add_proto qw/int64_t av1_block_error/, "const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr… 270 …add_proto qw/int64_t av1_highbd_block_error/, "const tran_low_t *coeff, const tran_low_t *dqcoeff,…
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_detokenize.c | 75 tran_low_t *dqcoeff, TX_SIZE tx_size, const int16_t *dq, in decode_coefs() argument 197 dqcoeff[scan[c]] = highbd_check_range( in decode_coefs() 200 dqcoeff[scan[c]] = in decode_coefs() 205 dqcoeff[scan[c]] = -v; in decode_coefs() 207 dqcoeff[scan[c]] = v; in decode_coefs() 251 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, in vp9_decode_block_tokens() 259 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, in vp9_decode_block_tokens() 268 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, in vp9_decode_block_tokens() 280 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, in vp9_decode_block_tokens()
|
D | vp9_decodeframe.c | 168 tran_low_t *const dqcoeff = pd->dqcoeff; in inverse_transform_block_inter() local 174 vp9_highbd_iwht4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 178 vp9_highbd_idct4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 181 vp9_highbd_idct8x8_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 184 vp9_highbd_idct16x16_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 187 vp9_highbd_idct32x32_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter() 194 vp9_iwht4x4_add(dqcoeff, dst, stride, eob); in inverse_transform_block_inter() 197 case TX_4X4: vp9_idct4x4_add(dqcoeff, dst, stride, eob); break; in inverse_transform_block_inter() 198 case TX_8X8: vp9_idct8x8_add(dqcoeff, dst, stride, eob); break; in inverse_transform_block_inter() 199 case TX_16X16: vp9_idct16x16_add(dqcoeff, dst, stride, eob); break; in inverse_transform_block_inter() [all …]
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
D | quantize_neon.c | 20 tran_low_t *dqcoeff) { in calculate_dqcoeff_and_store() argument 27 vst1q_s32(dqcoeff, dqcoeff_0); in calculate_dqcoeff_and_store() 28 vst1q_s32(dqcoeff + 4, dqcoeff_1); in calculate_dqcoeff_and_store() 30 vst1q_s16(dqcoeff, vcombine_s16(vmovn_s32(dqcoeff_0), vmovn_s32(dqcoeff_1))); in calculate_dqcoeff_and_store() 169 tran_low_t *dqcoeff) { in calculate_dqcoeff_and_store_32x32() argument 181 vst1q_s32(dqcoeff, dqcoeff_0); in calculate_dqcoeff_and_store_32x32() 182 vst1q_s32(dqcoeff + 4, dqcoeff_1); in calculate_dqcoeff_and_store_32x32() 184 vst1q_s16(dqcoeff, in calculate_dqcoeff_and_store_32x32()
|
/external/libvpx/libvpx/vp9/encoder/arm/neon/ |
D | vp9_error_neon.c | 16 int64_t vp9_block_error_fp_neon(const int16_t *coeff, const int16_t *dqcoeff, in vp9_block_error_fp_neon() argument 25 const int16x8_t d = vld1q_s16(dqcoeff); in vp9_block_error_fp_neon() 36 dqcoeff += 8; in vp9_block_error_fp_neon()
|
D | vp9_quantize_neon.c | 151 int16x8_t dqcoeff; in vp9_quantize_fp_32x32_neon() local 174 dqcoeff = vcombine_s16(vshrn_n_s32(dqcoeff_0, 1), vshrn_n_s32(dqcoeff_1, 1)); in vp9_quantize_fp_32x32_neon() 179 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff); in vp9_quantize_fp_32x32_neon() 205 int16x8_t dqcoeff; in vp9_quantize_fp_32x32_neon() local 218 dqcoeff = in vp9_quantize_fp_32x32_neon() 225 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff); in vp9_quantize_fp_32x32_neon()
|
/external/libaom/libaom/av1/encoder/x86/ |
D | highbd_block_error_intrin_sse2.c | 17 int64_t av1_highbd_block_error_sse2(tran_low_t *coeff, tran_low_t *dqcoeff, in av1_highbd_block_error_sse2() argument 31 __m128i mm_dqcoeff = _mm_load_si128((__m128i *)(dqcoeff + i)); in av1_highbd_block_error_sse2() 32 __m128i mm_dqcoeff2 = _mm_load_si128((__m128i *)(dqcoeff + i + 4)); in av1_highbd_block_error_sse2() 60 const int64_t diff = coeff[i + j] - dqcoeff[i + j]; in av1_highbd_block_error_sse2()
|
D | av1_quantize_avx2.c | 109 tran_low_t *dqcoeff, __m256i *eob) { in quantize() argument 121 store_two_quan(q, qcoeff, dq, dqcoeff); in quantize() 131 write_zero(dqcoeff); in quantize() 180 tran_low_t *qcoeff, tran_low_t *dqcoeff, in quantize_32x32() argument 197 store_two_quan(q, qcoeff, dq, dqcoeff); in quantize_32x32() 207 write_zero(dqcoeff); in quantize_32x32() 255 tran_low_t *qcoeff, tran_low_t *dqcoeff, in quantize_64x64() argument 276 store_two_quan(q, qcoeff, dq, dqcoeff); in quantize_64x64() 286 write_zero(dqcoeff); in quantize_64x64()
|
D | highbd_block_error_intrin_avx2.c | 17 int64_t av1_highbd_block_error_avx2(tran_low_t *coeff, tran_low_t *dqcoeff, in av1_highbd_block_error_avx2() argument 29 __m256i mm256_dqcoeff = _mm256_loadu_si256((__m256i *)(dqcoeff + i)); in av1_highbd_block_error_avx2() 30 __m256i mm256_dqcoeff2 = _mm256_loadu_si256((__m256i *)(dqcoeff + i + 8)); in av1_highbd_block_error_avx2()
|
/external/libvpx/config/x86/ |
D | vp9_rtcd.h | 34 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, … 35 int64_t vp9_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_siz… 38 int64_t vp9_block_error_fp_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, int block_size); 39 int64_t vp9_block_error_fp_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, int block_size); 66 int64_t vp9_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block… 67 int64_t vp9_highbd_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t bl…
|
/external/libvpx/config/x86_64/ |
D | vp9_rtcd.h | 34 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, … 35 int64_t vp9_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_siz… 38 int64_t vp9_block_error_fp_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, int block_size); 39 int64_t vp9_block_error_fp_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, int block_size); 66 int64_t vp9_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block… 67 int64_t vp9_highbd_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t bl…
|
/external/libaom/libaom/av1/encoder/ |
D | encodemb.c | 144 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in av1_xform_quant() local 182 coeff, n_coeffs, p, qcoeff, dqcoeff, eob, scan_order, &qparam); in av1_xform_quant() 184 av1_quantize_skip(n_coeffs, qcoeff, dqcoeff, eob); in av1_xform_quant() 214 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in encode_block() local 257 av1_inverse_transform_block(xd, dqcoeff, plane, tx_type, tx_size, dst, in encode_block() 428 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in encode_block_pass1() local 446 av1_highbd_inv_txfm_add(dqcoeff, dst, pd->dst.stride, &txfm_param); in encode_block_pass1() 449 av1_inv_txfm_add(dqcoeff, dst, pd->dst.stride, &txfm_param); in encode_block_pass1() 564 tran_low_t *dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in av1_encode_block_intra() local 604 av1_inverse_transform_block(xd, dqcoeff, plane, tx_type, tx_size, dst, in av1_encode_block_intra()
|
/external/libvpx/libvpx/vp8/encoder/x86/ |
D | vp8_enc_stubs_sse2.c | 19 short *dcoef_ptr = mb->e_mbd.block[0].dqcoeff; in vp8_mbblock_error_sse2() 26 short *d_ptr = &mb->e_mbd.dqcoeff[256]; in vp8_mbuverror_sse2()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_rtcd_defs.pl | 127 add_proto qw/int64_t vp9_block_error/, "const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_… 129 add_proto qw/int64_t vp9_block_error_fp/, "const tran_low_t *coeff, const tran_low_t *dqcoeff, int … 146 …add_proto qw/int64_t vp9_highbd_block_error/, "const tran_low_t *coeff, const tran_low_t *dqcoeff,…
|
/external/libvpx/libvpx/vp8/common/ |
D | invtrans.h | 42 vp8_short_inv_walsh4x4(&xd->block[24].dqcoeff[0], xd->qcoeff); in vp8_inverse_transform_mby() 44 vp8_short_inv_walsh4x4_1(&xd->block[24].dqcoeff[0], xd->qcoeff); in vp8_inverse_transform_mby()
|
/external/libvpx/libvpx/vp8/common/mips/mmi/ |
D | dequantize_mmi.c | 54 : [dqcoeff] "r"(d->dqcoeff), [qcoeff] "r"(d->qcoeff), [DQC] "r"(DQC) in vp8_dequantize_b_mmi()
|