/external/libvpx/libvpx/vp9/encoder/arm/neon/ |
H A D | vp9_error_neon.c | 16 int64_t vp9_block_error_fp_neon(const int16_t *coeff, const int16_t *dqcoeff, argument 25 const int16x8_t d = vld1q_s16(dqcoeff); 36 dqcoeff += 8;
|
H A D | vp9_quantize_neon.c | 147 int16x8_t dqcoeff; local 170 dqcoeff = vcombine_s16(vshrn_n_s32(dqcoeff_0, 1), vshrn_n_s32(dqcoeff_1, 1)); 175 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff); 201 int16x8_t dqcoeff; local 214 dqcoeff = 221 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff);
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
H A D | vp9_highbd_block_error_intrin_sse2.c | 16 int64_t vp9_highbd_block_error_sse2(tran_low_t *coeff, tran_low_t *dqcoeff, argument 30 __m128i mm_dqcoeff = _mm_load_si128((__m128i *)(dqcoeff + i)); 31 __m128i mm_dqcoeff2 = _mm_load_si128((__m128i *)(dqcoeff + i + 4)); 59 const int64_t diff = coeff[i + j] - dqcoeff[i + j];
|
H A D | vp9_error_avx2.c | 19 int64_t vp9_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, argument 31 // Load 16 elements for coeff and dqcoeff. 33 dqcoeff_256 = load_tran_low(dqcoeff); 34 // dqcoeff - coeff 36 // madd (dqcoeff - coeff) 57 // Load 32 elements for coeff and dqcoeff. 59 dqcoeff_0 = load_tran_low(dqcoeff + i); 61 dqcoeff_1 = load_tran_low(dqcoeff + i + 16); 62 // dqcoeff - coeff 65 // madd (dqcoeff 109 vp9_block_error_fp_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff, int block_size) argument [all...] |
/external/libvpx/libvpx/test/ |
H A D | vp9_block_error_test.cc | 34 const tran_low_t *dqcoeff, 42 const tran_low_t *dqcoeff, 47 const tran_low_t *dqcoeff, intptr_t block_size, 50 return fn(coeff, dqcoeff, block_size, ssz); 73 DECLARE_ALIGNED(16, tran_low_t, dqcoeff[4096]); 86 // coeff and dqcoeff will always have at least the same sign, and this 91 dqcoeff[j] = rnd(1 << msb); 95 dqcoeff[j] = -rnd(1 << msb); 99 ref_error_block_op_(coeff, dqcoeff, block_size, &ref_ssz, bit_depth_); 101 ret = error_block_op_(coeff, dqcoeff, block_siz 46 BlockError8BitWrapper(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bps) argument [all...] |
H A D | vp9_quantize_test.cc | 41 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, 66 fn(coeff, count, skip_block, round, quant, qcoeff, dqcoeff, dequant, eob, 243 Buffer<tran_low_t> dqcoeff = Buffer<tran_low_t>(max_size_, max_size_, 0, 32); local 244 ASSERT_TRUE(dqcoeff.Init()); 279 quant_shift_ptr_, qcoeff.TopLeftPixel(), dqcoeff.TopLeftPixel(), 283 EXPECT_TRUE(dqcoeff.CheckValues(ref_dqcoeff)); 290 dqcoeff.PrintDifference(ref_dqcoeff); 302 Buffer<tran_low_t> dqcoeff local 57 QuantFPWrapper(const tran_low_t *coeff, intptr_t count, int skip_block, const int16_t *zbin, const int16_t *round, const int16_t *quant, const int16_t *quant_shift, tran_low_t *qcoeff, tran_low_t *dqcoeff, const int16_t *dequant, uint16_t *eob, const int16_t *scan, const int16_t *iscan) argument 364 Buffer<tran_low_t> dqcoeff = Buffer<tran_low_t>(max_size_, max_size_, 0, 32); local [all...] |
/external/libvpx/libvpx/vpx_dsp/arm/ |
H A D | quantize_neon.c | 151 // Main difference is that zbin values are halved before comparison and dqcoeff 152 // values are divided by 2. zbin is rounded but dqcoeff is not. 191 int16x8_t dqcoeff; local 221 dqcoeff = 224 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff); 251 int16x8_t dqcoeff; local 281 dqcoeff = 284 store_s16q_to_tran_low(dqcoeff_ptr, dqcoeff);
|
/external/libvpx/libvpx/vp9/decoder/ |
H A D | vp9_detokenize.c | 75 tran_low_t *dqcoeff, TX_SIZE tx_size, const int16_t *dq, 197 dqcoeff[scan[c]] = highbd_check_range( 200 dqcoeff[scan[c]] = 205 dqcoeff[scan[c]] = -v; 207 dqcoeff[scan[c]] = v; 251 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, 259 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, 268 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, 280 eob = decode_coefs(xd, get_plane_type(plane), pd->dqcoeff, tx_size, 74 decode_coefs(const MACROBLOCKD *xd, PLANE_TYPE type, tran_low_t *dqcoeff, TX_SIZE tx_size, const int16_t *dq, int ctx, const int16_t *scan, const int16_t *nb, vpx_reader *r) argument
|
H A D | vp9_decodeframe.c | 188 tran_low_t *const dqcoeff = pd->dqcoeff; local 194 vp9_highbd_iwht4x4_add(dqcoeff, dst16, stride, eob, xd->bd); 198 vp9_highbd_idct4x4_add(dqcoeff, dst16, stride, eob, xd->bd); 201 vp9_highbd_idct8x8_add(dqcoeff, dst16, stride, eob, xd->bd); 204 vp9_highbd_idct16x16_add(dqcoeff, dst16, stride, eob, xd->bd); 207 vp9_highbd_idct32x32_add(dqcoeff, dst16, stride, eob, xd->bd); 214 vp9_iwht4x4_add(dqcoeff, dst, stride, eob); 217 case TX_4X4: vp9_idct4x4_add(dqcoeff, dst, stride, eob); break; 218 case TX_8X8: vp9_idct8x8_add(dqcoeff, ds 256 tran_low_t *const dqcoeff = pd->dqcoeff; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_context_tree.h | 32 tran_low_t *dqcoeff[MAX_MB_PLANE][3]; member in struct:__anon12850
|
H A D | vp9_quantize.c | 168 *dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 173 memset(dqcoeff, 0, n_coeffs * sizeof(*dqcoeff)); 181 p->quant_shift, qcoeff, dqcoeff, pd->dequant, local 187 p->zbin, p->round, p->quant, p->quant_shift, qcoeff, dqcoeff, local
|
H A D | vp9_encodemb.c | 69 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 150 const int diff0_raw = (dqcoeff[rc] - coeff[rc]) * (1 << shift); 241 dqc0 = dqcoeff[rc]; 254 dqcoeff[rc] = dqc1; 293 dqcoeff[rc] = before_best_eob_dqc; 298 dqcoeff[rc] = 0; 331 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 345 p->quant_fp, qcoeff, dqcoeff, p 407 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 481 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 563 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 676 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 742 tran_low_t *dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local [all...] |
H A D | vp9_pickmode.c | 710 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 720 qcoeff, dqcoeff, pd->dequant, eob, scan_order->scan, 726 qcoeff, dqcoeff, pd->dequant, eob, scan_order->scan, 732 qcoeff, dqcoeff, pd->dequant, eob, scan_order->scan, 760 tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 768 this_rdc->dist += vp9_block_error_fp(coeff, dqcoeff, step << 4) >> 2;
|
H A D | vp9_rdopt.c | 139 pd->dqcoeff = ctx->dqcoeff_pbuf[i][m]; 149 ctx->dqcoeff_pbuf[i][n] = pd->dqcoeff; 281 const tran_low_t *dqcoeff, intptr_t block_size, 289 const int64_t diff = coeff[i] - dqcoeff[i]; 302 const tran_low_t *dqcoeff, 306 return vp9_block_error(coeff, dqcoeff, block_size, ssz); 308 return vp9_highbd_block_error(coeff, dqcoeff, block_size, ssz, bd); 313 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, argument 319 const int diff = coeff[i] - dqcoeff[i]; 328 int64_t vp9_block_error_fp_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, argument 280 vp9_highbd_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd) argument 301 vp9_highbd_block_error_dispatch(const tran_low_t *coeff, const tran_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd) argument 550 const tran_low_t *const dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 584 const tran_low_t *dqcoeff = BLOCK_OFFSET(pd->dqcoeff, block); local 715 tran_low_t *const dqcoeff = BLOCK_OFFSET(xd->plane[plane].dqcoeff, block); local [all...] |
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_blockd.h | 117 tran_low_t *dqcoeff; member in struct:macroblockd_plane
|
H A D | vp9_onyxc_int.h | 317 tran_low_t *dqcoeff) { 321 xd->plane[i].dqcoeff = dqcoeff; 316 vp9_init_macroblockd(VP9_COMMON *cm, MACROBLOCKD *xd, tran_low_t *dqcoeff) argument
|
/external/libvpx/libvpx/vp8/common/ |
H A D | blockd.h | 189 short *dqcoeff; member in struct:blockd 205 DECLARE_ALIGNED(16, short, dqcoeff[400]);
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | rdopt.c | 319 int vp8_block_error_c(short *coeff, short *dqcoeff) { argument 324 int this_diff = coeff[i] - dqcoeff[i]; 344 int this_diff = be->coeff[j] - bd->dqcoeff[j]; 365 error += vp8_block_error_c(be->coeff, bd->dqcoeff); 503 d += vp8_block_error(mb_y2->coeff, x_y2->dqcoeff); 564 distortion = vp8_block_error(be->coeff, b->dqcoeff) >> 2; 577 memcpy(best_dqcoeff, b->dqcoeff, 32); 914 distortion += vp8_block_error(be->coeff, bd->dqcoeff);
|