Home
last modified time | relevance | path

Searched refs:quant (Results 1 – 25 of 42) sorted by relevance

12

/external/libvpx/libvpx/vp9/encoder/
Dvp9_quantize.c171 p->zbin, p->round, p->quant, p->quant_shift, in vp9_regular_quantize_b_4x4()
179 p->round, p->quant, p->quant_shift, in vp9_regular_quantize_b_4x4()
185 static void invert_quant(int16_t *quant, int16_t *shift, int d) { in invert_quant() argument
191 *quant = (int16_t)(m - (1 << 16)); in invert_quant()
196 const int quant = vp9_dc_quant(q, 0, bit_depth); in get_qzbin_factor() local
199 case VPX_BITS_8: return q == 0 ? 64 : (quant < 148 ? 84 : 80); in get_qzbin_factor()
200 case VPX_BITS_10: return q == 0 ? 64 : (quant < 592 ? 84 : 80); in get_qzbin_factor()
201 case VPX_BITS_12: return q == 0 ? 64 : (quant < 2368 ? 84 : 80); in get_qzbin_factor()
208 return q == 0 ? 64 : (quant < 148 ? 84 : 80); in get_qzbin_factor()
215 int i, q, quant; in vp9_init_quantizer() local
[all …]
Dvp9_encodemb.c513 p->round, p->quant, p->quant_shift, qcoeff, in vp9_xform_quant()
520 p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_xform_quant()
527 p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_xform_quant()
534 p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_xform_quant()
548 p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_xform_quant()
554 vpx_quantize_b(coeff, 256, x->skip_block, p->zbin, p->round, p->quant, in vp9_xform_quant()
560 vpx_quantize_b(coeff, 64, x->skip_block, p->zbin, p->round, p->quant, in vp9_xform_quant()
566 vpx_quantize_b(coeff, 16, x->skip_block, p->zbin, p->round, p->quant, in vp9_xform_quant()
812 p->round, p->quant, p->quant_shift, in vp9_encode_block_intra()
832 p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_encode_block_intra()
[all …]
Dvp9_block.h39 int16_t *quant; member
/external/icu/icu4c/source/i18n/
Dregexcst.txt68 quoted n expr-quant doLiteralChar
69 rule_char n expr-quant doLiteralChar
72 '.' n expr-quant doDotAny
73 '^' n expr-quant doCaret
74 '$' n expr-quant doDollar
84 # expr-quant We've just finished scanning a term, now look for the optional
87 expr-quant:
88 '*' n quant-star
89 '+' n quant-plus
90 '?' n quant-opt
[all …]
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_quantize_sse2.c40 __m128i round, quant, dequant; in vp9_quantize_fp_sse2() local
47 quant = _mm_load_si128((const __m128i *)quant_ptr); in vp9_quantize_fp_sse2()
70 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_quantize_fp_sse2()
71 quant = _mm_unpackhi_epi64(quant, quant); in vp9_quantize_fp_sse2()
72 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vp9_quantize_fp_sse2()
140 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_quantize_fp_sse2()
141 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vp9_quantize_fp_sse2()
Dvp9_dct_ssse3.c291 __m128i round, quant, dequant, thr; in vp9_fdct8x8_quant_ssse3() local
299 quant = _mm_load_si128((const __m128i *)quant_ptr); in vp9_fdct8x8_quant_ssse3()
322 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_fdct8x8_quant_ssse3()
323 quant = _mm_unpackhi_epi64(quant, quant); in vp9_fdct8x8_quant_ssse3()
324 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vp9_fdct8x8_quant_ssse3()
393 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vp9_fdct8x8_quant_ssse3()
394 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vp9_fdct8x8_quant_ssse3()
Dvp9_quantize_ssse3_x86_64.asm22 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, round, quant, \
35 mova m2, [quantq] ; m2 = quant
/external/libvpx/libvpx/vpx_dsp/x86/
Dquantize_sse2.c37 __m128i round, quant, dequant, shift; in vpx_quantize_b_sse2() local
46 quant = _mm_load_si128((const __m128i *)quant_ptr); in vpx_quantize_b_sse2()
76 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vpx_quantize_b_sse2()
77 quant = _mm_unpackhi_epi64(quant, quant); in vpx_quantize_b_sse2()
78 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vpx_quantize_b_sse2()
152 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant); in vpx_quantize_b_sse2()
153 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant); in vpx_quantize_b_sse2()
Dquantize_avx_x86_64.asm16 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
98 mova m2, [r5] ; m2 = quant
194 DEFINE_ARGS coeff, ncoeff, skip, zbin, round, quant, shift, \
206 mova m2, [quantq] ; m2 = quant
500 DEFINE_ARGS coeff, ncoeff, skip, zbin, round, quant, shift, \
/external/libvpx/libvpx/vpx_dsp/
Dquantize.c16 const int16_t *round_ptr, const int16_t quant, in vpx_quantize_dc() argument
30 tmp = (tmp * quant) >> 16; in vpx_quantize_dc()
41 const int16_t quant, tran_low_t *qcoeff_ptr, in vpx_highbd_quantize_dc() argument
54 const int abs_qcoeff = (int)((tmp * quant) >> 16); in vpx_highbd_quantize_dc()
64 const int16_t *round_ptr, const int16_t quant, in vpx_quantize_dc_32x32() argument
80 tmp = (tmp * quant) >> 15; in vpx_quantize_dc_32x32()
90 const int16_t *round_ptr, const int16_t quant, in vpx_highbd_quantize_dc_32x32() argument
106 const int abs_qcoeff = (int)((tmp * quant) >> 15); in vpx_highbd_quantize_dc_32x32()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_zscan.c178 struct ureg_dst quant, fragment; in create_frag_shader() local
198 quant = ureg_DECL_temporary(shader); in create_frag_shader()
215 …ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quan… in create_frag_shader()
218 ureg_MUL(shader, quant, ureg_src(quant), ureg_imm1f(shader, 16.0f)); in create_frag_shader()
219 ureg_MUL(shader, fragment, ureg_src(tmp[0]), ureg_src(quant)); in create_frag_shader()
511 buffer->quant = zscan->pipe->create_sampler_view(zscan->pipe, res, &sv_tmpl); in vl_zscan_init_buffer()
513 if (!buffer->quant) in vl_zscan_init_buffer()
526 pipe_sampler_view_reference(&buffer->quant, NULL); in vl_zscan_cleanup_buffer()
565 pipe, buffer->quant->texture, in vl_zscan_upload_quant()
Dvl_zscan.h63 struct pipe_sampler_view *src, *layout, *quant; member
/external/libvpx/libvpx/vp8/encoder/mips/msa/
Dquantize_msa.c16 int16_t *quant, int16_t *de_quant, in fast_quantize_b_msa() argument
41 LD_SH2(quant, 8, coeff0, coeff1); in fast_quantize_b_msa()
83 int16_t *quant, int16_t *quant_shift, int16_t *de_quant, int16_t zbin_oq_in, in exact_regular_quantize_b_msa() argument
111 LD_SH2(quant, 8, coeff0, coeff1); in exact_regular_quantize_b_msa()
201 int16_t *quant_ptr = b->quant; in vp8_regular_quantize_b_msa()
/external/libvpx/libvpx/vp8/encoder/
Dvp8_quantize.c56 short *quant_ptr = b->quant; in vp8_regular_quantize_b_c()
162 static void invert_quant(int improved_quant, short *quant, short *shift, in invert_quant() argument
170 *quant = (short)(m - (1 << 16)); in invert_quant()
175 *quant = (1 << 16) / d; in invert_quant()
346 x->block[i].quant = cpi->Y1quant[QIndex]; in vp8cx_mb_init_quantizer()
359 x->block[i].quant = cpi->UVquant[QIndex]; in vp8cx_mb_init_quantizer()
372 x->block[24].quant = cpi->Y2quant[QIndex]; in vp8cx_mb_init_quantizer()
Dblock.h39 short *quant; member
/external/libvorbis/lib/
Dpsy.c1032 float **quant = alloca(ch*sizeof(*quant)); in _vp_couple_quantize_normalize() local
1051 quant[0] = alloca(ch*partition*sizeof(**quant)); in _vp_couple_quantize_normalize()
1057 quant[i] = &quant[0][partition*i]; in _vp_couple_quantize_normalize()
1082 quant[k][j] = raw[k][j] = mdct[k][i+j]*mdct[k][i+j]; in _vp_couple_quantize_normalize()
1087 acc[track]=noise_normalize(p,limit,raw[k],quant[k],floor[k],NULL,acc[track],i,jn,iout); in _vp_couple_quantize_normalize()
1093 quant[k][j] = 0.f; in _vp_couple_quantize_normalize()
1110 float *qeM = quant[Mi]; in _vp_couple_quantize_normalize()
1111 float *qeA = quant[Ai]; in _vp_couple_quantize_normalize()
1180 acc[track]=noise_normalize(p,limit,raw[Mi],quant[Mi],floor[Mi],flag[Mi],acc[track],i,jn,iM); in _vp_couple_quantize_normalize()
/external/libvpx/libvpx/vp8/encoder/x86/
Dquantize_sse4.c45 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant)); in vp8_regular_quantize_b_sse4_1()
46 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8)); in vp8_regular_quantize_b_sse4_1()
Dvp8_quantize_sse2.c50 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant)); in vp8_regular_quantize_b_sse2()
51 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8)); in vp8_regular_quantize_b_sse2()
/external/speex/libspeex/
Dnb_celp.c591 int quant; in nb_encode() local
595 quant = PSHR16(MULT16_16_16(15, ol_pitch_coef),GAIN_SHIFT); in nb_encode()
597 quant = (int)floor(.5+15*ol_pitch_coef*GAIN_SCALING_1); in nb_encode()
599 if (quant>15) in nb_encode()
600 quant=15; in nb_encode()
601 if (quant<0) in nb_encode()
602 quant=0; in nb_encode()
603 speex_bits_pack(bits, quant, 4); in nb_encode()
604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT)); in nb_encode()
1264 int quant; in nb_decode() local
[all …]
Dsb_celp.c628 int quant = scal_quant(g, fold_quant_bound, 32); in sb_encode() local
630 if (quant<0) in sb_encode()
631 quant=0; in sb_encode()
632 if (quant>31) in sb_encode()
633 quant=31; in sb_encode()
634 speex_bits_pack(bits, quant, 5); in sb_encode()
1029 int quant; in sb_decode() local
1031 quant = speex_bits_unpack_unsigned(bits, 5); in sb_decode()
1032 g= spx_exp(MULT16_16(QCONST16(.125f,11),(quant-10))); in sb_decode()
/external/libvorbis/vq/
Dvqgen.h53 int quant; /* 0 < quant <= 16 */ member
/external/libxml2/
Dxmlregexp.c186 xmlRegQuantType quant; member
508 (ret->atoms[i]->quant == XML_REGEXP_QUANT_ONCE)) { in xmlRegEpxFromParse()
797 ret->quant = XML_REGEXP_QUANT_ONCE; in xmlRegNewAtom()
849 ret->quant = atom->quant; in xmlRegCopyAtom()
1095 xmlRegPrintQuantType(output, atom->quant); in xmlRegPrintAtom()
1096 if (atom->quant == XML_REGEXP_QUANT_RANGE) in xmlRegPrintAtom()
1562 (atom->quant != XML_REGEXP_QUANT_RANGE)) { in xmlFAGenerateTransitions()
1568 } else if ((to == NULL) && (atom->quant != XML_REGEXP_QUANT_RANGE) && in xmlFAGenerateTransitions()
1569 (atom->quant != XML_REGEXP_QUANT_ONCE)) { in xmlFAGenerateTransitions()
1576 switch (atom->quant) { in xmlFAGenerateTransitions()
[all …]
/external/libjpeg-turbo/
Djcparam.c328 #define SET_COMP(index,id,hsamp,vsamp,quant,dctbl,actbl) \ in jpeg_set_colorspace() argument
333 compptr->quant_tbl_no = (quant), \ in jpeg_set_colorspace()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jcparam.c396 #define SET_COMP(index,id,hsamp,vsamp,quant,dctbl,actbl) \ in jpeg_set_colorspace() argument
401 compptr->quant_tbl_no = (quant), \ in jpeg_set_colorspace()
/external/expat/lib/
Dxmlparse.c215 enum XML_Content_Quant quant; member
3833 enum XML_Content_Quant quant; in doProlog() local
4630 content->quant = XML_CQUANT_NONE; in doProlog()
4655 quant = XML_CQUANT_NONE; in doProlog()
4658 quant = XML_CQUANT_OPT; in doProlog()
4661 quant = XML_CQUANT_REP; in doProlog()
4664 quant = XML_CQUANT_PLUS; in doProlog()
4670 const char *nxt = (quant == XML_CQUANT_NONE in doProlog()
4677 dtd->scaffold[myindex].quant = quant; in doProlog()
4692 quant = XML_CQUANT_NONE; in doProlog()
[all …]

12