HomeSort by relevance Sort by last modified time
    Searched refs:quant (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/skia/tests/
TextureCompressionTest.cpp 236 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 & 0x3F)
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
vp9_quantize.c 137 p->zbin, p->round, p->quant, p->quant_shift,
143 static void invert_quant(int16_t *quant, int16_t *shift, int d) {
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 = i == 0 ? vp9_dc_quant(q, cm->uv_dc_delta_q
    [all...]
vp9_encodemb.c 337 p->quant, p->quant_shift, qcoeff, dqcoeff,
344 p->quant, p->quant_shift, qcoeff, dqcoeff,
351 p->quant, p->quant_shift, qcoeff, dqcoeff,
358 p->quant, p->quant_shift, qcoeff, dqcoeff,
515 p->quant, p->quant_shift, qcoeff, dqcoeff,
535 p->quant, p->quant_shift, qcoeff, dqcoeff,
554 vp9_quantize_b(coeff, 64, x->skip_block, p->zbin, p->round, p->quant,
578 vp9_quantize_b(coeff, 16, x->skip_block, p->zbin, p->round, p->quant,
  /external/libvpx/libvpx/vp9/encoder/
vp9_quantize.c 204 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) {
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...]
vp9_block.h 37 int16_t *quant; member in struct:macroblock_plane
vp9_encodemb.c 518 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, p->quant_shift, qcoeff, dqcoeff
    [all...]
  /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/libvpx/libvpx/vp9/encoder/x86/
vp9_quantize_sse2.c 41 __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);
vp9_dct_ssse3.c 299 __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);
  /external/libvpx/libvpx/vpx_dsp/x86/
quantize_sse2.c 62 __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);
  /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/libvpx/libvpx/vpx_dsp/
quantize.c 16 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);
  /external/libvorbis/vq/
vqgen.h 53 int quant; /* 0 < quant <= 16 */ member in struct:__anon16407
  /hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/
viddec_mp4_videoobjectlayer.c 236 mp4_VOLQuant_mat_t *quant = &(vidObjLay->quant_mat_info); local
241 quant->load_intra_quant_mat = code;
242 if (quant->load_intra_quant_mat)
244 mp4_Parse_QuantMatrix(parent, &(quant->intra_quant_mat[0]));
248 mp4_copy_default_table((const uint8_t *)&mp4_DefaultIntraQuantMatrix[0], (uint8_t *)&(quant->intra_quant_mat[0]), 64);
253 quant->load_nonintra_quant_mat = code;
254 if (quant->load_nonintra_quant_mat)
256 mp4_Parse_QuantMatrix(parent, &(quant->nonintra_quant_mat[0]));
260 mp4_copy_default_table((const uint8_t *)&mp4_DefaultNonIntraQuantMatrix[0], (uint8_t *)&(quant->nonintra_quant_mat[0]), 64);
  /external/libvpx/libvpx/vp8/encoder/x86/
quantize_sse4.c 47 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant));
48 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8));
vp8_quantize_sse2.c 53 __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/
block.h 42 short *quant; member in struct:block
49 /* Zbin Over Quant value */
vp8_quantize.c 61 short *quant_ptr = b->quant;
224 static void invert_quant(int improved_quant, short *quant,
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];
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
block.h 42 short *quant; member in struct:block
49 /* 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/libvpx/libvpx/vp8/encoder/mips/msa/
quantize_msa.c 16 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;
  /external/webp/src/
Android.mk 62 enc/quant.c \
102 dec/quant.c \
  /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...]

Completed in 3144 milliseconds

1 2 3