Home
last modified time | relevance | path

Searched refs:dqcoeff (Results 1 – 25 of 71) sorted by relevance

123

/external/libvpx/libvpx/test/
Dvp9_block_error_test.cc34 const tran_low_t *dqcoeff,
42 const tran_low_t *dqcoeff,
47 const tran_low_t *dqcoeff, intptr_t block_size, in BlockError8BitWrapper() argument
50 return fn(coeff, dqcoeff, block_size, ssz); in BlockError8BitWrapper()
73 DECLARE_ALIGNED(16, tran_low_t, dqcoeff[4096]); in TEST_P()
91 dqcoeff[j] = rnd(1 << msb); in TEST_P()
95 dqcoeff[j] = -rnd(1 << msb); in TEST_P()
99 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); in TEST_P()
101 ret = error_block_op_(coeff, dqcoeff, block_size, &ssz, bit_depth_)); in TEST_P()
116 DECLARE_ALIGNED(16, tran_low_t, dqcoeff[4096]); in TEST_P()
[all …]
Dvp9_quantize_test.cc41 tran_low_t *dqcoeff, const int16_t *dequant,
52 tran_low_t *dqcoeff, const int16_t *dequant,
60 tran_low_t *qcoeff, tran_low_t *dqcoeff, in QuantFPWrapper() argument
66 fn(coeff, count, skip_block, round, quant, qcoeff, dqcoeff, dequant, eob, in QuantFPWrapper()
243 Buffer<tran_low_t> dqcoeff = Buffer<tran_low_t>(max_size_, max_size_, 0, 32); in TEST_P() local
244 ASSERT_TRUE(dqcoeff.Init()); in TEST_P()
279 quant_shift_ptr_, qcoeff.TopLeftPixel(), dqcoeff.TopLeftPixel(), in TEST_P()
283 EXPECT_TRUE(dqcoeff.CheckValues(ref_dqcoeff)); in TEST_P()
290 dqcoeff.PrintDifference(ref_dqcoeff); in TEST_P()
302 Buffer<tran_low_t> dqcoeff = Buffer<tran_low_t>(max_size_, max_size_, 0, 32); in TEST_P() local
[all …]
Dquantize_test.cc102 EXPECT_EQ(0, memcmp(vp8_comp_->mb.e_mbd.dqcoeff, macroblockd_dst_->dqcoeff, in CheckOutput()
103 sizeof(*macroblockd_dst_->dqcoeff) * kNumBlocks * in CheckOutput()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemb.c69 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in vp9_optimize_b() local
150 const int diff0_raw = (dqcoeff[rc] - coeff[rc]) * (1 << shift); in vp9_optimize_b()
241 dqc0 = dqcoeff[rc]; in vp9_optimize_b()
254 dqcoeff[rc] = dqc1; in vp9_optimize_b()
293 dqcoeff[rc] = before_best_eob_dqc; in vp9_optimize_b()
298 dqcoeff[rc] = 0; in vp9_optimize_b()
331 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in vp9_xform_quant_fp() local
345 p->quant_fp, qcoeff, dqcoeff, pd->dequant, in vp9_xform_quant_fp()
351 p->quant_fp, qcoeff, dqcoeff, pd->dequant, eob, in vp9_xform_quant_fp()
357 p->quant_fp, qcoeff, dqcoeff, pd->dequant, eob, in vp9_xform_quant_fp()
[all …]
Dvp9_context_tree.c32 CHECK_MEM_ERROR(cm, ctx->dqcoeff[i][k], in alloc_mode_context()
33 vpx_memalign(32, num_pix * sizeof(*ctx->dqcoeff[i][k]))); in alloc_mode_context()
38 ctx->dqcoeff_pbuf[i][k] = ctx->dqcoeff[i][k]; in alloc_mode_context()
54 vpx_free(ctx->dqcoeff[i][k]); in free_mode_context()
55 ctx->dqcoeff[i][k] = 0; in free_mode_context()
Dvp9_quantize.c168 *dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); in vp9_regular_quantize_b_4x4() local
173 memset(dqcoeff, 0, n_coeffs * sizeof(*dqcoeff)); in vp9_regular_quantize_b_4x4()
181 p->quant_shift, qcoeff, dqcoeff, pd->dequant, in vp9_regular_quantize_b_4x4()
187 p->zbin, p->round, p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_regular_quantize_b_4x4()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_error_avx2.c19 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()
Dvp9_highbd_block_error_intrin_sse2.c16 int64_t vp9_highbd_block_error_sse2(tran_low_t *coeff, tran_low_t *dqcoeff, in vp9_highbd_block_error_sse2() argument
30 __m128i mm_dqcoeff = _mm_load_si128((__m128i *)(dqcoeff + i)); in vp9_highbd_block_error_sse2()
31 __m128i mm_dqcoeff2 = _mm_load_si128((__m128i *)(dqcoeff + i + 4)); in vp9_highbd_block_error_sse2()
59 const int64_t diff = coeff[i + j] - dqcoeff[i + j]; in vp9_highbd_block_error_sse2()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c188 tran_low_t *const dqcoeff = pd->dqcoeff; in inverse_transform_block_inter() local
194 vp9_highbd_iwht4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter()
198 vp9_highbd_idct4x4_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter()
201 vp9_highbd_idct8x8_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter()
204 vp9_highbd_idct16x16_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter()
207 vp9_highbd_idct32x32_add(dqcoeff, dst16, stride, eob, xd->bd); in inverse_transform_block_inter()
214 vp9_iwht4x4_add(dqcoeff, dst, stride, eob); in inverse_transform_block_inter()
217 case TX_4X4: vp9_idct4x4_add(dqcoeff, dst, stride, eob); break; in inverse_transform_block_inter()
218 case TX_8X8: vp9_idct8x8_add(dqcoeff, dst, stride, eob); break; in inverse_transform_block_inter()
219 case TX_16X16: vp9_idct16x16_add(dqcoeff, dst, stride, eob); break; in inverse_transform_block_inter()
[all …]
Dvp9_detokenize.c75 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()
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_error_neon.c16 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()
Dvp9_quantize_neon.c147 int16x8_t dqcoeff; in vp9_quantize_fp_32x32_neon() local
170 dqcoeff = vcombine_s16(vshrn_n_s32(dqcoeff_0, 1), vshrn_n_s32(dqcoeff_1, 1)); in vp9_quantize_fp_32x32_neon()
175 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff); in vp9_quantize_fp_32x32_neon()
201 int16x8_t dqcoeff; in vp9_quantize_fp_32x32_neon() local
214 dqcoeff = in vp9_quantize_fp_32x32_neon()
221 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff); in vp9_quantize_fp_32x32_neon()
/external/libvpx/config/x86/
Dvp9_rtcd.h34 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);
65 int64_t vp9_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block…
66 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/
Dvp9_rtcd.h34 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);
65 int64_t vp9_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block…
66 int64_t vp9_highbd_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t bl…
/external/libvpx/libvpx/vpx_dsp/arm/
Dquantize_neon.c191 int16x8_t dqcoeff; in vpx_quantize_b_32x32_neon() local
221 dqcoeff = in vpx_quantize_b_32x32_neon()
224 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff); in vpx_quantize_b_32x32_neon()
251 int16x8_t dqcoeff; in vpx_quantize_b_32x32_neon() local
281 dqcoeff = in vpx_quantize_b_32x32_neon()
284 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff); in vpx_quantize_b_32x32_neon()
/external/libvpx/libvpx/vp9/common/
Dvp9_rtcd_defs.pl121 add_proto qw/int64_t vp9_block_error/, "const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_…
123 add_proto qw/int64_t vp9_block_error_fp/, "const tran_low_t *coeff, const tran_low_t *dqcoeff, int …
140 …add_proto qw/int64_t vp9_highbd_block_error/, "const tran_low_t *coeff, const tran_low_t *dqcoeff,…
/external/libvpx/libvpx/vp8/encoder/x86/
Dvp8_enc_stubs_sse2.c19 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()
Dvp8_quantize_sse2.c136 _mm_store_si128((__m128i *)(d->dqcoeff), y0); in vp8_regular_quantize_b_sse2()
137 _mm_store_si128((__m128i *)(d->dqcoeff + 8), y1); in vp8_regular_quantize_b_sse2()
191 _mm_store_si128((__m128i *)(d->dqcoeff), xdq0); in vp8_fast_quantize_b_sse2()
192 _mm_store_si128((__m128i *)(d->dqcoeff + 8), xdq1); in vp8_fast_quantize_b_sse2()
/external/libvpx/libvpx/vp8/common/
Dinvtrans.h42 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()
Dmbpitch.c38 x->block[r].dqcoeff = x->dqcoeff + r * 16; in vp8_setup_block_dptrs()
/external/libvpx/libvpx/vp8/common/mips/mmi/
Ddequantize_mmi.c54 : [dqcoeff] "r"(d->dqcoeff), [qcoeff] "r"(d->qcoeff), [DQC] "r"(DQC) in vp8_dequantize_b_mmi()
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dencodeopt_msa.c62 dq_coeff_ptr = bd->dqcoeff; in vp8_mbblock_error_msa()
72 dq_coeff_ptr = bd->dqcoeff; in vp8_mbblock_error_msa()
122 dq_coeff_ptr = bd->dqcoeff; in vp8_mbuverror_msa()
132 dq_coeff_ptr = bd->dqcoeff; in vp8_mbuverror_msa()
/external/libvpx/config/mips64-msa/
Dvp9_rtcd.h34 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, …
37 int64_t vp9_block_error_fp_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, int block_size);
58 int64_t vp9_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block…
/external/libvpx/config/mips32-msa/
Dvp9_rtcd.h34 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, …
37 int64_t vp9_block_error_fp_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, int block_size);
58 int64_t vp9_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block…
/external/libvpx/config/mips64/
Dvp9_rtcd.h34 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, …
37 int64_t vp9_block_error_fp_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, int block_size);
58 int64_t vp9_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block…

123