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

12

/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_quantize.c171 p->zbin, p->round, p->quant, p->quant_shift,
179 p->round, p->quant, p->quant_shift,
185 static void invert_quant(int16_t *quant, int16_t *shift, int d) { argument
191 *quant = (int16_t)(m - (1 << 16));
196 const int quant = vp9_dc_quant(q, 0, bit_depth); local
199 case VPX_BITS_8: return q == 0 ? 64 : (quant < 148 ? 84 : 80);
200 case VPX_BITS_10: return q == 0 ? 64 : (quant < 592 ? 84 : 80);
201 case VPX_BITS_12: return q == 0 ? 64 : (quant < 2368 ? 84 : 80);
208 return q == 0 ? 64 : (quant < 148 ? 84 : 80);
215 int i, q, quant; local
[all...]
H A Dvp9_block.h39 int16_t *quant; member in struct:macroblock_plane
H A Dvp9_encodemb.c513 p->round, p->quant, p->quant_shift, qcoeff,
520 p->quant, p->quant_shift, qcoeff, dqcoeff,
527 p->quant, p->quant_shift, qcoeff, dqcoeff,
534 p->quant, p->quant_shift, qcoeff, dqcoeff,
548 p->quant, p->quant_shift, qcoeff, dqcoeff,
554 vpx_quantize_b(coeff, 256, x->skip_block, p->zbin, p->round, p->quant,
560 vpx_quantize_b(coeff, 64, x->skip_block, p->zbin, p->round, p->quant,
566 vpx_quantize_b(coeff, 16, x->skip_block, p->zbin, p->round, p->quant,
812 p->round, p->quant, p->quant_shift,
832 p->quant,
[all...]
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_quantize_sse2.c40 __m128i round, quant, dequant; local
47 quant = _mm_load_si128((const __m128i *)quant_ptr);
70 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
71 quant = _mm_unpackhi_epi64(quant, quant);
72 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
140 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
141 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
H A Dvp9_dct_ssse3.c291 __m128i round, quant, dequant, thr; local
299 quant = _mm_load_si128((const __m128i *)quant_ptr);
322 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
323 quant = _mm_unpackhi_epi64(quant, quant);
324 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
393 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
394 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
H A 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/
H A Dquantize_sse2.c37 __m128i round, quant, dequant, shift; local
46 quant = _mm_load_si128((const __m128i *)quant_ptr);
76 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
77 quant = _mm_unpackhi_epi64(quant, quant);
78 qtmp1 = _mm_mulhi_epi16(qcoeff1, quant);
152 qtmp0 = _mm_mulhi_epi16(qcoeff0, quant);
153 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/v4l2_codec2/vda/
H A Dvp9_parser.cc482 size_t Vp9Parser::GetQIndex(const Vp9QuantizationParams& quant, argument
492 : quant.base_q_idx + feature_data;
496 return quant.base_q_idx;
501 const Vp9QuantizationParams& quant = curr_frame_header_.quant_params; local
510 const size_t q_index = GetQIndex(quant, i);
512 kDcQLookup[ClampQ(q_index + quant.delta_q_y_dc)];
515 kDcQLookup[ClampQ(q_index + quant.delta_q_uv_dc)];
517 kAcQLookup[ClampQ(q_index + quant.delta_q_uv_ac)];
520 const size_t q_index = quant.base_q_idx;
522 kDcQLookup[ClampQ(q_index + quant
[all...]
H A Dvp9_parser.h407 size_t GetQIndex(const Vp9QuantizationParams& quant, size_t segid) const;
/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.c182 struct ureg_dst quant, fragment; local
202 quant = ureg_DECL_temporary(shader);
209 * fragment = tex(tmp, 0) * quant
219 ureg_TEX(shader, ureg_writemask(quant, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, vtex[i], samp_quant);
222 ureg_MUL(shader, quant, ureg_src(quant), ureg_imm1f(shader, 16.0f));
223 ureg_MUL(shader, fragment, ureg_src(tmp[0]), ureg_src(quant));
503 buffer->quant = zscan->pipe->create_sampler_view(zscan->pipe, res, &sv_tmpl);
505 if (!buffer->quant)
518 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;
41 const int16_t quant, tran_low_t *qcoeff_ptr,
54 const int abs_qcoeff = (int)((tmp * quant) >> 16);
64 const int16_t *round_ptr, const int16_t quant,
80 tmp = (tmp * quant) >> 15;
90 const int16_t *round_ptr, const int16_t quant,
106 const int abs_qcoeff = (int)((tmp * quant) >> 15);
15 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
39 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
63 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
89 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/mesa3d/src/gallium/state_trackers/omx/
H A Dvid_enc.h83 OMX_VIDEO_PARAM_QUANTIZATIONTYPE quant; \
H A Dvid_enc.c244 priv->quant.nQpI = OMX_VID_ENC_QUANT_I_FRAMES_DEFAULT;
245 priv->quant.nQpP = OMX_VID_ENC_QUANT_P_FRAMES_DEFAULT;
246 priv->quant.nQpB = OMX_VID_ENC_QUANT_B_FRAMES_DEFAULT;
411 OMX_VIDEO_PARAM_QUANTIZATIONTYPE *quant = param; local
417 priv->quant = *quant;
494 OMX_VIDEO_PARAM_QUANTIZATIONTYPE *quant = param; local
500 quant->nQpI = priv->quant.nQpI;
501 quant
[all...]
/external/libvpx/libvpx/vp8/encoder/x86/
H A Dquantize_sse4.c45 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant));
46 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8));
H A Dvp8_quantize_sse2.c50 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant));
51 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8));
172 /* y = (x * quant) >> 16 */
/external/libvpx/libvpx/vp8/encoder/
H A Dblock.h39 short *quant; member in struct:block
H A Dvp8_quantize.c56 short *quant_ptr = b->quant;
162 static void invert_quant(int improved_quant, short *quant, short *shift, argument
170 *quant = (short)(m - (1 << 16));
175 *quant = (1 << 16) / d;
346 x->block[i].quant = cpi->Y1quant[QIndex];
359 x->block[i].quant = cpi->UVquant[QIndex];
372 x->block[24].quant = cpi->Y2quant[QIndex];
/external/libvpx/libvpx/vp8/encoder/mips/msa/
H A Dquantize_msa.c16 int16_t *quant, int16_t *de_quant,
41 LD_SH2(quant, 8, coeff0, coeff1);
83 int16_t *quant, int16_t *quant_shift, int16_t *de_quant, int16_t zbin_oq_in,
111 LD_SH2(quant, 8, coeff0, coeff1);
201 int16_t *quant_ptr = b->quant;
15 fast_quantize_b_msa(int16_t *coeff_ptr, int16_t *round, int16_t *quant, int16_t *de_quant, int16_t *q_coeff, int16_t *dq_coeff) argument
81 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/libjpeg-turbo/
H A Djcparam.c328 #define SET_COMP(index,id,hsamp,vsamp,quant,dctbl,actbl) \
333 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)
1562 (atom->quant != XML_REGEXP_QUANT_RANGE)) {
1568 } else if ((to == NULL) && (atom->quant != XML_REGEXP_QUANT_RANGE) &&
1569 (atom->quant !
[all...]
/external/libavc/common/arm/
H A Dih264_iquant_itrans_recon_dc_a9.s45 @ * This function performs inverse quant and Inverse transform type Ci4 for 4*4 block
175 @ * This function performs inverse quant and Inverse transform type Ci4 for 8*8 block

Completed in 1629 milliseconds

12