/external/libvpx/libvpx/vp9/encoder/ |
vp9_quantize.c | 175 p->zbin, p->round, p->quant, p->quant_shift, 181 static void invert_quant(int16_t *quant, int16_t *shift, int d) { 188 *quant = (int16_t)(t - (1 << 16)); 202 const int quant = i == 0 ? vp9_dc_quant(q, cm->y_dc_delta_q) local 204 invert_quant(&cpi->y_quant[q][i], &cpi->y_quant_shift[q][i], quant); 205 cpi->y_zbin[q][i] = ROUND_POWER_OF_TWO(qzbin_factor * quant, 7); 206 cpi->y_round[q][i] = (qrounding_factor * quant) >> 7; 207 cm->y_dequant[q][i] = quant; 212 const int quant = i == 0 ? vp9_dc_quant(q, cm->uv_dc_delta_q) local 214 invert_quant(&cpi->uv_quant[q][i], &cpi->uv_quant_shift[q][i], quant); 223 const int quant = i == 0 ? vp9_dc_quant(q, cm->a_dc_delta_q) local [all...] |
vp9_encodemb.c | 372 p->quant, p->quant_shift, qcoeff, dqcoeff, 384 p->quant, p->quant_shift, qcoeff, dqcoeff, 396 p->quant, p->quant_shift, qcoeff, dqcoeff, 407 p->quant, p->quant_shift, qcoeff, dqcoeff, 570 p->quant, p->quant_shift, qcoeff, dqcoeff, 594 p->quant, p->quant_shift, qcoeff, dqcoeff, 617 vp9_quantize_b(coeff, 64, x->skip_block, p->zbin, p->round, p->quant, 648 vp9_quantize_b(coeff, 16, x->skip_block, p->zbin, p->round, p->quant,
|
vp9_block.h | 76 int16_t *quant; member in struct:macroblock_plane 81 // Zbin Over Quant value
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
block.cpp | 76 /* do residue transform quant invquant, invtrans and write output out */ 87 int Qq, Rq, q_bits, qp_const, quant; local 141 /* quant */ 156 quant = quant_coef[Rq][k]; 159 lev = data * quant + qp_const; 163 lev = -data * quant + qp_const; 171 quant = dequant_coefres[Rq][k]; 175 coef[idx] = (lev * quant) << Qq; 180 coef[idx] = (-lev * quant) << Qq; 359 /* performa dct, quant, iquant, idct for the entire MB * 372 int Rq, Qq, quant, q_bits, qp_const; local 733 int Qq, Rq, qp_const, q_bits, quant; local 1124 int q_bits, qp_const, quant; local 1212 int Qq, Rq, q_bits, qp_const, quant; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_zscan.h | 63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer
|
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, NULL) [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.h | 63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer
|
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, NULL) [all...] |
/external/libvorbis/vq/ |
vqgen.h | 53 int quant; /* 0 < quant <= 16 */ member in struct:__anon22908
|
/external/webp/src/dec/ |
Android.mk | 25 quant.c \
|
/external/webp/src/enc/ |
Android.mk | 30 quant.c \
|
/external/libvpx/libvpx/vp8/encoder/ |
block.h | 38 short *quant; member in struct:block 45 /* Zbin Over Quant value */
|
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, 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];
|
vp8_asm_enc_offsets.c | 26 DEFINE(vp8_block_quant, offsetof(BLOCK, quant));
|
/external/libvorbis/lib/ |
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[k][j] = 0.f [all...] |
/external/libvpx/libvpx/vp8/encoder/x86/ |
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/speex/libspeex/ |
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-10))) [all...] |
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/chromium_org/third_party/libxml/src/ |
xmlregexp.c | 183 xmlRegQuantType quant; member in struct:_xmlRegAtom 504 (ret->atoms[i]->quant == XML_REGEXP_QUANT_ONCE)) { 793 ret->quant = XML_REGEXP_QUANT_ONCE; 845 ret->quant = atom->quant; 1091 xmlRegPrintQuantType(output, atom->quant); 1092 if (atom->quant == XML_REGEXP_QUANT_RANGE) [all...] |
/external/libxml2/ |
xmlregexp.c | 183 xmlRegQuantType quant; member in struct:_xmlRegAtom 504 (ret->atoms[i]->quant == XML_REGEXP_QUANT_ONCE)) { 793 ret->quant = XML_REGEXP_QUANT_ONCE; 845 ret->quant = atom->quant; 1091 xmlRegPrintQuantType(output, atom->quant); 1092 if (atom->quant == XML_REGEXP_QUANT_RANGE) [all...] |
/external/libvpx/libvpx/vp9/encoder/x86/ |
vp9_quantize_ssse3.asm | 19 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \ 37 mova m2, [quantq] ; m2 = quant
|
/external/chromium_org/third_party/libwebp/ |
libwebp_dec.target.darwin-arm.mk | 31 third_party/libwebp/dec/quant.c \
|
libwebp_dec.target.darwin-mips.mk | 32 third_party/libwebp/dec/quant.c \
|
libwebp_dec.target.darwin-x86.mk | 32 third_party/libwebp/dec/quant.c \
|
libwebp_dec.target.linux-arm.mk | 31 third_party/libwebp/dec/quant.c \
|