/external/libvpx/libvpx/vp8/encoder/mips/mmi/ |
H A D | vp8_quantize_mmi.c | 21 zbin = zbin_ptr[rc] + *(zbin_boost_ptr++) + zbin_oq_value; \ 22 if (x >= zbin) { \ 203 int x, y, z, sz, zbin; local 206 const int16_t *zbin_ptr = b->zbin;
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
H A D | quantize_neon.c | 35 const int16x8_t zbin = vld1q_s16(zbin_ptr); local 49 vreinterpretq_s16_u16(vcgeq_s16(coeff_abs, zbin)); 85 const int16x8_t zbin = vdupq_n_s16(zbin_ptr[1]); local 101 vreinterpretq_s16_u16(vcgeq_s16(coeff_abs, zbin)); 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. 171 const int16x8_t zbin = vrshrq_n_s16(vld1q_s16(zbin_ptr), 1); local 185 vreinterpretq_s16_u16(vcgeq_s16(coeff_abs, zbin)); 229 const int16x8_t zbin = vrshrq_n_s16(vdupq_n_s16(zbin_ptr[1]), 1); local 245 vreinterpretq_s16_u16(vcgeq_s16(coeff_abs, zbin)); [all...] |
/external/libvpx/libvpx/vpx_dsp/x86/ |
H A D | quantize_avx.c | 33 __m128i zbin, round, quant, dequant, shift; local 46 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, 56 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); 57 zbin = _mm_unpackhi_epi64(zbin, zbin); // Switch DC to AC 58 cmp_mask1 = _mm_cmpgt_epi16(qcoeff1, zbin); 86 // Mask out zbin threshold coeffs 112 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); 113 cmp_mask1 = _mm_cmpgt_epi16(qcoeff1, zbin); 163 __m128i zbin, round, quant, dequant, shift; local [all...] |
H A D | quantize_sse2.c | 30 __m128i zbin, round, quant, dequant, shift; local 41 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, 54 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); 55 zbin = _mm_unpackhi_epi64(zbin, zbin); // Switch DC to AC 56 cmp_mask1 = _mm_cmpgt_epi16(qcoeff1, zbin); 70 // Mask out zbin threshold coeffs 97 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); 98 cmp_mask1 = _mm_cmpgt_epi16(qcoeff1, zbin); [all...] |
H A D | quantize_ssse3.c | 29 __m128i zbin, round, quant, dequant, shift; local 39 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, 49 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); 50 zbin = _mm_unpackhi_epi64(zbin, zbin); // Switch DC to AC 51 cmp_mask1 = _mm_cmpgt_epi16(qcoeff1, zbin); 63 // Mask out zbin threshold coeffs 88 cmp_mask0 = _mm_cmpgt_epi16(qcoeff0, zbin); 89 cmp_mask1 = _mm_cmpgt_epi16(qcoeff1, zbin); 129 __m128i zbin, round, quant, dequant, shift; local [all...] |
H A D | quantize_x86.h | 17 static INLINE void load_b_values(const int16_t *zbin_ptr, __m128i *zbin, argument 22 *zbin = _mm_load_si128((const __m128i *)zbin_ptr); 25 *zbin = _mm_sub_epi16(*zbin, _mm_set1_epi16(1)); 50 // to zbin to add 1 to the index in 'scan'.
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | vp8_quantize.c | 50 int zbin; local 54 short *zbin_ptr = b->zbin; 72 zbin = zbin_ptr[rc] + *zbin_boost_ptr + zbin_oq_value; 78 if (x >= zbin) { 349 x->block[i].zbin = cpi->Y1zbin[QIndex]; 362 x->block[i].zbin = cpi->UVzbin[QIndex]; 374 x->block[24].zbin = cpi->Y2zbin[QIndex];
|
H A D | block.h | 42 short *zbin; member in struct:block
|
/external/libvpx/libvpx/test/ |
H A D | vp9_quantize_test.cc | 38 int skip_block, const int16_t *zbin, 48 // Wrapper for FP version which does not use zbin or quant_shift. 58 const int16_t *zbin, const int16_t *round, 63 (void)zbin; 198 void GenerateHelperArrays(ACMRandom *rnd, int16_t *zbin, int16_t *round, argument 212 // zbin may be up to 1143 for 8 and 10 bit Y values, or 1200 for 12 bit Y 215 zbin[j] = rnd->RandRange(1200); 227 zbin[j] = zbin[1]; 378 // zbin > coef 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 [all...] |
/external/libvpx/libvpx/vp8/encoder/mips/msa/ |
H A D | quantize_msa.c | 82 int16_t *zbin_boost, int16_t *coeff_ptr, int16_t *zbin, int16_t *round, 114 LD_SH2(zbin, 8, coeff0, coeff1); 199 int16_t *zbin_ptr = b->zbin; 81 exact_regular_quantize_b_msa( int16_t *zbin_boost, int16_t *coeff_ptr, int16_t *zbin, int16_t *round, int16_t *quant, int16_t *quant_shift, int16_t *de_quant, int16_t zbin_oq_in, int16_t *q_coeff, int16_t *dq_coeff) argument
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_block.h | 41 int16_t *zbin; member in struct:macroblock_plane
|