Home
last modified time | relevance | path

Searched refs:clip_pixel (Results 1 – 25 of 33) sorted by relevance

12

/external/libaom/libaom/aom_dsp/x86/
Dhighbd_convolve_ssse3.c43 const __m128i clip_pixel = in av1_highbd_convolve_y_sr_ssse3() local
107 res_16bit0 = _mm_min_epi16(res_16bit0, clip_pixel); in av1_highbd_convolve_y_sr_ssse3()
111 res_16bit1 = _mm_min_epi16(res_16bit1, clip_pixel); in av1_highbd_convolve_y_sr_ssse3()
119 res_a_round0 = _mm_min_epi16(res_a_round0, clip_pixel); in av1_highbd_convolve_y_sr_ssse3()
123 res_a_round1 = _mm_min_epi16(res_a_round1, clip_pixel); in av1_highbd_convolve_y_sr_ssse3()
131 res_a_round0 = _mm_min_epi16(res_a_round0, clip_pixel); in av1_highbd_convolve_y_sr_ssse3()
135 res_a_round1 = _mm_min_epi16(res_a_round1, clip_pixel); in av1_highbd_convolve_y_sr_ssse3()
194 const __m128i clip_pixel = in av1_highbd_convolve_x_sr_ssse3() local
238 res = _mm_min_epi16(res, clip_pixel); in av1_highbd_convolve_x_sr_ssse3()
Dhighbd_convolve_avx2.c137 const __m256i clip_pixel = in av1_highbd_convolve_y_sr_avx2() local
224 res_16bit = _mm256_min_epi16(res_16bit, clip_pixel); in av1_highbd_convolve_y_sr_avx2()
233 res_a_round = _mm256_min_epi16(res_a_round, clip_pixel); in av1_highbd_convolve_y_sr_avx2()
242 res_a_round = _mm256_min_epi16(res_a_round, clip_pixel); in av1_highbd_convolve_y_sr_avx2()
288 const __m256i clip_pixel = in av1_highbd_convolve_x_sr_avx2() local
338 res = _mm256_min_epi16(res, clip_pixel); in av1_highbd_convolve_x_sr_avx2()
572 const __m256i clip_pixel = in aom_highbd_filter_block1d4_h4_avx2() local
603 res = _mm256_min_epi16(res, clip_pixel); in aom_highbd_filter_block1d4_h4_avx2()
629 res = _mm256_min_epi16(res, clip_pixel); in aom_highbd_filter_block1d4_h4_avx2()
643 const __m256i clip_pixel = in aom_highbd_filter_block1d8_h4_avx2() local
[all …]
/external/libaom/libaom/av1/common/x86/
Dhighbd_convolve_2d_ssse3.c53 const __m128i clip_pixel = in av1_highbd_convolve_2d_sr_ssse3() local
160 res_16bit0 = _mm_min_epi16(res_16bit0, clip_pixel); in av1_highbd_convolve_2d_sr_ssse3()
164 res_16bit1 = _mm_min_epi16(res_16bit1, clip_pixel); in av1_highbd_convolve_2d_sr_ssse3()
172 res_a_round0 = _mm_min_epi16(res_a_round0, clip_pixel); in av1_highbd_convolve_2d_sr_ssse3()
176 res_a_round1 = _mm_min_epi16(res_a_round1, clip_pixel); in av1_highbd_convolve_2d_sr_ssse3()
184 res_a_round0 = _mm_min_epi16(res_a_round0, clip_pixel); in av1_highbd_convolve_2d_sr_ssse3()
188 res_a_round1 = _mm_min_epi16(res_a_round1, clip_pixel); in av1_highbd_convolve_2d_sr_ssse3()
Dhighbd_convolve_2d_avx2.c57 const __m256i clip_pixel = in av1_highbd_convolve_2d_sr_avx2() local
150 res_16bit = _mm256_min_epi16(res_16bit, clip_pixel); in av1_highbd_convolve_2d_sr_avx2()
159 res_a_round = _mm256_min_epi16(res_a_round, clip_pixel); in av1_highbd_convolve_2d_sr_avx2()
168 res_a_round = _mm256_min_epi16(res_a_round, clip_pixel); in av1_highbd_convolve_2d_sr_avx2()
Dhighbd_warp_plane_sse4.c309 const __m128i clip_pixel = in av1_highbd_warp_affine_sse4_1() local
553 res16_lo = _mm_min_epi16(res16_lo, clip_pixel); in av1_highbd_warp_affine_sse4_1()
585 res16_hi = _mm_min_epi16(res16_hi, clip_pixel); in av1_highbd_warp_affine_sse4_1()
Dav1_convolve_scale_sse4.c219 dst[y * dst_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(tmp, bits)); in vfilter8()
227 dst[y * dst_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(tmp, bits)); in vfilter8()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c197 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
211 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
222 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
235 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
261 *optr++ = clip_pixel(sum); in down2_symeven()
271 *optr++ = clip_pixel(sum); in down2_symeven()
280 *optr++ = clip_pixel(sum); in down2_symeven()
291 *optr++ = clip_pixel(sum); in down2_symeven()
317 *optr++ = clip_pixel(sum); in down2_symodd()
327 *optr++ = clip_pixel(sum); in down2_symodd()
[all …]
/external/libvpx/libvpx/vp9/common/mips/dspr2/
Dvp9_itrans4_dspr2.c51 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 4) + in vp9_iht4x4_16_add_dspr2()
83 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 4) + in vp9_iht4x4_16_add_dspr2()
Dvp9_itrans8_dspr2.c46 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 5) + in vp9_iht8x8_64_add_dspr2()
77 dest[j * stride + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 5) + in vp9_iht8x8_64_add_dspr2()
Dvp9_itrans16_dspr2.c49 dest[j * pitch + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6) + in vp9_iht16x16_256_add_dspr2()
90 dest[j * pitch + i] = clip_pixel(ROUND_POWER_OF_TWO(temp_out[j], 6) + in vp9_iht16x16_256_add_dspr2()
/external/libaom/libaom/av1/common/
Dresize.c279 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate_core()
290 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate_core()
300 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate_core()
311 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate_core()
455 *optr++ = clip_pixel(sum); in down2_symeven()
465 *optr++ = clip_pixel(sum); in down2_symeven()
474 *optr++ = clip_pixel(sum); in down2_symeven()
484 *optr++ = clip_pixel(sum); in down2_symeven()
510 *optr++ = clip_pixel(sum); in down2_symodd()
520 *optr++ = clip_pixel(sum); in down2_symodd()
[all …]
Dconvolve.c43 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in av1_convolve_horiz_rs_c()
161 dst[y * dst_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(res, bits)); in av1_convolve_2d_sr_c()
191 clip_pixel(ROUND_POWER_OF_TWO(res, FILTER_BITS)); in av1_convolve_y_sr_c()
223 dst[y * dst_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(res, bits)); in av1_convolve_x_sr_c()
303 clip_pixel(ROUND_POWER_OF_TWO(tmp, round_bits)); in av1_dist_wtd_convolve_2d_c()
353 clip_pixel(ROUND_POWER_OF_TWO(tmp, round_bits)); in av1_dist_wtd_convolve_y_c()
403 clip_pixel(ROUND_POWER_OF_TWO(tmp, round_bits)); in av1_dist_wtd_convolve_x_c()
444 dst8[y * dst8_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(tmp, bits)); in av1_dist_wtd_convolve_2d_copy_c()
523 dst8[y * dst8_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(tmp, bits)); in av1_convolve_2d_scale_c()
531 dst8[y * dst8_stride + x] = clip_pixel(ROUND_POWER_OF_TWO(tmp, bits)); in av1_convolve_2d_scale_c()
[all …]
/external/libaom/libaom/aom_dsp/
Dblend_a64_mask.c68 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()
Daom_dsp_common.h61 static INLINE uint8_t clip_pixel(int val) { in clip_pixel() function
Daom_convolve.c47 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz()
67 dst[y * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_vert()
/external/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve8_mmi.c521 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz()
544 dst[y * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_vert()
569 clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), in convolve_avg_vert()
593 dst[x] + clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), 1); in convolve_avg_horiz()
Dconvolve2_dspr2.c982 dst[x * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_bi_horiz_transposed()
/external/libvpx/libvpx/vpx_dsp/
Dvpx_dsp_common.h48 static INLINE uint8_t clip_pixel(int val) { in clip_pixel() function
Dvpx_convolve.c36 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz()
59 dst[x] + clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), 1); in convolve_avg_horiz()
82 dst[y * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_vert()
107 clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), in convolve_avg_vert()
Dinv_txfm.h119 return clip_pixel(dest + (int)trans); in clip_pixel_add()
/external/libvpx/libvpx/vpx_dsp/arm/
Didct4x4_1_add_neon.asm55 vqmovun.s16 d6, q8 ; clip_pixel
Didct4x4_add_neon.asm174 ; clip_pixel
/external/libvpx/config/arm-neon/vpx_dsp/arm/
Didct4x4_1_add_neon.asm.S62 vqmovun.s16 d6, q8 @ clip_pixel
/external/libaom/libaom/test/
Dconvolve_test.cc68 uint8_t clip_pixel(int x) { return x < 0 ? 0 : x > 255 ? 255 : x; } in clip_pixel() function
110 *output_ptr = clip_pixel(temp >> AV1_FILTER_SHIFT); in filter_block2d_8_c()
131 *dst_ptr++ = clip_pixel(temp >> AV1_FILTER_SHIFT); in filter_block2d_8_c()
/external/libaom/libaom/aom_dsp/mips/
Dconvolve2_dspr2.c984 dst[x * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_bi_horiz_transposed()

12