Home
last modified time | relevance | path

Searched refs:quant_shift (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/vpx_dsp/loongarch/
Dquantize_lsx.c101 __m128i zbin, round, quant, dequant, quant_shift; in vpx_quantize_b_lsx() local
113 quant_shift = __lsx_vld(quant_shift_ptr, 0); in vpx_quantize_b_lsx()
124 calculate_qcoeff(coeff0, qcoeff0, round, quant, quant_shift, cmp_mask0); in vpx_quantize_b_lsx()
127 quant_shift = __lsx_vilvh_d(quant_shift, quant_shift); in vpx_quantize_b_lsx()
129 calculate_qcoeff(coeff1, qcoeff1, round, quant, quant_shift, cmp_mask1); in vpx_quantize_b_lsx()
151 calculate_qcoeff(coeff0, qcoeff0, round, quant, quant_shift, cmp_mask0); in vpx_quantize_b_lsx()
153 calculate_qcoeff(coeff1, qcoeff1, round, quant, quant_shift, cmp_mask1); in vpx_quantize_b_lsx()
180 __m128i zbin, round, quant, dequant, quant_shift; in vpx_quantize_b_32x32_lsx() local
194 quant_shift = __lsx_vld(quant_shift_ptr, 0); in vpx_quantize_b_32x32_lsx()
195 quant_shift = __lsx_vslli_h(quant_shift, 1); in vpx_quantize_b_32x32_lsx()
[all …]
/external/libvpx/vpx_dsp/ppc/
Dquantize_vsx.c41 int16x8_t quant_shift, bool16x8_t mask) { in quantize_coeff() argument
45 qcoeff = vec_mulhi(qcoeff, quant_shift); in quantize_coeff()
53 int16x8_t quant_shift, in quantize_coeff_32() argument
61 qcoeff = vec_madds(qcoeff, quant_shift, vec_zeros_s16); in quantize_coeff_32()
111 int16x8_t quant_shift = vec_vsx_ld(0, quant_shift_ptr); in vpx_quantize_b_vsx() local
126 quantize_coeff(coeff0, coeff0_abs, round, quant, quant_shift, zero_mask0); in vpx_quantize_b_vsx()
130 quant_shift = vec_splat(quant_shift, 1); in vpx_quantize_b_vsx()
132 quantize_coeff(coeff1, coeff1_abs, round, quant, quant_shift, zero_mask1); in vpx_quantize_b_vsx()
161 qcoeff0 = quantize_coeff(coeff0, coeff0_abs, round, quant, quant_shift, in vpx_quantize_b_vsx()
163 qcoeff1 = quantize_coeff(coeff1, coeff1_abs, round, quant, quant_shift, in vpx_quantize_b_vsx()
[all …]
/external/libvpx/vpx_dsp/arm/
Dhighbd_quantize_neon.c26 const int32x4_t round, const int32x4_t quant, const int32x4_t quant_shift, in highbd_quantize_8_neon() argument
55 qcoeff_tmp_0 = vqdmulhq_s32(qcoeff_tmp_0, quant_shift); in highbd_quantize_8_neon()
57 vqdmulhq_s32(qcoeff_tmp_1, vdupq_lane_s32(vget_low_s32(quant_shift), 1)); in highbd_quantize_8_neon()
74 const int32x4_t quant_shift, const int32x4_t dequant) { in highbd_quantize_b_neon() argument
80 highbd_quantize_8_neon(coeff_0, coeff_1, zbin, round, quant, quant_shift, in highbd_quantize_b_neon()
116 int32x4_t quant_shift = vshlq_n_s32(vmovl_s16(vld1_s16(quant_shift_ptr)), 15); in vpx_highbd_quantize_b_neon() local
125 quant, quant_shift, dequant); in vpx_highbd_quantize_b_neon()
144 quant_shift = vdupq_lane_s32(vget_low_s32(quant_shift), 1); in vpx_highbd_quantize_b_neon()
152 round, quant, quant_shift, dequant); in vpx_highbd_quantize_b_neon()
203 const int32x4_t quant, const int32x4_t quant_shift, in highbd_quantize_b_32x32_neon() argument
[all …]
Dquantize_neon.c38 const int16x8_t quant_shift, const int16x8_t dequant) { in quantize_b_neon() argument
56 qcoeff = vshrq_n_s16(vqdmulhq_s16(qcoeff, quant_shift), 1); in quantize_b_neon()
85 int16x8_t quant_shift = vld1q_s16(quant_shift_ptr); in vpx_quantize_b_neon() local
94 quant_shift, dequant); in vpx_quantize_b_neon()
112 quant_shift = vdupq_lane_s16(vget_low_s16(quant_shift), 1); in vpx_quantize_b_neon()
120 quant, quant_shift, dequant); in vpx_quantize_b_neon()
181 const int16x8_t quant_shift, const int16x8_t dequant) { in quantize_b_32x32_neon() argument
199 qcoeff = vqdmulhq_s16(qcoeff, quant_shift); in quantize_b_32x32_neon()
232 int16x8_t quant_shift = vld1q_s16(quant_shift_ptr); in vpx_quantize_b_32x32_neon() local
241 quant, quant_shift, dequant); in vpx_quantize_b_32x32_neon()
[all …]
/external/libvpx/vp9/encoder/
Dvp9_encodemb.c515 coeff, 1024, p->zbin, p->round, p->quant, p->quant_shift, qcoeff, in vp9_xform_quant()
521 p->quant_shift, qcoeff, dqcoeff, pd->dequant, eob, in vp9_xform_quant()
527 p->quant_shift, qcoeff, dqcoeff, pd->dequant, eob, in vp9_xform_quant()
534 p->quant_shift, qcoeff, dqcoeff, pd->dequant, eob, in vp9_xform_quant()
546 p->quant_shift, qcoeff, dqcoeff, pd->dequant, eob, in vp9_xform_quant()
551 vpx_quantize_b(coeff, 256, p->zbin, p->round, p->quant, p->quant_shift, in vp9_xform_quant()
557 vpx_quantize_b(coeff, 64, p->zbin, p->round, p->quant, p->quant_shift, in vp9_xform_quant()
564 vpx_quantize_b(coeff, 16, p->zbin, p->round, p->quant, p->quant_shift, in vp9_xform_quant()
861 coeff, 1024, p->zbin, p->round, p->quant, p->quant_shift, qcoeff, in vp9_encode_block_intra()
880 p->quant_shift, qcoeff, dqcoeff, pd->dequant, in vp9_encode_block_intra()
[all …]
Dvp9_block.h40 int16_t *quant_shift; member
Dvp9_quantize.c254 x->plane[0].quant_shift = quants->y_quant_shift[qindex]; in vp9_init_plane_quantizers()
267 x->plane[i].quant_shift = quants->uv_quant_shift[qindex]; in vp9_init_plane_quantizers()
Dvp9_rdopt.c1157 p->quant_shift, qcoeff, dqcoeff, pd->dequant, in rd_pick_intra4x4block()
1177 p->quant_shift, qcoeff, dqcoeff, pd->dequant, in rd_pick_intra4x4block()
1264 p->quant_shift, qcoeff, dqcoeff, pd->dequant, eob, in rd_pick_intra4x4block()
1281 p->quant_shift, qcoeff, dqcoeff, pd->dequant, eob, in rd_pick_intra4x4block()
1736 p->quant_shift, qcoeff, dqcoeff, pd->dequant, eob, in encode_inter_mb_segment()
1741 vpx_quantize_b(coeff, 4 * 4, p->zbin, p->round, p->quant, p->quant_shift, in encode_inter_mb_segment()
/external/libvpx/vp8/encoder/loongarch/
Dvp8_quantize_lsx.c48 int16_t *quant, int16_t *quant_shift, int16_t *de_quant, int16_t zbin_oq_in, in exact_regular_quantize_b_lsx() argument
87 DUP2_ARG2(__lsx_vld, quant_shift, 0, quant_shift, 16, tmp1, tmp3); in exact_regular_quantize_b_lsx()
136 int16_t *quant_shift_ptr = b->quant_shift; in vp8_regular_quantize_b_lsx()
/external/libvpx/test/
Dvp9_quantize_test.cc42 const int16_t *quant, const int16_t *quant_shift,
60 const int16_t *quant, const int16_t *quant_shift, in QuantFPWrapper() argument
65 (void)quant_shift; in QuantFPWrapper()
71 int16_t *quant, int16_t *quant_shift, in GenerateHelperArrays() argument
94 quant_shift[j] = rnd->RandRange(16384); in GenerateHelperArrays()
104 quant_shift[j] = quant_shift[1]; in GenerateHelperArrays()
/external/libvpx/vp8/encoder/x86/
Dquantize_sse4.c26 __m128i quant_shift0 = _mm_load_si128((__m128i *)(b->quant_shift)); in vp8_regular_quantize_b_sse4_1()
27 __m128i quant_shift1 = _mm_load_si128((__m128i *)(b->quant_shift + 8)); in vp8_regular_quantize_b_sse4_1()
Dvp8_quantize_sse2.c41 __m128i quant_shift0 = _mm_load_si128((__m128i *)(b->quant_shift)); in vp8_regular_quantize_b_sse2()
42 __m128i quant_shift1 = _mm_load_si128((__m128i *)(b->quant_shift + 8)); in vp8_regular_quantize_b_sse2()
/external/ComputeLibrary/src/core/utils/quantization/
DAsymmHelpers.cpp138 int32_t quant_shift = 0; in calculate_quantized_multipliers() local
139 …MPUTE_RETURN_ON_ERROR(calculate_quantized_multiplier(multiplier, &quant_multiplier, &quant_shift)); in calculate_quantized_multipliers()
141 quant_shifts[i] = quant_shift; in calculate_quantized_multipliers()
/external/libvpx/vp8/encoder/mips/msa/
Dquantize_msa.c83 int16_t *quant, int16_t *quant_shift, int16_t *de_quant, int16_t zbin_oq_in, in exact_regular_quantize_b_msa() argument
131 LD_SH2(quant_shift, 8, coeff0, coeff1); in exact_regular_quantize_b_msa()
202 int16_t *quant_shift_ptr = b->quant_shift; in vp8_regular_quantize_b_msa()
/external/libvpx/vp8/encoder/
Dvp8_quantize.c57 short *quant_shift_ptr = b->quant_shift; in vp8_regular_quantize_b_c()
346 x->block[i].quant_shift = cpi->Y1quant_shift[QIndex]; in vp8cx_mb_init_quantizer()
359 x->block[i].quant_shift = cpi->UVquant_shift[QIndex]; in vp8cx_mb_init_quantizer()
371 x->block[24].quant_shift = cpi->Y2quant_shift[QIndex]; in vp8cx_mb_init_quantizer()
Dblock.h41 short *quant_shift; member
Dethreading.c364 z->block[i].quant_shift = x->block[i].quant_shift; in setup_mbby_copy()
/external/libaom/test/
Dquantize_func_test.cc162 const int16_t *quant_shift = qtab_->quant.y_quant_shift[q]; in QuantizeRun() local
170 RunQuantizeFunc(coeff_ptr, n_coeffs, zbin, round, quant, quant_shift, in QuantizeRun()
361 const int16_t *quant_shift = qtab_->quant.y_quant_shift[q]; in TEST_P() local
374 quant_ref_(coeff_ptr, n_coeffs, zbin, round_fp, quant_fp, quant_shift, in TEST_P()
381 quant_(coeff_ptr, n_coeffs, zbin, round_fp, quant_fp, quant_shift, qcoeff, in TEST_P()
/external/libvpx/vpx_dsp/x86/
Dhighbd_quantize_intrin_avx2.c39 const __m128i quant_shift = _mm_loadu_si128((const __m128i *)quant_shift_ptr); in init_qp() local
44 init_one_qp(&quant_shift, &qp[4]); in init_qp()
/external/libaom/aom_dsp/x86/
Dhighbd_quantize_intrin_avx2.c40 const __m128i quant_shift = _mm_loadu_si128((const __m128i *)quant_shift_ptr); in init_qp() local
45 init_one_qp(&quant_shift, &qp[4]); in init_qp()
/external/libvpx/vp8/encoder/mips/mmi/
Dvp8_quantize_mmi.c210 const int16_t *quant_shift_ptr = b->quant_shift; in vp8_regular_quantize_b_mmi()