Searched refs:quant (Results 1 - 25 of 38) sorted by relevance

12

/external/skia/tests/
H A DTextureCompressionTest.cpp236 uint32_t quant = static_cast<uint32_t>(lum); local
237 quant >>= 1; // 1
238 quant += 9; // 2
239 quant >>= 1; // 3
244 a = quant >> 2;
245 ar = (quant & 0x3) << 4;
246 b = quant >> 4;
247 br = (quant & 0xF) << 2;
248 c = quant >> 6;
249 cr = (quant
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_quantize.c204 p->zbin, p->round, p->quant, p->quant_shift,
214 p->zbin, p->round, p->quant, p->quant_shift,
220 static void invert_quant(int16_t *quant, int16_t *shift, int d) { argument
227 *quant = (int16_t)(t - (1 << 16));
232 const int quant = vp9_dc_quant(q, 0, bit_depth); local
236 return q == 0 ? 64 : (quant < 148 ? 84 : 80);
238 return q == 0 ? 64 : (quant < 592 ? 84 : 80);
240 return q == 0 ? 64 : (quant < 2368 ? 84 : 80);
247 return q == 0 ? 64 : (quant < 148 ? 84 : 80);
254 int i, q, quant; local
[all...]
H A Dvp9_block.h37 int16_t *quant; member in struct:macroblock_plane
H A Dvp9_encodemb.c518 p->round, p->quant, p->quant_shift, qcoeff,
525 p->quant, p->quant_shift, qcoeff, dqcoeff,
532 p->quant, p->quant_shift, qcoeff, dqcoeff,
539 p->quant, p->quant_shift, qcoeff, dqcoeff,
554 p->quant, p->quant_shift, qcoeff, dqcoeff,
561 p->quant, p->quant_shift, qcoeff, dqcoeff,
568 p->quant, p->quant_shift, qcoeff, dqcoeff,
575 p->quant, p->quant_shift, qcoeff, dqcoeff,
818 p->round, p->quant, p->quant_shift,
835 p->quant,
[all...]
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_quantize_sse2.c41 __m128i round, quant, dequant; local
48 quant = _mm_load_si128((const __m128i*)quant_ptr);
71 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
72 quant = _mm_unpackhi_epi64(quant, quant);
73 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
141 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
142 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
H A Dvp9_dct_ssse3.c299 __m128i round, quant, dequant, thr; local
307 quant = _mm_load_si128((const __m128i*)quant_ptr);
330 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
331 quant = _mm_unpackhi_epi64(quant, quant);
332 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
401 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
402 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
H A Dvp9_quantize_ssse3_x86_64.asm21 cglobal quantize_%1, 0, %2, 15, coeff, ncoeff, skip, zbin, round, quant, \
35 mova m2, [quantq] ; m2 = quant
/external/libvpx/libvpx/vpx_dsp/x86/
H A Dquantize_sse2.c62 __m128i round, quant, dequant, shift; local
71 quant = _mm_load_si128((const __m128i*)quant_ptr);
101 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
102 quant = _mm_unpackhi_epi64(quant, quant);
103 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
177 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
178 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
H A 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/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/libvpx/libvpx/vpx_dsp/
H A Dquantize.c16 const int16_t *round_ptr, const int16_t quant,
30 tmp = (tmp * quant) >> 16;
42 const int16_t *round_ptr, const int16_t quant,
55 const uint32_t abs_qcoeff = (uint32_t)((tmp * quant) >> 16);
66 const int16_t *round_ptr, const int16_t quant,
82 tmp = (tmp * quant) >> 15;
95 const int16_t quant,
111 const uint32_t abs_qcoeff = (uint32_t)((tmp * quant) >> 15);
14 vpx_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs, 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
40 vpx_highbd_quantize_dc(const tran_low_t *coeff_ptr, int n_coeffs, 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
65 vpx_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
92 vpx_highbd_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
/external/libvorbis/vq/
H A Dvqgen.h53 int quant; /* 0 < quant <= 16 */ member in struct:__anon10905
/external/libvpx/libvpx/vp8/encoder/x86/
H A Dquantize_sse4.c47 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant));
48 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8));
H A Dvp8_quantize_sse2.c53 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant));
54 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8));
174 /* y = (x * quant) >> 16 */
/external/libvpx/libvpx/vp8/encoder/
H A Dblock.h42 short *quant; member in struct:block
H A Dvp8_quantize.c61 short *quant_ptr = b->quant;
224 static void invert_quant(int improved_quant, short *quant, argument
235 *quant = (short)(t - (1<<16));
242 *quant = (1 << 16) / d;
426 x->block[i].quant = cpi->Y1quant[QIndex];
440 x->block[i].quant = cpi->UVquant[QIndex];
453 x->block[24].quant = cpi->Y2quant[QIndex];
/external/libvpx/libvpx/vp8/encoder/mips/msa/
H A Dquantize_msa.c16 int16_t *round, int16_t *quant,
44 LD_SH2(quant, 8, coeff0, coeff1);
91 int16_t *quant,
125 LD_SH2(quant, 8, coeff0, coeff1);
234 int16_t *quant_ptr = b->quant;
15 fast_quantize_b_msa(int16_t *coeff_ptr, int16_t *zbin, int16_t *round, int16_t *quant, int16_t *de_quant, int16_t *q_coeff, int16_t *dq_coeff) argument
87 exact_regular_quantize_b_msa(int16_t *zbin_boost, int16_t *coeff_ptr, int16_t *zbin, int16_t *round, int16_t *quant, int16_t *quant_shift, int16_t *de_quant, int16_t zbin_oq_in, int16_t *q_coeff, int16_t *dq_coeff) argument
/external/webp/src/
H A DAndroid.mk62 enc/quant.c \
102 dec/quant.c \
/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/libjpeg-turbo/
H A Djcparam.c327 #define SET_COMP(index,id,hsamp,vsamp,quant,dctbl,actbl) \
332 compptr->quant_tbl_no = (quant), \
/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/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...]
/external/icu/icu4c/source/i18n/
H A DAndroid.mk135 quant.cpp \

Completed in 609 milliseconds

12