Home
last modified time | relevance | path

Searched refs:round_ptr (Results 1 – 25 of 51) 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
64 clamp(abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale), in aom_quantize_b_adaptive_helper_c()
108 const int16_t *zbin_ptr, const int16_t *round_ptr, in aom_quantize_b_helper_c() argument
150 clamp(abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale), 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
217 abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale); 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
300 abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale); in aom_highbd_quantize_b_helper_c()
320 const int16_t *round_ptr, in aom_quantize_b_adaptive_c() argument
326 aom_quantize_b_adaptive_helper_c(coeff_ptr, n_coeffs, zbin_ptr, round_ptr, in aom_quantize_b_adaptive_c()
[all …]
Dquantize.h25 const int16_t *round_ptr, const int16_t *quant_ptr,
33 const int16_t *round_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,
86 const int16_t *zbin_ptr, const int16_t *round_ptr,
96 const int16_t *zbin_ptr, const int16_t *round_ptr,
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dquantize.c19 const int16_t *round_ptr, const int16_t quant, in vpx_quantize_dc() argument
32 tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX); in vpx_quantize_dc()
43 int skip_block, const int16_t *round_ptr, in vpx_highbd_quantize_dc() argument
56 const int64_t tmp = abs_coeff + round_ptr[0]; in vpx_highbd_quantize_dc()
67 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), 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()
119 const int16_t *round_ptr, const int16_t *quant_ptr, in vpx_quantize_b_c() argument
154 int tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX); in vpx_quantize_b_c()
[all …]
Dquantize.h22 const int16_t *round_ptr, const int16_t quant,
26 const int16_t *round_ptr, const int16_t quant,
32 int skip_block, const int16_t *round_ptr,
37 const int16_t *round_ptr, const int16_t quant,
/external/libaom/libaom/test/
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 …]
/external/libvpx/libvpx/vp8/encoder/mips/mmi/
Dvp8_quantize_mmi.c23 x += round_ptr[rc]; \
36 const int16_t *round_ptr = b->round; in vp8_fast_quantize_b_mmi() local
191 [round_ptr] "r"((mips_reg)round_ptr), in vp8_fast_quantize_b_mmi()
207 const int16_t *round_ptr = b->round; in vp8_regular_quantize_b_mmi() local
/external/libaom/libaom/av1/encoder/arm/neon/
Dquantize_neon.c27 const int16_t *zbin_ptr, const int16_t *round_ptr, in av1_quantize_fp_neon() argument
45 int16x8_t v_round = vmovq_n_s16(round_ptr[1]); in av1_quantize_fp_neon()
49 v_round = vsetq_lane_s16(round_ptr[0], v_round, 0); in av1_quantize_fp_neon()
74 v_round = vmovq_n_s16(round_ptr[1]); in av1_quantize_fp_neon()
133 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_lp_neon() argument
142 int16x8_t v_round = vmovq_n_s16(round_ptr[1]); in av1_quantize_lp_neon()
147 v_round = vsetq_lane_s16(round_ptr[0], v_round, 0); in av1_quantize_lp_neon()
171 v_round = vmovq_n_s16(round_ptr[1]); in av1_quantize_lp_neon()
/external/libvpx/config/x86_64/
Dvp9_rtcd.h86 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
89 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
107 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
108 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
109 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
112 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
113 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
/external/libvpx/config/arm-neon/
Dvp9_rtcd.h82 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
85 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
103 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
104 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
107 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
108 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
/external/libvpx/config/arm64/
Dvp9_rtcd.h82 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
85 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
103 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
104 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
107 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
108 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
/external/libaom/libaom/av1/encoder/
Dav1_quantize.c38 const int16_t *round_ptr, const int16_t *quant_ptr, in quantize_fp_helper_c() argument
44 const int rounding[2] = { ROUND_POWER_OF_TWO(round_ptr[0], log_scale), in quantize_fp_helper_c()
45 ROUND_POWER_OF_TWO(round_ptr[1], log_scale) }; in quantize_fp_helper_c()
110 const int16_t *round_ptr, const int16_t *quant_ptr, in highbd_quantize_fp_helper_c() argument
141 abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], log_scale); in highbd_quantize_fp_helper_c()
155 ROUND_POWER_OF_TWO(round_ptr[0], log_scale), in highbd_quantize_fp_helper_c()
156 ROUND_POWER_OF_TWO(round_ptr[1], log_scale), in highbd_quantize_fp_helper_c()
185 const int16_t *zbin_ptr, const int16_t *round_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
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_rtcd_defs.pl131 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
134 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
198 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
200 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_quantize_neon.c46 int skip_block, const int16_t *round_ptr, in vp9_quantize_fp_neon() argument
57 int16x8_t v_round = vmovq_n_s16(round_ptr[1]); in vp9_quantize_fp_neon()
66 v_round = vsetq_lane_s16(round_ptr[0], v_round, 0); in vp9_quantize_fp_neon()
90 v_round = vmovq_n_s16(round_ptr[1]); in vp9_quantize_fp_neon()
141 int skip_block, const int16_t *round_ptr, in vp9_quantize_fp_32x32_neon() argument
150 const int16x8_t round = vrshrq_n_s16(vld1q_s16(round_ptr), 1); in vp9_quantize_fp_32x32_neon()
207 const int16x8_t round = vrshrq_n_s16(vmovq_n_s16(round_ptr[1]), 1); in vp9_quantize_fp_32x32_neon()
/external/libvpx/config/x86/
Dvp9_rtcd.h86 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
89 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
107 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
108 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
111 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
/external/libaom/libaom/aom_dsp/x86/
Dhighbd_quantize_intrin_sse2.c20 const int16_t *round_ptr, in aom_highbd_quantize_b_sse2() argument
79 const int64_t tmp3 = abs_coeff[j] + round_ptr[k != 0]; 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
139 const int64_t tmp1 = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); 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
197 const int64_t tmp1 = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 2); in aom_highbd_quantize_b_64x64_sse2()
Dhighbd_quantize_intrin_avx2.c32 static INLINE void init_qp(const int16_t *zbin_ptr, const int16_t *round_ptr, in init_qp() argument
36 const __m128i round = _mm_loadu_si128((const __m128i *)round_ptr); in init_qp()
114 const int16_t *round_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/x86/
Dav1_quantize_avx2.c45 static INLINE void init_qp(const int16_t *round_ptr, const int16_t *quant_ptr, in init_qp() argument
48 __m128i round = _mm_loadu_si128((const __m128i *)round_ptr); in init_qp()
163 const int16_t *round_ptr, const int16_t *quant_ptr, in av1_quantize_lp_avx2() argument
182 const __m128i round = _mm_load_si128((const __m128i *)round_ptr); in av1_quantize_lp_avx2()
251 const int16_t *zbin_ptr, const int16_t *round_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
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()
/external/libvpx/config/generic/
Dvp9_rtcd.h79 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
82 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
97 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
100 …ran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *round_ptr, const int16_t *…
/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
52 const int16x8_t round = vld1q_s16(round_ptr); in vpx_quantize_b_neon()
100 const int16x8_t round = vdupq_n_s16(round_ptr[1]); in vpx_quantize_b_neon()
193 const int16_t *round_ptr, in vpx_quantize_b_32x32_neon() argument
212 const int16x8_t round = vrshrq_n_s16(vld1q_s16(round_ptr), 1); in vpx_quantize_b_32x32_neon()
258 const int16x8_t round = vrshrq_n_s16(vdupq_n_s16(round_ptr[1]), 1); in vpx_quantize_b_32x32_neon()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_quantize.c25 int skip_block, const int16_t *round_ptr, in vp9_quantize_fp_c() argument
46 int tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX); in vp9_quantize_fp_c()
59 int skip_block, const int16_t *round_ptr, in vp9_highbd_quantize_fp_c() argument
81 const int64_t tmp = abs_coeff + round_ptr[rc != 0]; in vp9_highbd_quantize_fp_c()
94 int skip_block, const int16_t *round_ptr, in vp9_quantize_fp_32x32_c() argument
115 abs_coeff += ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); 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
150 const int64_t tmp = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in vp9_highbd_quantize_fp_32x32_c()
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_quantize_intrin_sse2.c22 const int16_t *round_ptr, in vpx_highbd_quantize_b_sse2() argument
83 const int64_t tmp3 = abs_coeff[j] + round_ptr[k != 0]; 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
146 const int64_t tmp1 = abs_coeff + ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in vpx_highbd_quantize_b_32x32_sse2()
Dquantize_avx.c25 const int16_t *round_ptr, const int16_t *quant_ptr, in vpx_quantize_b_avx() argument
47 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, in vpx_quantize_b_avx()
149 const int16_t *round_ptr, in vpx_quantize_b_32x32_avx() argument
182 round = _mm_load_si128((const __m128i *)round_ptr); in vpx_quantize_b_32x32_avx()
/external/libaom/libaom/av1/common/
Dav1_rtcd_defs.pl220 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
223 …ntize_lp/, "const int16_t *coeff_ptr, intptr_t n_coeffs, const int16_t *round_ptr, const int16_t *…
227 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
230 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
295 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
304 … *coeff_ptr, intptr_t n_coeffs, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *…
/external/libvpx/libvpx/test/
Dvp9_quantize_test.cc170 int skip_block, const int16_t *round_ptr, in quant_fp_nz() argument
210 _round = ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1); in quant_fp_nz()
212 _round = round_ptr[rc != 0]; in quant_fp_nz()
246 int skip_block, const int16_t *round_ptr, in quantize_fp_nz_c() argument
251 quant_fp_nz(coeff_ptr, n_coeffs, skip_block, round_ptr, quant_ptr, qcoeff_ptr, in quantize_fp_nz_c()
256 int skip_block, const int16_t *round_ptr, in quantize_fp_32x32_nz_c() argument
261 quant_fp_nz(coeff_ptr, n_coeffs, skip_block, round_ptr, quant_ptr, qcoeff_ptr, in quantize_fp_32x32_nz_c()

123