/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_quantize.c | 171 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 D | vp9_block.h | 39 int16_t *quant; member in struct:macroblock_plane
|
H A D | vp9_encodemb.c | 513 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 D | vp9_quantize_sse2.c | 40 __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 D | vp9_dct_ssse3.c | 291 __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 D | vp9_quantize_ssse3_x86_64.asm | 22 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 D | quantize_sse2.c | 37 __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 D | quantize_avx_x86_64.asm | 16 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 D | vp9_parser.cc | 482 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 D | vp9_parser.h | 407 size_t GetQIndex(const Vp9QuantizationParams& quant, size_t segid) const;
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_zscan.h | 63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer
|
H A D | vl_zscan.c | 182 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 D | quantize.c | 16 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 D | vid_enc.h | 83 OMX_VIDEO_PARAM_QUANTIZATIONTYPE quant; \
|
H A D | vid_enc.c | 244 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 D | quantize_sse4.c | 45 __m128i quant0 = _mm_load_si128((__m128i *)(b->quant)); 46 __m128i quant1 = _mm_load_si128((__m128i *)(b->quant + 8));
|
H A D | vp8_quantize_sse2.c | 50 __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 D | block.h | 39 short *quant; member in struct:block
|
H A D | vp8_quantize.c | 56 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 D | quantize_msa.c | 16 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 D | jcparam.c | 328 #define SET_COMP(index,id,hsamp,vsamp,quant,dctbl,actbl) \ 333 compptr->quant_tbl_no = (quant), \
|
/external/speex/libspeex/ |
H A D | sb_celp.c | 628 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 D | nb_celp.c | 591 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 D | xmlregexp.c | 186 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 D | ih264_iquant_itrans_recon_dc_a9.s | 45 @ * 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
|