Home
last modified time | relevance | path

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

123

/external/libaom/libaom/aom_dsp/
Dquantize.c18 const int16_t *round_ptr, const int16_t *quant_ptr, in quantize_b_adaptive_helper_c() argument
67 tmp32 = (int)(((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * in quantize_b_adaptive_helper_c()
109 const int16_t *quant_ptr, in quantize_b_helper_c() argument
152 tmp32 = (int)(((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) * in quantize_b_helper_c()
171 const int16_t *round_ptr, const int16_t *quant_ptr, in highbd_quantize_b_adaptive_helper_c() argument
221 const int64_t tmp2 = ((tmpw * quant_ptr[rc != 0]) >> 16) + tmpw; in highbd_quantize_b_adaptive_helper_c()
259 const int16_t *round_ptr, const int16_t *quant_ptr, in highbd_quantize_b_helper_c() argument
301 const int64_t tmp2 = ((tmpw * quant_ptr[rc != 0]) >> 16) + tmpw; in highbd_quantize_b_helper_c()
319 const int16_t *quant_ptr, in aom_quantize_b_adaptive_c() argument
325 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,
56 const int16_t *round_ptr, const int16_t *quant_ptr,
64 const int16_t *round_ptr, const int16_t *quant_ptr,
71 const int16_t *round_ptr, const int16_t *quant_ptr,
78 const int16_t *round_ptr, const int16_t *quant_ptr,
85 const int16_t *quant_ptr,
94 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] = (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/config/x86_64/
Dvp9_rtcd.h45 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
46 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
47 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
91 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
94 …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…
114 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
117 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
118 …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.h43 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
44 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
86 …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…
112 …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.h43 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
44 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
86 …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…
112 …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…
137 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
195 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
197 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
/external/libvpx/config/x86/
Dvp9_rtcd.h45 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
46 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
47 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
91 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
94 …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…
116 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
/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/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_quantize_neon.c31 const int16_t *quant_ptr, tran_low_t *qcoeff_ptr, in vp9_quantize_fp_neon() argument
42 int16x8_t v_quant = vmovq_n_s16(quant_ptr[1]); in vp9_quantize_fp_neon()
51 v_quant = vsetq_lane_s16(quant_ptr[0], v_quant, 0); in vp9_quantize_fp_neon()
75 v_quant = vmovq_n_s16(quant_ptr[1]); in vp9_quantize_fp_neon()
126 const int16_t *quant_ptr, in vp9_quantize_fp_32x32_neon() argument
135 const int16x8_t quant = vld1q_s16(quant_ptr); in vp9_quantize_fp_32x32_neon()
189 const int16x8_t quant = vmovq_n_s16(quant_ptr[1]); in vp9_quantize_fp_32x32_neon()
Dvp9_dct_neon.c24 const int16_t *quant_ptr, tran_low_t *qcoeff_ptr, in vp9_fdct8x8_quant_neon() argument
32 vp9_quantize_fp_neon(temp_buffer, n_coeffs, skip_block, round_ptr, quant_ptr, in vp9_fdct8x8_quant_neon()
/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/config/generic/
Dvp9_rtcd.h43 …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…
85 …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…
103 …tr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *quant_ptr, tran_low_t *qco…
/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()
137 const int16_t *quant_ptr, in av1_quantize_fp_avx2() argument
151 init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, &thr, qp); in av1_quantize_fp_avx2()
213 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_fp_32x32_avx2() argument
226 init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, &thr, qp); in av1_quantize_fp_32x32_avx2()
292 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_fp_64x64_avx2() argument
305 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/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()
/external/libaom/libaom/av1/encoder/arm/neon/
Dquantize_neon.c27 const int16_t *round_ptr, 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()
74 v_quant = vmovq_n_s16(quant_ptr[1]); in av1_quantize_fp_neon()
/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/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/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()
109 const int16_t *round_ptr, const int16_t *quant_ptr, in highbd_quantize_fp_helper_c() argument
142 (int)((tmp * quant_ptr[rc != 0] * wt) >> (shift + AOM_QM_BITS)); in highbd_quantize_fp_helper_c()
165 const int quant = quant_ptr[rc01]; in highbd_quantize_fp_helper_c()
184 const int16_t *quant_ptr, const int16_t *quant_shift_ptr, in av1_quantize_fp_c() argument
188 quantize_fp_helper_c(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, in av1_quantize_fp_c()
195 const int16_t *quant_ptr, in av1_quantize_fp_32x32_c() argument
200 quantize_fp_helper_c(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, in av1_quantize_fp_32x32_c()
[all …]
/external/libaom/libaom/av1/common/
Dav1_rtcd_defs.pl199 …effs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *…
202 …effs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *…
205 …effs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *…
266 …effs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *…
276 …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