Home
last modified time | relevance | path

Searched refs:round_bits (Results 1 – 16 of 16) sorted by relevance

/external/libaom/libaom/av1/common/x86/
Dwarp_plane_sse4.c456 ConvolveParams *conv_params, const int round_bits, const int offset_bits, in unpack_weights_and_set_round_const() argument
461 *round_bits_const = _mm_set1_epi16(((1 << round_bits) >> 1)); in unpack_weights_and_set_round_const()
586 const int round_bits) { in store_vertical_filter_output() argument
614 round_bits); in store_vertical_filter_output()
646 round_bits); in store_vertical_filter_output()
681 const int round_bits, const int offset_bits) { in warp_vertical_filter() argument
684 unpack_weights_and_set_round_const(conv_params, round_bits, offset_bits, in warp_vertical_filter()
700 p_stride, p_width, round_bits); in warp_vertical_filter()
708 const int round_bits, const int offset_bits) { in warp_vertical_filter_gamma0() argument
712 unpack_weights_and_set_round_const(conv_params, round_bits, offset_bits, in warp_vertical_filter_gamma0()
[all …]
Dwarp_plane_avx2.c432 ConvolveParams *conv_params, const int round_bits, const int offset_bits, in unpack_weights_and_set_round_const_avx2() argument
437 *round_bits_const = _mm256_set1_epi16(((1 << round_bits) >> 1)); in unpack_weights_and_set_round_const_avx2()
663 const int round_bits) { in store_vertical_filter_output_avx2() argument
698 _mm256_add_epi16(res_lo_16, *round_bits_const), round_bits); in store_vertical_filter_output_avx2()
741 _mm256_add_epi16(res_hi_16, *round_bits_const), round_bits); in store_vertical_filter_output_avx2()
783 const __m256i *res_add_const, const int round_bits, in warp_vertical_filter_avx2() argument
816 p_stride, p_width, round_bits); in warp_vertical_filter_avx2()
832 const __m256i *res_add_const, const int round_bits, in warp_vertical_filter_gamma0_avx2() argument
866 p_stride, p_width, round_bits); in warp_vertical_filter_gamma0_avx2()
881 const __m256i *res_add_const, const int round_bits, in warp_vertical_filter_delta0_avx2() argument
[all …]
Dav1_convolve_scale_sse4.c357 const int round_bits = in highbd_vfilter8() local
359 __m128i round_bits_shift = _mm_cvtsi32_si128(round_bits); in highbd_vfilter8()
360 __m128i round_bits_const = _mm_set1_epi32(((1 << round_bits) >> 1)); in highbd_vfilter8()
Dhighbd_warp_plane_sse4.c323 const int round_bits = in av1_highbd_warp_affine_sse4_1() local
329 __m128i round_bits_shift = _mm_cvtsi32_si128(round_bits); in av1_highbd_warp_affine_sse4_1()
330 __m128i round_bits_const = _mm_set1_epi32(((1 << round_bits) >> 1)); in av1_highbd_warp_affine_sse4_1()
/external/libaom/libaom/av1/common/arm/
Dconvolve_neon.h30 const int32x4_t round_bits = vdupq_n_s32(-round1_bits); in wiener_convolve8_vert_4x8() local
52 sum0 = vrshlq_s32(sum0, round_bits); in wiener_convolve8_vert_4x8()
53 sum1 = vrshlq_s32(sum1, round_bits); in wiener_convolve8_vert_4x8()
79 const int32x4_t round_bits = vdupq_n_s32(-round0_bits); in wiener_convolve8_horiz_8x8() local
106 sum_0 = vqrshlq_s32(sum_0, round_bits); in wiener_convolve8_horiz_8x8()
107 sum_1 = vqrshlq_s32(sum_1, round_bits); in wiener_convolve8_horiz_8x8()
128 const int32x4_t round_bits = vdupq_n_s32(-round0_bits); in wiener_convolve8_horiz_4x8() local
150 sum_0 = vrshlq_s32(sum_0, round_bits); in wiener_convolve8_horiz_4x8()
Djnt_convolve_neon.c29 const int16_t round_bits, const int use_dist_wtd_comp_avg, uint8x8_t *t0) { in compute_avg_4x1() argument
37 const int32x4_t round_bits_vec = vdupq_n_s32((int32_t)(-round_bits)); in compute_avg_4x1()
53 const int16x4_t round_bits_vec = vdup_n_s16(-round_bits); in compute_avg_4x1()
69 const int16_t round_bits, const int use_dist_wtd_comp_avg, uint8x8_t *t0) { in compute_avg_8x1() argument
79 const int32x4_t round_bits_vec = vdupq_n_s32(-(int32_t)round_bits); in compute_avg_8x1()
104 const int16x8_t round_bits_vec = vdupq_n_s16(-round_bits); in compute_avg_8x1()
121 const int16x4_t sub_const_vec, const int16_t round_bits, in compute_avg_4x4() argument
132 const int32x4_t round_bits_vec = vdupq_n_s32((int32_t)(-round_bits)); in compute_avg_4x4()
171 const int16x4_t round_bits_vec = vdup_n_s16(-round_bits); in compute_avg_4x4()
201 const int16x4_t sub_const, const int16_t round_bits, in compute_avg_8x4() argument
[all …]
Dwarp_plane_neon.c507 const int round_bits = in av1_warp_affine_neon() local
509 const int16x4_t round_bits_vec = vdup_n_s16(-(int16_t)round_bits); in av1_warp_affine_neon()
Dconvolve_neon.c971 const int16_t round_bits = in av1_convolve_2d_sr_neon() local
973 const int16x8_t vec_round_bits = vdupq_n_s16(-round_bits); in av1_convolve_2d_sr_neon()
/external/libaom/libaom/aom_dsp/
Dblend_a64_mask.c46 const int round_bits = in aom_lowbd_blend_a64_d16_mask_c() local
68 clip_pixel(ROUND_POWER_OF_TWO(res, round_bits)); in aom_lowbd_blend_a64_d16_mask_c()
87 clip_pixel(ROUND_POWER_OF_TWO(res, round_bits)); in aom_lowbd_blend_a64_d16_mask_c()
102 clip_pixel(ROUND_POWER_OF_TWO(res, round_bits)); in aom_lowbd_blend_a64_d16_mask_c()
117 clip_pixel(ROUND_POWER_OF_TWO(res, round_bits)); in aom_lowbd_blend_a64_d16_mask_c()
132 const int round_bits = in aom_highbd_blend_a64_d16_mask_c() local
162 unsigned int v = negative_to_zero(ROUND_POWER_OF_TWO(res, round_bits)); in aom_highbd_blend_a64_d16_mask_c()
181 unsigned int v = negative_to_zero(ROUND_POWER_OF_TWO(res, round_bits)); in aom_highbd_blend_a64_d16_mask_c()
197 unsigned int v = negative_to_zero(ROUND_POWER_OF_TWO(res, round_bits)); in aom_highbd_blend_a64_d16_mask_c()
213 unsigned int v = negative_to_zero(ROUND_POWER_OF_TWO(res, round_bits)); in aom_highbd_blend_a64_d16_mask_c()
/external/libaom/libaom/av1/common/
Dconvolve.c260 const int round_bits = in av1_dist_wtd_convolve_2d_c() local
304 clip_pixel(ROUND_POWER_OF_TWO(tmp, round_bits)); in av1_dist_wtd_convolve_2d_c()
326 const int round_bits = in av1_dist_wtd_convolve_y_c() local
354 clip_pixel(ROUND_POWER_OF_TWO(tmp, round_bits)); in av1_dist_wtd_convolve_y_c()
376 const int round_bits = in av1_dist_wtd_convolve_x_c() local
404 clip_pixel(ROUND_POWER_OF_TWO(tmp, round_bits)); in av1_dist_wtd_convolve_x_c()
749 const int round_bits = in av1_highbd_dist_wtd_convolve_2d_c() local
751 assert(round_bits >= 0); in av1_highbd_dist_wtd_convolve_2d_c()
795 clip_pixel_highbd(ROUND_POWER_OF_TWO(tmp, round_bits), bd); in av1_highbd_dist_wtd_convolve_2d_c()
815 const int round_bits = in av1_highbd_dist_wtd_convolve_x_c() local
[all …]
Dwarped_motion.c339 const int round_bits = in av1_highbd_warp_affine_c() local
428 clip_pixel_highbd(ROUND_POWER_OF_TWO(tmp32, round_bits), bd); in av1_highbd_warp_affine_c()
609 const int round_bits = in av1_warp_affine_c() local
704 *dst8 = clip_pixel(ROUND_POWER_OF_TWO(tmp32, round_bits)); in av1_warp_affine_c()
/external/libaom/libaom/aom_dsp/x86/
Dblend_a64_mask_avx2.c290 const int round_bits = in aom_lowbd_blend_a64_d16_mask_avx2() local
294 ((1 << (round_bits + bd)) + (1 << (round_bits + bd - 1)) - in aom_lowbd_blend_a64_d16_mask_avx2()
295 (1 << (round_bits - 1))) in aom_lowbd_blend_a64_d16_mask_avx2()
298 const int shift = round_bits + AOM_BLEND_A64_ROUND_BITS; in aom_lowbd_blend_a64_d16_mask_avx2()
1301 const int round_bits = in aom_highbd_blend_a64_d16_mask_avx2() local
1304 ((1 << (round_bits + bd)) + (1 << (round_bits + bd - 1)) - in aom_highbd_blend_a64_d16_mask_avx2()
1305 (1 << (round_bits - 1))) in aom_highbd_blend_a64_d16_mask_avx2()
1308 const int shift = round_bits + AOM_BLEND_A64_ROUND_BITS; in aom_highbd_blend_a64_d16_mask_avx2()
Dblend_a64_mask_sse4.c1017 const int round_bits = in aom_lowbd_blend_a64_d16_mask_sse4_1() local
1021 ((1 << (round_bits + bd)) + (1 << (round_bits + bd - 1)) - in aom_lowbd_blend_a64_d16_mask_sse4_1()
1022 (1 << (round_bits - 1))) in aom_lowbd_blend_a64_d16_mask_sse4_1()
1025 const int shift = round_bits + AOM_BLEND_A64_ROUND_BITS; in aom_lowbd_blend_a64_d16_mask_sse4_1()
1487 const int round_bits = in aom_highbd_blend_a64_d16_mask_sse4_1() local
1490 ((1 << (round_bits + bd)) + (1 << (round_bits + bd - 1)) - in aom_highbd_blend_a64_d16_mask_sse4_1()
1491 (1 << (round_bits - 1))) in aom_highbd_blend_a64_d16_mask_sse4_1()
1494 const int shift = round_bits + AOM_BLEND_A64_ROUND_BITS; in aom_highbd_blend_a64_d16_mask_sse4_1()
Dvariance_avx2.c346 const int16_t round_bits = 15 - AOM_BLEND_A64_ROUND_BITS; in comp_mask_pred_line_avx2() local
347 const __m256i round_offset = _mm256_set1_epi16(1 << (round_bits)); in comp_mask_pred_line_avx2()
/external/libaom/libaom/aom_dsp/arm/
Dblend_a64_mask_neon.c146 const int round_bits = in aom_lowbd_blend_a64_d16_mask_neon() local
169 const uint16_t offset = round_offset - (1 << (round_bits - 1)); in aom_lowbd_blend_a64_d16_mask_neon()
171 const int16x8_t vec_round_bits = vdupq_n_s16(-round_bits); in aom_lowbd_blend_a64_d16_mask_neon()
/external/mesa3d/src/util/
Dsoftfloat.c193 uint8_t round_bits; in _mesa_round_f32() local
194 round_bits = m & 0x7f; in _mesa_round_f32()
196 m &= ~(uint32_t) (! (round_bits ^ 0x40) & !rtz); in _mesa_round_f32()