/external/libvpx/libvpx/vpx_dsp/arm/ |
H A D | quantize_neon.c | 54 int16x8_t qcoeff = vshrq_n_s16(vqdmulhq_s16(rounded, quant), 1); local 56 qcoeff = vaddq_s16(qcoeff, rounded); 58 // (qcoeff * quant_shift * 2) >> 16 >> 1 == (qcoeff * quant_shift) >> 16 59 qcoeff = vshrq_n_s16(vqdmulhq_s16(qcoeff, quant_shift), 1); 62 qcoeff = veorq_s16(qcoeff, coeff_sign); 63 qcoeff 106 int16x8_t qcoeff = vshrq_n_s16(vqdmulhq_s16(rounded, quant), 1); local 190 int16x8_t qcoeff = vshrq_n_s16(vqdmulhq_s16(rounded, quant), 1); local 250 int16x8_t qcoeff = vshrq_n_s16(vqdmulhq_s16(rounded, quant), 1); local [all...] |
/external/libvpx/libvpx/vpx_dsp/x86/ |
H A D | quantize_x86.h | 38 __m128i tmp, qcoeff; local 39 qcoeff = _mm_adds_epi16(*coeff, round); 40 tmp = _mm_mulhi_epi16(qcoeff, quant); 41 qcoeff = _mm_add_epi16(tmp, qcoeff); 42 *coeff = _mm_mulhi_epi16(qcoeff, shift); 45 static INLINE __m128i calculate_dqcoeff(__m128i qcoeff, __m128i dequant) { argument 46 return _mm_mullo_epi16(qcoeff, dequant);
|
/external/libvpx/libvpx/vp9/encoder/arm/neon/ |
H A D | vp9_quantize_neon.c | 145 int16x8_t qcoeff = vaddq_s16(coeff_abs, round); local 155 qcoeff = vqdmulhq_s16(qcoeff, quant); 158 qcoeff = veorq_s16(qcoeff, coeff_sign); 159 qcoeff = vsubq_s16(qcoeff, coeff_sign); 160 qcoeff = vandq_s16(qcoeff, dequant_mask); 162 // qcoeff * dequan 199 int16x8_t qcoeff = vaddq_s16(coeff_abs, round); local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_context_tree.h | 31 tran_low_t *qcoeff[MAX_MB_PLANE][3]; member in struct:__anon12850
|
H A D | vp9_quantize.c | 167 tran_low_t *qcoeff = BLOCK_OFFSET(p->qcoeff, block), local 172 memset(qcoeff, 0, n_coeffs * sizeof(*qcoeff)); 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_tokenize.c | 365 const tran_low_t *qcoeff = BLOCK_OFFSET(p->qcoeff, block); local 388 v = qcoeff[scan[c]]; 398 v = qcoeff[scan[c]];
|
H A D | vp9_block.h | 31 tran_low_t *qcoeff; member in struct:macroblock_plane
|
H A D | vp9_encodemb.c | 68 tran_low_t *const qcoeff = BLOCK_OFFSET(p->qcoeff, block); local 110 token_cache[rc] = vp9_pt_energy_class[vp9_get_token(qcoeff[rc])]; 124 const int x = qcoeff[rc]; 202 (i + 1 != eob) ? vp9_get_token(qcoeff[scan[i + 1]]) : EOB_TOKEN; 253 qcoeff[rc] = x1; 266 x_prev = qcoeff[rc]; // Update based on selected quantized value. 292 qcoeff[rc] = before_best_eob_qc; 297 qcoeff[rc] = 0; 330 tran_low_t *const qcoeff local 406 tran_low_t *const qcoeff = BLOCK_OFFSET(p->qcoeff, block); local 480 tran_low_t *const qcoeff = BLOCK_OFFSET(p->qcoeff, block); local 741 tran_low_t *qcoeff = BLOCK_OFFSET(p->qcoeff, block); local [all...] |
H A D | vp9_pickmode.c | 709 tran_low_t *const qcoeff = BLOCK_OFFSET(p->qcoeff, 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, 759 tran_low_t *const qcoeff = BLOCK_OFFSET(p->qcoeff, block); local 764 this_rdc->rate += (int)abs(qcoeff[0]); 766 this_rdc->rate += vpx_satd(qcoeff, step << 4);
|
H A D | vp9_rdopt.c | 138 p->qcoeff = ctx->qcoeff_pbuf[i][m]; 148 ctx->qcoeff_pbuf[i][n] = p->qcoeff; 361 const tran_low_t *const qcoeff = BLOCK_OFFSET(p->qcoeff, block); local 386 int v = qcoeff[0]; 399 v = qcoeff[rc]; 417 int v = qcoeff[0]; 432 v = qcoeff[rc];
|
/external/libvpx/libvpx/test/ |
H A D | vp9_quantize_test.cc | 40 const int16_t *quant_shift, tran_low_t *qcoeff, 51 const int16_t *quant, tran_low_t *qcoeff, 60 tran_low_t *qcoeff, tran_low_t *dqcoeff, 66 fn(coeff, count, skip_block, round, quant, qcoeff, dqcoeff, dequant, eob, 241 Buffer<tran_low_t> qcoeff = Buffer<tran_low_t>(max_size_, max_size_, 0, 32); local 242 ASSERT_TRUE(qcoeff.Init()); 279 quant_shift_ptr_, qcoeff.TopLeftPixel(), dqcoeff.TopLeftPixel(), 282 EXPECT_TRUE(qcoeff.CheckValues(ref_qcoeff)); 289 qcoeff.PrintDifference(ref_qcoeff); 300 Buffer<tran_low_t> qcoeff 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 362 Buffer<tran_low_t> qcoeff = Buffer<tran_low_t>(max_size_, max_size_, 0, 32); local [all...] |
/external/libvpx/libvpx/vp8/common/ |
H A D | blockd.h | 188 short *qcoeff; member in struct:blockd 204 DECLARE_ALIGNED(16, short, qcoeff[400]);
|