Home
last modified time | relevance | path

Searched refs:quant_ptr (Results 1 – 25 of 52) sorted by relevance

123

/external/libaom/libaom/aom_dsp/
Dquantize.c18 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_quantize_b_adaptive_helper_c() argument
67 tmp32 = (int)(((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * in aom_quantize_b_adaptive_helper_c()
109 const int16_t *quant_ptr, in aom_quantize_b_helper_c() argument
153 tmp32 = (int)(((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * in aom_quantize_b_helper_c()
173 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_adaptive_helper_c() argument
219 const int64_t tmp2 = ((tmpw * quant_ptr[rc != 0]) >> 16) + tmpw; in aom_highbd_quantize_b_adaptive_helper_c()
260 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_helper_c() argument
302 const int64_t tmp2 = ((tmpw * quant_ptr[rc != 0]) >> 16) + tmpw; in aom_highbd_quantize_b_helper_c()
321 const int16_t *quant_ptr, in aom_quantize_b_adaptive_c() argument
327 quant_ptr, quant_shift_ptr, qcoeff_ptr, in aom_quantize_b_adaptive_c()
[all …]
Dquantize.h25 const int16_t *round_ptr, const int16_t *quant_ptr,
34 const int16_t *quant_ptr,
42 const int16_t *round_ptr, const int16_t *quant_ptr,
49 const int16_t *round_ptr, const int16_t *quant_ptr,
57 const int16_t *round_ptr, const int16_t *quant_ptr,
65 const int16_t *round_ptr, const int16_t *quant_ptr,
72 const int16_t *round_ptr, const int16_t *quant_ptr,
79 const int16_t *round_ptr, const int16_t *quant_ptr,
87 const int16_t *quant_ptr,
97 const int16_t *quant_ptr, const int16_t *quant_shift_ptr,
[all …]
/external/libaom/libaom/test/
Dav1_quantize_test.cc27 const int16_t *round_ptr, const int16_t *quant_ptr,
56 DECLARE_ALIGNED(16, int16_t, quant_ptr[8]); in RunQuantizeTest()
86 quant_ptr[j] = static_cast<int16_t>((1 << 16) / dequant_ptr[j]); in RunQuantizeTest()
93 quant_ptr[j] = quant_ptr[1]; in RunQuantizeTest()
96 quanFuncRef(coeff_ptr, count, zbin_ptr, round_ptr, quant_ptr, in RunQuantizeTest()
101 quanFunc(coeff_ptr, count, zbin_ptr, round_ptr, quant_ptr, in RunQuantizeTest()
131 DECLARE_ALIGNED(16, int16_t, quant_ptr[8]); in RunEobTest()
162 quant_ptr[j] = (1 << 16) / dequant_ptr[j]; in RunEobTest()
169 quant_ptr[j] = quant_ptr[1]; in RunEobTest()
173 quanFuncRef(coeff_ptr, count, zbin_ptr, round_ptr, quant_ptr, in RunEobTest()
[all …]
/external/libvpx/libvpx/vp8/encoder/mips/mmi/
Dvp8_quantize_mmi.c24 y = ((((x * quant_ptr[rc]) >> 16) + x) * quant_shift_ptr[rc]) >> 16; \
37 const int16_t *quant_ptr = b->quant_fast; in vp8_fast_quantize_b_mmi() local
192 [quant_ptr] "r"((mips_reg)quant_ptr), in vp8_fast_quantize_b_mmi()
208 const int16_t *quant_ptr = b->quant; in vp8_regular_quantize_b_mmi() local
/external/libaom/libaom/av1/encoder/arm/neon/
Dquantize_neon.c28 const int16_t *quant_ptr, in av1_quantize_fp_neon() argument
46 int16x8_t v_quant = vmovq_n_s16(quant_ptr[1]); in av1_quantize_fp_neon()
50 v_quant = vsetq_lane_s16(quant_ptr[0], v_quant, 0); in av1_quantize_fp_neon()
75 v_quant = vmovq_n_s16(quant_ptr[1]); in av1_quantize_fp_neon()
133 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_lp_neon() argument
143 int16x8_t v_quant = vmovq_n_s16(quant_ptr[1]); in av1_quantize_lp_neon()
148 v_quant = vsetq_lane_s16(quant_ptr[0], v_quant, 0); in av1_quantize_lp_neon()
172 v_quant = vmovq_n_s16(quant_ptr[1]); in av1_quantize_lp_neon()
/external/libvpx/config/x86_64/
Dvp9_rtcd.h86 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
89 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
107 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
108 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
109 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
112 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
113 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
/external/libvpx/config/arm-neon/
Dvp9_rtcd.h82 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
85 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
103 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
104 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
107 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
108 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
/external/libvpx/config/arm64/
Dvp9_rtcd.h82 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
85 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
103 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
104 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
107 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
108 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
/external/libvpx/libvpx/vp9/common/
Dvp9_rtcd_defs.pl131 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
134 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
198 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
200 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
/external/libvpx/libvpx/vpx_dsp/
Dquantize.c119 const int16_t *round_ptr, const int16_t *quant_ptr, in vpx_quantize_b_c() argument
155 tmp = ((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * in vpx_quantize_b_c()
170 const int16_t *round_ptr, const int16_t *quant_ptr, in vpx_highbd_quantize_b_c() argument
206 const int64_t tmp2 = ((tmp1 * quant_ptr[rc != 0]) >> 16) + tmp1; in vpx_highbd_quantize_b_c()
219 const int16_t *round_ptr, const int16_t *quant_ptr, in vpx_quantize_b_32x32_c() argument
258 tmp = ((((abs_coeff * quant_ptr[rc != 0]) >> 16) + abs_coeff) * in vpx_quantize_b_32x32_c()
281 const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, in vpx_highbd_quantize_b_32x32_c() argument
317 const int64_t tmp2 = ((tmp1 * quant_ptr[rc != 0]) >> 16) + tmp1; in vpx_highbd_quantize_b_32x32_c()
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_quantize_neon.c47 const int16_t *quant_ptr, tran_low_t *qcoeff_ptr, in vp9_quantize_fp_neon() argument
58 int16x8_t v_quant = vmovq_n_s16(quant_ptr[1]); in vp9_quantize_fp_neon()
67 v_quant = vsetq_lane_s16(quant_ptr[0], v_quant, 0); in vp9_quantize_fp_neon()
91 v_quant = vmovq_n_s16(quant_ptr[1]); in vp9_quantize_fp_neon()
142 const int16_t *quant_ptr, in vp9_quantize_fp_32x32_neon() argument
151 const int16x8_t quant = vld1q_s16(quant_ptr); in vp9_quantize_fp_32x32_neon()
208 const int16x8_t quant = vmovq_n_s16(quant_ptr[1]); in vp9_quantize_fp_32x32_neon()
/external/libvpx/config/x86/
Dvp9_rtcd.h86 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
89 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
107 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
108 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
111 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
/external/libaom/libaom/aom_dsp/x86/
Dhighbd_quantize_intrin_sse2.c21 const int16_t *quant_ptr, in aom_highbd_quantize_b_sse2() argument
80 const int64_t tmp4 = ((tmp3 * quant_ptr[k != 0]) >> 16) + tmp3; in aom_highbd_quantize_b_sse2()
94 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_32x32_sse2() argument
140 const int64_t tmp2 = ((tmp1 * quant_ptr[rc != 0]) >> 16) + tmp1; in aom_highbd_quantize_b_32x32_sse2()
152 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_64x64_sse2() argument
198 const int64_t tmp2 = ((tmp1 * quant_ptr[rc != 0]) >> 16) + tmp1; in aom_highbd_quantize_b_64x64_sse2()
Dhighbd_quantize_intrin_avx2.c33 const int16_t *quant_ptr, const int16_t *dequant_ptr, in init_qp() argument
37 const __m128i quant = _mm_loadu_si128((const __m128i *)quant_ptr); in init_qp()
115 const int16_t *quant_ptr, in aom_highbd_quantize_b_avx2() argument
124 init_qp(zbin_ptr, round_ptr, quant_ptr, dequant_ptr, quant_shift_ptr, qp); in aom_highbd_quantize_b_avx2()
Dadaptive_quantize_avx2.c20 const int16_t *quant_ptr, __m256i *quant, in load_b_values_avx2() argument
30 *quant = _mm256_castsi128_si256(_mm_load_si128((const __m128i *)quant_ptr)); in load_b_values_avx2()
98 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_quantize_b_adaptive_avx2() argument
129 load_b_values_avx2(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, in aom_quantize_b_adaptive_avx2()
/external/libaom/libaom/av1/encoder/x86/
Dav1_quantize_avx2.c45 static INLINE void init_qp(const int16_t *round_ptr, const int16_t *quant_ptr, in init_qp() argument
49 const __m128i quant = _mm_loadu_si128((const __m128i *)quant_ptr); in init_qp()
163 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_lp_avx2() argument
183 const __m128i quant = _mm_load_si128((const __m128i *)quant_ptr); in av1_quantize_lp_avx2()
252 const int16_t *quant_ptr, in av1_quantize_fp_avx2() argument
266 init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, &thr, qp); in av1_quantize_fp_avx2()
328 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_fp_32x32_avx2() argument
341 init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, &thr, qp); in av1_quantize_fp_32x32_avx2()
407 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_fp_64x64_avx2() argument
420 init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, &thr, qp); in av1_quantize_fp_64x64_avx2()
Dav1_highbd_quantize_avx2.c32 static INLINE void init_qp(const int16_t *round_ptr, const int16_t *quant_ptr, in init_qp() argument
40 const __m128i quant = _mm_loadu_si128((const __m128i *)quant_ptr); in init_qp()
92 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_highbd_quantize_fp_avx2() argument
102 init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, qp); in av1_highbd_quantize_fp_avx2()
Dav1_highbd_quantize_sse4.c117 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_highbd_quantize_fp_sse4_1() argument
141 qparam[1] = xx_set_64_from_32i(quant_ptr[1], quant_ptr[0]); in av1_highbd_quantize_fp_sse4_1()
152 qparam[1] = xx_set1_64_from_32i(quant_ptr[1]); in av1_highbd_quantize_fp_sse4_1()
/external/libvpx/config/generic/
Dvp9_rtcd.h79 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
82 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
97 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
100 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
/external/libvpx/libvpx/vpx_dsp/arm/
Dquantize_neon.c36 const int16_t *round_ptr, const int16_t *quant_ptr, in vpx_quantize_b_neon() argument
53 const int16x8_t quant = vld1q_s16(quant_ptr); in vpx_quantize_b_neon()
101 const int16x8_t quant = vdupq_n_s16(quant_ptr[1]); in vpx_quantize_b_neon()
194 const int16_t *quant_ptr, in vpx_quantize_b_32x32_neon() argument
213 const int16x8_t quant = vld1q_s16(quant_ptr); in vpx_quantize_b_32x32_neon()
259 const int16x8_t quant = vdupq_n_s16(quant_ptr[1]); in vpx_quantize_b_32x32_neon()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_quantize.c26 const int16_t *quant_ptr, tran_low_t *qcoeff_ptr, in vp9_quantize_fp_c() argument
47 tmp = (tmp * quant_ptr[rc != 0]) >> 16; in vp9_quantize_fp_c()
60 const int16_t *quant_ptr, tran_low_t *qcoeff_ptr, in vp9_highbd_quantize_fp_c() argument
82 const int abs_qcoeff = (int)((tmp * quant_ptr[rc != 0]) >> 16); in vp9_highbd_quantize_fp_c()
95 const int16_t *quant_ptr, tran_low_t *qcoeff_ptr, in vp9_quantize_fp_32x32_c() argument
117 tmp = (abs_coeff * quant_ptr[rc != 0]) >> 15; in vp9_quantize_fp_32x32_c()
130 const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qcoeff_ptr, in vp9_highbd_quantize_fp_32x32_c() argument
151 abs_qcoeff = (int)((tmp * quant_ptr[rc != 0]) >> 15); in vp9_highbd_quantize_fp_32x32_c()
/external/libaom/libaom/av1/encoder/
Dav1_quantize.c38 const int16_t *round_ptr, const int16_t *quant_ptr, in quantize_fp_helper_c() argument
66 tmp32 = (int)((abs_coeff * quant_ptr[rc != 0]) >> (16 - log_scale)); in quantize_fp_helper_c()
94 tmp32 = (int)((abs_coeff * wt * quant_ptr[rc != 0]) >> in quantize_fp_helper_c()
110 const int16_t *round_ptr, const int16_t *quant_ptr, in highbd_quantize_fp_helper_c() argument
143 (int)((tmp * quant_ptr[rc != 0] * wt) >> (shift + AOM_QM_BITS)); in highbd_quantize_fp_helper_c()
166 const int quant = quant_ptr[rc01]; in highbd_quantize_fp_helper_c()
186 const int16_t *quant_ptr, const int16_t *quant_shift_ptr, in av1_quantize_fp_c() argument
190 quantize_fp_helper_c(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, in av1_quantize_fp_c()
196 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_lp_c() argument
214 tmp = (tmp * quant_ptr[rc != 0]) >> 16; in av1_quantize_lp_c()
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_quantize_intrin_sse2.c23 const int16_t *quant_ptr, in vpx_highbd_quantize_b_sse2() argument
84 const int64_t tmp4 = ((tmp3 * quant_ptr[k != 0]) >> 16) + tmp3; in vpx_highbd_quantize_b_sse2()
98 const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, in vpx_highbd_quantize_b_32x32_sse2() argument
147 const int64_t tmp2 = ((tmp1 * quant_ptr[rc != 0]) >> 16) + tmp1; in vpx_highbd_quantize_b_32x32_sse2()
/external/libaom/libaom/av1/common/
Dav1_rtcd_defs.pl220 …effs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *…
223 …*coeff_ptr, intptr_t n_coeffs, const int16_t *round_ptr, const int16_t *quant_ptr, int16_t *qcoeff…
227 …effs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *…
230 …effs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *…
295 …effs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *…
304 …effs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *…
/external/libjpeg-turbo/
Djdmarker.c513 JQUANT_TBL *quant_ptr; in get_dqt() local
531 quant_ptr = cinfo->quant_tbl_ptrs[n]; in get_dqt()
539 quant_ptr->quantval[jpeg_natural_order[i]] = (UINT16)tmp; in get_dqt()
545 quant_ptr->quantval[i], quant_ptr->quantval[i + 1], in get_dqt()
546 quant_ptr->quantval[i + 2], quant_ptr->quantval[i + 3], in get_dqt()
547 quant_ptr->quantval[i + 4], quant_ptr->quantval[i + 5], in get_dqt()
548 quant_ptr->quantval[i + 6], quant_ptr->quantval[i + 7]); in get_dqt()

123