/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_quantize.c | 137 p->zbin, p->round, p->quant, p->quant_shift, 143 static void invert_quant(int16_t *quant, int16_t *shift, int d) { argument 150 *quant = (int16_t)(t - (1 << 16)); 157 int i, q, quant; local 165 quant = i == 0 ? vp9_dc_quant(q, cm->y_dc_delta_q) 167 invert_quant(&quants->y_quant[q][i], &quants->y_quant_shift[q][i], quant); 168 quants->y_zbin[q][i] = ROUND_POWER_OF_TWO(qzbin_factor * quant, 7); 169 quants->y_round[q][i] = (qrounding_factor * quant) >> 7; 170 cm->y_dequant[q][i] = quant; 173 quant [all...] |
H A D | vp9_encodemb.c | 337 p->quant, p->quant_shift, qcoeff, dqcoeff, 344 p->quant, p->quant_shift, qcoeff, dqcoeff, 351 p->quant, p->quant_shift, qcoeff, dqcoeff, 358 p->quant, p->quant_shift, qcoeff, dqcoeff, 515 p->quant, p->quant_shift, qcoeff, dqcoeff, 535 p->quant, p->quant_shift, qcoeff, dqcoeff, 554 vp9_quantize_b(coeff, 64, x->skip_block, p->zbin, p->round, p->quant, 578 vp9_quantize_b(coeff, 16, x->skip_block, p->zbin, p->round, p->quant,
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_quantize.c | 23 const int16_t *round_ptr, const int16_t quant, 34 tmp = (tmp * quant) >> 16; 45 const int16_t *round_ptr, const int16_t quant, 58 quant) >> 16; 69 const int16_t *round_ptr, const int16_t quant, 81 tmp = (tmp * quant) >> 15; 92 const int16_t *round_ptr, const int16_t quant, 105 quant) >> 15; 524 p->zbin, p->round, p->quant, p->quant_shift, 534 p->zbin, p->round, p->quant, 22 vp9_quantize_dc(const tran_low_t *coeff_ptr, int skip_block, const int16_t *round_ptr, const int16_t quant, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t dequant_ptr, uint16_t *eob_ptr) argument 44 vp9_high_quantize_dc(const tran_low_t *coeff_ptr, int skip_block, const int16_t *round_ptr, const int16_t quant, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t dequant_ptr, uint16_t *eob_ptr) argument 68 vp9_quantize_dc_32x32(const tran_low_t *coeff_ptr, int skip_block, const int16_t *round_ptr, const int16_t quant, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t dequant_ptr, uint16_t *eob_ptr) argument 91 vp9_high_quantize_dc_32x32(const tran_low_t *coeff_ptr, int skip_block, const int16_t *round_ptr, const int16_t quant, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_ptr, const int16_t dequant_ptr, uint16_t *eob_ptr) argument 540 invert_quant(int16_t *quant, int16_t *shift, int d) argument 552 const int quant = vp9_dc_quant(q, 0, bit_depth); local 574 int i, q, quant; local [all...] |
H A D | vp9_block.h | 39 int16_t *quant; member in struct:macroblock_plane
|
H A D | vp9_encodemb.c | 433 p->quant, p->quant_shift, qcoeff, dqcoeff, 440 p->quant, p->quant_shift, qcoeff, dqcoeff, 447 p->quant, p->quant_shift, qcoeff, dqcoeff, 454 p->quant, p->quant_shift, qcoeff, dqcoeff, 638 p->quant, p->quant_shift, qcoeff, dqcoeff, 658 p->quant, p->quant_shift, qcoeff, dqcoeff, 677 vp9_quantize_b(coeff, 64, x->skip_block, p->zbin, p->round, p->quant, 701 vp9_quantize_b(coeff, 16, x->skip_block, p->zbin, p->round, p->quant,
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
H A D | vl_zscan.h | 63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer
|
H A D | vl_zscan.c | 178 struct ureg_dst quant, fragment; local 198 quant = ureg_DECL_temporary(shader); 205 * fragment = tex(tmp, 0) * quant 215 ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quant); 218 ureg_MUL(shader, quant, ureg_src(quant), ureg_imm1f(shader, 16.0f)); 219 ureg_MUL(shader, fragment, ureg_src(tmp[0]), ureg_src(quant)); 511 buffer->quant = zscan->pipe->create_sampler_view(zscan->pipe, res, &sv_tmpl); 513 if (!buffer->quant) 526 pipe_sampler_view_reference(&buffer->quant, NUL [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_zscan.h | 63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer
|
H A D | vl_zscan.c | 178 struct ureg_dst quant, fragment; local 198 quant = ureg_DECL_temporary(shader); 205 * fragment = tex(tmp, 0) * quant 215 ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quant); 218 ureg_MUL(shader, quant, ureg_src(quant), ureg_imm1f(shader, 16.0f)); 219 ureg_MUL(shader, fragment, ureg_src(tmp[0]), ureg_src(quant)); 511 buffer->quant = zscan->pipe->create_sampler_view(zscan->pipe, res, &sv_tmpl); 513 if (!buffer->quant) 526 pipe_sampler_view_reference(&buffer->quant, NUL [all...] |
/external/libvorbis/vq/ |
H A D | vqgen.h | 53 int quant; /* 0 < quant <= 16 */ member in struct:__anon24764
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/x86/ |
H A D | quantize_sse4.c | 47 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant)); 48 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8));
|
H A D | quantize_sse2.c | 53 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant)); 54 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8)); 174 /* y = (x * quant) >> 16 */
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | block.h | 42 short *quant; member in struct:block
|
H A D | quantize.c | 61 short *quant_ptr = b->quant; 241 static void invert_quant(int improved_quant, short *quant, argument 252 *quant = (short)(t - (1<<16)); 259 *quant = (1 << 16) / d; 443 x->block[i].quant = cpi->Y1quant[QIndex]; 457 x->block[i].quant = cpi->UVquant[QIndex]; 470 x->block[24].quant = cpi->Y2quant[QIndex];
|
H A D | vp8_asm_enc_offsets.c | 26 DEFINE(vp8_block_quant, offsetof(BLOCK, quant));
|
/external/libvpx/libvpx/vp8/encoder/ |
H A D | block.h | 42 short *quant; member in struct:block
|
H A D | quantize.c | 115 short *quant_ptr = b->quant; 176 quant_ptr = b->quant; 227 short *quant_ptr = b->quant; 408 static void invert_quant(int improved_quant, short *quant, argument 419 *quant = (short)(t - (1<<16)); 426 *quant = (1 << 16) / d; 672 x->block[i].quant = cpi->Y1quant[QIndex]; 686 x->block[i].quant = cpi->UVquant[QIndex]; 699 x->block[24].quant = cpi->Y2quant[QIndex];
|
H A D | vp8_asm_enc_offsets.c | 26 DEFINE(vp8_block_quant, offsetof(BLOCK, quant));
|
/external/webp/src/ |
H A D | Android.mk | 34 enc/quant.c \ 86 dec/quant.c \
|
/external/libvorbis/lib/ |
H A D | psy.c | 982 again, no energy adjustment for error in nonzero quant-- for now 1032 float **quant = alloca(ch*sizeof(*quant)); local 1051 quant[0] = alloca(ch*partition*sizeof(**quant)); 1057 quant[i] = &quant[0][partition*i]; 1082 quant[k][j] = raw[k][j] = mdct[k][i+j]*mdct[k][i+j]; 1087 acc[track]=noise_normalize(p,limit,raw[k],quant[k],floor[k],NULL,acc[track],i,jn,iout); 1093 quant[ [all...] |
/external/libvpx/libvpx/vp8/encoder/x86/ |
H A D | quantize_sse2.c | 54 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant)); 55 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8)); 175 /* y = (x * quant) >> 16 */
|
/external/chromium_org/third_party/speex/libspeex/ |
H A D | sb_celp.c | 628 int quant = scal_quant(g, fold_quant_bound, 32); local 629 /*speex_warning_int("tata", quant);*/ 630 if (quant<0) 631 quant=0; 632 if (quant>31) 633 quant=31; 634 speex_bits_pack(bits, quant, 5); 1029 int quant; local 1031 quant = speex_bits_unpack_unsigned(bits, 5); 1032 g= spx_exp(MULT16_16(QCONST16(.125f,11),(quant [all...] |
H A D | nb_celp.c | 591 int quant; local 595 quant = PSHR16(MULT16_16_16(15, ol_pitch_coef),GAIN_SHIFT); 597 quant = (int)floor(.5+15*ol_pitch_coef*GAIN_SCALING_1); 599 if (quant>15) 600 quant=15; 601 if (quant<0) 602 quant=0; 603 speex_bits_pack(bits, quant, 4); 604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT)); 1264 int quant; local [all...] |
/external/speex/libspeex/ |
H A D | sb_celp.c | 628 int quant = scal_quant(g, fold_quant_bound, 32); local 629 /*speex_warning_int("tata", quant);*/ 630 if (quant<0) 631 quant=0; 632 if (quant>31) 633 quant=31; 634 speex_bits_pack(bits, quant, 5); 1029 int quant; local 1031 quant = speex_bits_unpack_unsigned(bits, 5); 1032 g= spx_exp(MULT16_16(QCONST16(.125f,11),(quant [all...] |
H A D | nb_celp.c | 591 int quant; local 595 quant = PSHR16(MULT16_16_16(15, ol_pitch_coef),GAIN_SHIFT); 597 quant = (int)floor(.5+15*ol_pitch_coef*GAIN_SCALING_1); 599 if (quant>15) 600 quant=15; 601 if (quant<0) 602 quant=0; 603 speex_bits_pack(bits, quant, 4); 604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT)); 1264 int quant; local [all...] |