Searched defs:quant (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_zscan.h63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer
H A Dvl_zscan.c178 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 Dvl_zscan.h63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer
H A Dvl_zscan.c178 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 Dvqgen.h53 int quant; /* 0 < quant <= 16 */ member in struct:__anon24764
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dquantize.c61 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 Dblock.h42 short *quant; member in struct:block
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_quantize.c137 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 Dvp9_block.h74 int16_t *quant; member in struct:macroblock_plane
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_block.h39 int16_t *quant; member in struct:macroblock_plane
H A Dvp9_quantize.c23 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...]
/external/chromium_org/third_party/speex/libspeex/
H A Dsb_celp.c628 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 Dnb_celp.c591 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/libvpx/libvpx/vp8/encoder/
H A Dquantize.c115 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 Dblock.h42 short *quant; member in struct:block
/external/speex/libspeex/
H A Dsb_celp.c628 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 Dnb_celp.c591 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/expat/files/lib/
H A Dexpat.h117 /* If type == XML_CTYPE_EMPTY or XML_CTYPE_ANY, then quant will be
119 If type == XML_CTYPE_MIXED, then quant will be NONE or REP and
126 quant fields indicates any quantifiers placed on the name.
139 enum XML_Content_Quant quant; member in struct:XML_cp
H A Dxmlparse.c207 enum XML_Content_Quant quant; member in struct:__anon11777
3781 enum XML_Content_Quant quant; local
4578 content->quant = XML_CQUANT_NONE;
4603 quant = XML_CQUANT_NONE;
4606 quant = XML_CQUANT_OPT;
4609 quant = XML_CQUANT_REP;
4612 quant = XML_CQUANT_PLUS;
4618 const char *nxt = (quant == XML_CQUANT_NONE
4625 dtd->scaffold[myindex].quant = quant;
[all...]
/external/expat/lib/
H A Dexpat.h117 /* If type == XML_CTYPE_EMPTY or XML_CTYPE_ANY, then quant will be
119 If type == XML_CTYPE_MIXED, then quant will be NONE or REP and
126 quant fields indicates any quantifiers placed on the name.
139 enum XML_Content_Quant quant; member in struct:XML_cp
/external/libvorbis/lib/
H A Dpsy.c982 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/chromium_org/third_party/icu/source/i18n/
H A DdecNumber.c5862 /* quant is 1 for quantize or 0 for rescale */
5873 Flag quant, uInt *status) {
5920 if (quant) reqexp=inrhs->exponent; /* quantize -- match exponents */
5871 decQuantizeOp(decNumber *res, const decNumber *lhs, const decNumber *rhs, decContext *set, Flag quant, uInt *status) argument
/external/icu/icu4c/source/i18n/
H A DdecNumber.c5864 /* quant is 1 for quantize or 0 for rescale */
5875 Flag quant, uInt *status) {
5922 if (quant) reqexp=inrhs->exponent; /* quantize -- match exponents */
5873 decQuantizeOp(decNumber *res, const decNumber *lhs, const decNumber *rhs, decContext *set, Flag quant, uInt *status) argument
/external/chromium_org/third_party/libxml/src/
H A Dxmlregexp.c183 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)
1557 (atom->quant != XML_REGEXP_QUANT_RANGE)) {
1563 } else if ((to == NULL) && (atom->quant != XML_REGEXP_QUANT_RANGE) &&
1564 (atom->quant !
[all...]
/external/libxml2/
H A Dxmlregexp.c186 xmlRegQuantType quant; member in struct:_xmlRegAtom
508 (ret->atoms[i]->quant == XML_REGEXP_QUANT_ONCE)) {
797 ret->quant = XML_REGEXP_QUANT_ONCE;
849 ret->quant = atom->quant;
1095 xmlRegPrintQuantType(output, atom->quant);
1096 if (atom->quant == XML_REGEXP_QUANT_RANGE)
1561 (atom->quant != XML_REGEXP_QUANT_RANGE)) {
1567 } else if ((to == NULL) && (atom->quant != XML_REGEXP_QUANT_RANGE) &&
1568 (atom->quant !
[all...]

Completed in 2157 milliseconds

12