Home
last modified time | relevance | path

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

12

/external/skia/tests/
DTextureCompressionTest.cpp264 uint32_t quant = static_cast<uint32_t>(lum); in DEF_TEST() local
265 quant >>= 1; // 1 in DEF_TEST()
266 quant += 9; // 2 in DEF_TEST()
267 quant >>= 1; // 3 in DEF_TEST()
272 a = quant >> 2; in DEF_TEST()
273 ar = (quant & 0x3) << 4; in DEF_TEST()
274 b = quant >> 4; in DEF_TEST()
275 br = (quant & 0xF) << 2; in DEF_TEST()
276 c = quant >> 6; in DEF_TEST()
277 cr = (quant & 0x3F); in DEF_TEST()
[all …]
/external/icu/icu4c/source/i18n/
Dregexcst.txt67 quoted n expr-quant doLiteralChar
68 rule_char n expr-quant doLiteralChar
71 '.' n expr-quant doDotAny
72 '^' n expr-quant doCaret
73 '$' n expr-quant doDollar
83 # expr-quant We've just finished scanning a term, now look for the optional
86 expr-quant:
87 '*' n quant-star
88 '+' n quant-plus
89 '?' n quant-opt
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_quantize.c23 const int16_t *round_ptr, const int16_t quant, in vp9_quantize_dc() argument
34 tmp = (tmp * quant) >> 16; in vp9_quantize_dc()
44 const int16_t *round_ptr, const int16_t quant, in vp9_quantize_dc_32x32() argument
56 tmp = (tmp * quant) >> 15; in vp9_quantize_dc_32x32()
266 p->zbin, p->round, p->quant, p->quant_shift, in vp9_regular_quantize_b_4x4()
272 static void invert_quant(int16_t *quant, int16_t *shift, int d) { in invert_quant() argument
279 *quant = (int16_t)(t - (1 << 16)); in invert_quant()
286 int i, q, quant; in vp9_init_quantizer() local
298 quant = i == 0 ? vp9_dc_quant(q, cm->y_dc_delta_q) in vp9_init_quantizer()
300 invert_quant(&quants->y_quant[q][i], &quants->y_quant_shift[q][i], quant); in vp9_init_quantizer()
[all …]
Dvp9_encodemb.c422 p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_xform_quant()
429 p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_xform_quant()
436 p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_xform_quant()
443 p->quant, p->quant_shift, qcoeff, dqcoeff, in vp9_xform_quant()
618 p->quant, p->quant_shift, qcoeff, dqcoeff, in encode_block_intra()
638 p->quant, p->quant_shift, qcoeff, dqcoeff, in encode_block_intra()
657 vp9_quantize_b(coeff, 64, x->skip_block, p->zbin, p->round, p->quant, in encode_block_intra()
681 vp9_quantize_b(coeff, 16, x->skip_block, p->zbin, p->round, p->quant, in encode_block_intra()
Dvp9_block.h39 int16_t *quant; member
/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/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/
Dquantize.c115 short *quant_ptr = b->quant; in vp8_regular_quantize_b_c()
176 quant_ptr = b->quant; in vp8_strict_quantize_b_c()
227 short *quant_ptr = b->quant; in vp8_regular_quantize_b_c()
408 static void invert_quant(int improved_quant, short *quant, in invert_quant() argument
419 *quant = (short)(t - (1<<16)); in invert_quant()
426 *quant = (1 << 16) / d; in invert_quant()
672 x->block[i].quant = cpi->Y1quant[QIndex]; in vp8cx_mb_init_quantizer()
686 x->block[i].quant = cpi->UVquant[QIndex]; in vp8cx_mb_init_quantizer()
699 x->block[24].quant = cpi->Y2quant[QIndex]; in vp8cx_mb_init_quantizer()
Dblock.h42 short *quant; member
Dvp8_asm_enc_offsets.c26 DEFINE(vp8_block_quant, offsetof(BLOCK, quant));
Dethreading.c372 z->block[i].quant = x->block[i].quant; in setup_mbby_copy()
/external/webp/src/
DAndroid.mk48 enc/quant.c \
87 dec/quant.c \
/external/libvpx/libvpx/vp8/encoder/x86/
Dquantize_sse4.c47 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant)); in vp8_regular_quantize_b_sse4_1()
48 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8)); in vp8_regular_quantize_b_sse4_1()
Dquantize_sse2.c53 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant)); in vp8_regular_quantize_b_sse2()
54 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8)); in vp8_regular_quantize_b_sse2()
/external/libvorbis/vq/
Dvqgen.h53 int quant; /* 0 < quant <= 16 */ member
Dvqgen.c171 float maxquant=((1<<q->quant)-1); in vqgen_quantize()
191 delta=(maxdel-mindel)/((1<<q->quant)-1.5f); in vqgen_quantize()
/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/skia/gyp/
Dlibwebp.gyp32 '../third_party/externals/libwebp/src/dec/quant.c',
121 '../third_party/externals/libwebp/src/enc/quant.c',
/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()
1561 (atom->quant != XML_REGEXP_QUANT_RANGE)) { in xmlFAGenerateTransitions()
1567 } else if ((to == NULL) && (atom->quant != XML_REGEXP_QUANT_RANGE) && in xmlFAGenerateTransitions()
1568 (atom->quant != XML_REGEXP_QUANT_ONCE)) { in xmlFAGenerateTransitions()
1575 switch (atom->quant) { in xmlFAGenerateTransitions()
[all …]
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_quantize_ssse3_x86_64.asm19 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
37 mova m2, [quantq] ; m2 = quant
222 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
236 mova m2, [quantq] ; m2 = quant
/external/jpeg/
Djcparam.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/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jcparam.c397 #define SET_COMP(index,id,hsamp,vsamp,quant,dctbl,actbl) \ in jpeg_set_colorspace() argument
402 compptr->quant_tbl_no = (quant), \ in jpeg_set_colorspace()
/external/expat/lib/
Dxmlparse.c207 enum XML_Content_Quant quant; member
3781 enum XML_Content_Quant quant; in doProlog() local
4578 content->quant = XML_CQUANT_NONE; in doProlog()
4603 quant = XML_CQUANT_NONE; in doProlog()
4606 quant = XML_CQUANT_OPT; in doProlog()
4609 quant = XML_CQUANT_REP; in doProlog()
4612 quant = XML_CQUANT_PLUS; in doProlog()
4618 const char *nxt = (quant == XML_CQUANT_NONE in doProlog()
4625 dtd->scaffold[myindex].quant = quant; in doProlog()
4640 quant = XML_CQUANT_NONE; in doProlog()
[all …]

12