Home
last modified time | relevance | path

Searched refs:round_ptr (Results 1 – 25 of 47) sorted by relevance

12

/aosp_15_r20/external/libaom/aom_dsp/
H A Dquantize.c19 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_quantize_b_adaptive_helper_c() argument
65 clamp(abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale), in aom_quantize_b_adaptive_helper_c()
110 const int16_t *zbin_ptr, const int16_t *round_ptr, in aom_quantize_b_helper_c() argument
152 clamp(abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale), in aom_quantize_b_helper_c()
176 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_adaptive_helper_c() argument
220 abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale); in aom_highbd_quantize_b_adaptive_helper_c()
264 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_helper_c() argument
304 abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale); in aom_highbd_quantize_b_helper_c()
325 const int16_t *round_ptr, in aom_quantize_b_adaptive_c() argument
331 aom_quantize_b_adaptive_helper_c(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, in aom_quantize_b_adaptive_c()
[all …]
H A Dquantize.h28 const int16_t *round_ptr, const int16_t *quant_ptr,
36 const int16_t *round_ptr,
45 const int16_t *round_ptr, const int16_t *quant_ptr,
52 const int16_t *round_ptr, const int16_t *quant_ptr,
60 const int16_t *round_ptr, const int16_t *quant_ptr,
68 const int16_t *round_ptr, const int16_t *quant_ptr,
75 const int16_t *round_ptr, const int16_t *quant_ptr,
82 const int16_t *round_ptr, const int16_t *quant_ptr,
89 const int16_t *zbin_ptr, const int16_t *round_ptr,
99 const int16_t *zbin_ptr, const int16_t *round_ptr,
[all …]
H A Daom_dsp_rtcd_defs.pl731 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
734 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
737 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
741 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
744 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
747 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
753 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
756 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
759 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
763 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
[all …]
/aosp_15_r20/external/libaom/test/
H A Dav1_quantize_test.cc27 const int16_t *round_ptr, const int16_t *quant_ptr,
55 DECLARE_ALIGNED(16, int16_t, round_ptr[8]); in RunQuantizeTest()
87 round_ptr[j] = (abs(rnd(roundFactorRange)) * dequant_ptr[j]) >> 7; in RunQuantizeTest()
94 round_ptr[j] = round_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()
130 DECLARE_ALIGNED(16, int16_t, round_ptr[8]); in RunEobTest()
163 round_ptr[j] = (abs(rnd(roundFactorRange)) * dequant_ptr[j]) >> 7; in RunEobTest()
170 round_ptr[j] = round_ptr[1]; in RunEobTest()
173 quanFuncRef(coeff_ptr, count, zbin_ptr, round_ptr, quant_ptr, in RunEobTest()
[all …]
H A Dquantize_func_test.cc35 const int16_t *round_ptr, const int16_t *quant_ptr, \
41 const int16_t *coeff_ptr, intptr_t n_coeffs, const int16_t *round_ptr, \
53 fn(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, quant_shift_ptr, \
57 fn(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, quant_shift_ptr, \
129 const int16_t *round_ptr, const int16_t *quant_ptr,
275 const int16_t *zbin_ptr, const int16_t *round_ptr, in RunQuantizeFunc() argument
282 quant_ref_(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, in RunQuantizeFunc()
287 coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, quant_shift_ptr, in RunQuantizeFunc()
295 const int16_t * /*zbin_ptr*/, const int16_t *round_ptr, in RunQuantizeFunc() argument
302 quant_ref_(coeff_ptr, n_coeffs, round_ptr, quant_ptr, qcoeff_ref_ptr, in RunQuantizeFunc()
[all …]
/aosp_15_r20/external/libvpx/vpx_dsp/
H A Dquantize.c21 const int16_t *round_ptr, const int16_t quant, in vpx_quantize_dc() argument
33 tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX); in vpx_quantize_dc()
44 const int16_t *round_ptr, const int16_t quant, in vpx_highbd_quantize_dc() argument
56 const int64_t tmp = abs_coeff + round_ptr[0]; in vpx_highbd_quantize_dc()
68 const int16_t *round_ptr, const int16_t quant, in vpx_quantize_dc_32x32() argument
81 tmp = clamp(abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1), INT16_MIN, in vpx_quantize_dc_32x32()
93 const int16_t *round_ptr, const int16_t quant, in vpx_highbd_quantize_dc_32x32() argument
107 const int64_t tmp = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[0], 1); in vpx_highbd_quantize_dc_32x32()
126 const int16_t *round_ptr = mb_plane->round; in vpx_quantize_b_c() local
154 int tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX); in vpx_quantize_b_c()
[all …]
H A Dquantize.h22 const int16_t *round_ptr, const int16_t quant,
26 const int16_t *round_ptr, const int16_t quant,
32 const int16_t *round_ptr, const int16_t quant,
36 const int16_t *round_ptr, const int16_t quant,
/aosp_15_r20/external/libaom/av1/encoder/arm/
H A Dquantize_neon.c77 const int16_t *zbin_ptr, const int16_t *round_ptr, in av1_quantize_fp_neon() argument
94 int16x8_t v_round = vld1q_s16(round_ptr); in av1_quantize_fp_neon()
141 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_lp_neon() argument
151 int16x8_t v_round = vld1q_s16(round_ptr); in av1_quantize_lp_neon()
246 const tran_low_t *coeff_ptr, intptr_t n_coeffs, const int16_t *round_ptr, in quantize_fp_no_qmatrix_neon() argument
253 const int16x8_t v_round_no_scale = vld1q_s16(round_ptr); in quantize_fp_no_qmatrix_neon()
324 const int16_t *round_ptr, in av1_quantize_fp_32x32_neon() argument
333 quantize_fp_no_qmatrix_neon(coeff_ptr, n_coeffs, round_ptr, quant_ptr, in av1_quantize_fp_32x32_neon()
340 const int16_t *round_ptr, in av1_quantize_fp_64x64_neon() argument
349 quantize_fp_no_qmatrix_neon(coeff_ptr, n_coeffs, round_ptr, quant_ptr, in av1_quantize_fp_64x64_neon()
[all …]
/aosp_15_r20/external/libaom/aom_dsp/arm/
H A Dhighbd_quantize_neon.c142 const int16_t *round_ptr, const int16_t *quant_ptr, in highbd_quantize_b_neon() argument
151 const int16x4_t v_round_no_scale = vld1_s16(round_ptr); in highbd_quantize_b_neon()
240 const int16_t *round_ptr, in aom_highbd_quantize_b_neon() argument
246 highbd_quantize_b_neon(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, in aom_highbd_quantize_b_neon()
253 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_32x32_neon() argument
257 highbd_quantize_b_neon(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, in aom_highbd_quantize_b_32x32_neon()
264 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_64x64_neon() argument
268 highbd_quantize_b_neon(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, quant_ptr, in aom_highbd_quantize_b_64x64_neon()
276 const int16_t *round_ptr, const int16_t *quant_ptr, in highbd_quantize_b_adaptive_neon() argument
285 const int16x4_t v_round_no_scale = vld1_s16(round_ptr); in highbd_quantize_b_adaptive_neon()
[all …]
/aosp_15_r20/external/libaom/av1/encoder/
H A Dav1_quantize.c39 const int16_t round_ptr[2], int log_scale, in av1_quantize_fp_no_qmatrix()
46 const int rounding[2] = { ROUND_POWER_OF_TWO(round_ptr[0], log_scale), in av1_quantize_fp_no_qmatrix()
47 ROUND_POWER_OF_TWO(round_ptr[1], log_scale) }; in av1_quantize_fp_no_qmatrix()
73 const int16_t *round_ptr, const int16_t *quant_ptr, in quantize_fp_helper_c() argument
79 const int rounding[2] = { ROUND_POWER_OF_TWO(round_ptr[0], log_scale), in quantize_fp_helper_c()
80 ROUND_POWER_OF_TWO(round_ptr[1], log_scale) }; in quantize_fp_helper_c()
91 *eob_ptr = av1_quantize_fp_no_qmatrix(quant_ptr, dequant_ptr, round_ptr, in quantize_fp_helper_c()
128 const int16_t *round_ptr, const int16_t *quant_ptr, in highbd_quantize_fp_helper_c() argument
159 abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale); in highbd_quantize_fp_helper_c()
173 ROUND_POWER_OF_TWO(round_ptr[0], log_scale), in highbd_quantize_fp_helper_c()
[all …]
/aosp_15_r20/external/libaom/aom_dsp/x86/
H A Dquantize_avx2.c18 const int16_t *round_ptr, __m256i *round, in load_b_values_avx2() argument
35 *round = _mm256_castsi128_si256(_mm_load_si128((const __m128i *)round_ptr)); in load_b_values_avx2()
123 const int16_t *zbin_ptr, const int16_t *round_ptr, in aom_quantize_b_avx2() argument
133 load_b_values_avx2(zbin_ptr, &v_zbin, round_ptr, &v_round, quant_ptr, in aom_quantize_b_avx2()
209 const int16_t *round_ptr, const int16_t *quant_ptr, in quantize_b_no_qmatrix_avx2() argument
216 load_b_values_avx2(zbin_ptr, &v_zbin, round_ptr, &v_round, quant_ptr, in quantize_b_no_qmatrix_avx2()
250 const int16_t *round_ptr, in aom_quantize_b_32x32_avx2() argument
257 quantize_b_no_qmatrix_avx2(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, in aom_quantize_b_32x32_avx2()
264 const int16_t *round_ptr, in aom_quantize_b_64x64_avx2() argument
271 quantize_b_no_qmatrix_avx2(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, in aom_quantize_b_64x64_avx2()
H A Dhighbd_quantize_intrin_avx2.c32 static inline void init_qp(const int16_t *zbin_ptr, const int16_t *round_ptr, in init_qp() argument
37 const __m128i round = _mm_loadu_si128((const __m128i *)round_ptr); in init_qp()
187 const int16_t *round_ptr, in aom_highbd_quantize_b_avx2() argument
199 init_qp(zbin_ptr, round_ptr, quant_ptr, dequant_ptr, quant_shift_ptr, qp, 0); in aom_highbd_quantize_b_avx2()
226 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_32x32_avx2() argument
235 init_qp(zbin_ptr, round_ptr, quant_ptr, dequant_ptr, quant_shift_ptr, qp, 1); in aom_highbd_quantize_b_32x32_avx2()
262 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_64x64_avx2() argument
271 init_qp(zbin_ptr, round_ptr, quant_ptr, dequant_ptr, quant_shift_ptr, qp, 2); in aom_highbd_quantize_b_64x64_avx2()
H A Dhighbd_quantize_intrin_sse2.c21 const int16_t *round_ptr, in aom_highbd_quantize_b_sse2() argument
80 const int64_t tmp3 = abs_coeff[j] + round_ptr[k != 0]; in aom_highbd_quantize_b_sse2()
96 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_32x32_sse2() argument
141 const int64_t tmp1 = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in aom_highbd_quantize_b_32x32_sse2()
154 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_64x64_sse2() argument
199 const int64_t tmp1 = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 2); in aom_highbd_quantize_b_64x64_sse2()
H A Dhighbd_adaptive_quantize_avx2.c21 const int16_t *zbin_ptr, __m256i *zbin, const int16_t *round_ptr, in highbd_load_b_values_avx2() argument
27 *round = _mm256_cvtepi16_epi32(_mm_load_si128((const __m128i *)round_ptr)); in highbd_load_b_values_avx2()
107 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_adaptive_avx2() argument
139 highbd_load_b_values_avx2(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, in aom_highbd_quantize_b_adaptive_avx2()
275 const int16_t *round_ptr, const int16_t *quant_ptr, in aom_highbd_quantize_b_32x32_adaptive_avx2() argument
312 round = _mm256_cvtepi16_epi32(_mm_load_si128((const __m128i *)round_ptr)); in aom_highbd_quantize_b_32x32_adaptive_avx2()
H A Dadaptive_quantize_avx2.c19 const int16_t *round_ptr, __m256i *round, in load_b_values_avx2() argument
28 *round = _mm256_castsi128_si256(_mm_load_si128((const __m128i *)round_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()
H A Daom_quantize_avx.c32 const int16_t *zbin_ptr, const int16_t *round_ptr, in aom_quantize_b_avx() argument
53 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, in aom_quantize_b_avx()
150 const int16_t *zbin_ptr, const int16_t *round_ptr, in aom_quantize_b_32x32_avx() argument
181 round = _mm_load_si128((const __m128i *)round_ptr); in aom_quantize_b_32x32_avx()
/aosp_15_r20/external/libaom/av1/encoder/x86/
H A Dav1_quantize_avx2.c30 static inline void init_qp(const int16_t *round_ptr, const int16_t *quant_ptr, in init_qp() argument
33 __m128i round = _mm_loadu_si128((const __m128i *)round_ptr); in init_qp()
148 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_lp_avx2() argument
157 _mm256_castsi128_si256(_mm_load_si128((const __m128i *)round_ptr)); in av1_quantize_lp_avx2()
225 const int16_t *zbin_ptr, const int16_t *round_ptr, in av1_quantize_fp_avx2() argument
240 init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, &thr, qp); in av1_quantize_fp_avx2()
295 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_fp_32x32_avx2() argument
308 init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, &thr, qp); in av1_quantize_fp_32x32_avx2()
377 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_fp_64x64_avx2() argument
390 init_qp(round_ptr, quant_ptr, dequant_ptr, log_scale, &thr, qp); in av1_quantize_fp_64x64_avx2()
H A Dav1_highbd_quantize_avx2.c32 static inline void init_qp(const int16_t *round_ptr, const int16_t *quant_ptr, in init_qp() argument
35 __m128i round = _mm_loadu_si128((const __m128i *)round_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()
/aosp_15_r20/external/libvpx/vp8/encoder/mips/mmi/
H A Dvp8_quantize_mmi.c23 x += round_ptr[rc]; \
36 const int16_t *round_ptr = b->round; in vp8_fast_quantize_b_mmi() local
193 [round_ptr] "r"((mips_reg)round_ptr), in vp8_fast_quantize_b_mmi()
208 const int16_t *round_ptr = b->round; in vp8_regular_quantize_b_mmi() local
/aosp_15_r20/external/libvpx/vp9/encoder/
H A Dvp9_quantize.c32 const int16_t *round_ptr = mb_plane->round_fp; in vp9_quantize_fp_c() local
47 int tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX); in vp9_quantize_fp_c()
66 const int16_t *round_ptr = mb_plane->round_fp; in vp9_highbd_quantize_fp_c() local
80 const int64_t tmp = abs_coeff + round_ptr[rc != 0]; in vp9_highbd_quantize_fp_c()
98 const int16_t *round_ptr = mb_plane->round_fp; in vp9_quantize_fp_32x32_c() local
113 abs_coeff += ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in vp9_quantize_fp_32x32_c()
132 const int16_t *round_ptr = mb_plane->round_fp; in vp9_highbd_quantize_fp_32x32_c() local
147 const int64_t tmp = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in vp9_highbd_quantize_fp_32x32_c()
/aosp_15_r20/external/libaom/av1/common/
H A Dav1_rtcd_defs.pl314 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
317 …ntize_lp/, "const int16_t *coeff_ptr, intptr_t n_coeffs, const int16_t *round_ptr, const int16_t *…
320 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
323 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
326 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
404 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
419 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
/aosp_15_r20/external/libvpx/vp8/encoder/mips/msa/
H A Dquantize_msa.c186 int16_t *round_ptr = b->round; in vp8_fast_quantize_b_msa() local
192 *d->eob = fast_quantize_b_msa(coeff_ptr, round_ptr, quant_ptr, dequant_ptr, in vp8_fast_quantize_b_msa()
200 int16_t *round_ptr = b->round; in vp8_regular_quantize_b_msa() local
209 zbin_boost_ptr, coeff_ptr, zbin_ptr, round_ptr, quant_ptr, in vp8_regular_quantize_b_msa()
/aosp_15_r20/external/libaom/config/arm/config/
H A Dav1_rtcd.h126 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
127 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
476 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
477 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
585 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
588 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
589 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
592 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
593 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
596 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
[all …]
/aosp_15_r20/external/libvpx/vp9/encoder/ppc/
H A Dvp9_quantize_vsx.c42 const int16_t *round_ptr, const int16_t *quant_ptr, in vp9_quantize_fp_vsx() argument
49 int16x8_t round = vec_vsx_ld(0, round_ptr); in vp9_quantize_fp_vsx()
165 const int16_t *round_ptr, in vp9_quantize_fp_32x32_vsx() argument
182 int16x8_t round = vec_vsx_ld(0, round_ptr); in vp9_quantize_fp_32x32_vsx()
/aosp_15_r20/external/libvpx/vpx_dsp/ppc/
H A Dquantize_vsx.c97 const int16_t *zbin_ptr, const int16_t *round_ptr, in vpx_quantize_b_vsx() argument
108 int16x8_t round = vec_vsx_ld(0, round_ptr); in vpx_quantize_b_vsx()
196 const int16_t *zbin_ptr, const int16_t *round_ptr, in vpx_quantize_b_32x32_vsx() argument
216 int16x8_t round = vec_vsx_ld(0, round_ptr); in vpx_quantize_b_32x32_vsx()

12