/external/libaom/libaom/aom_dsp/x86/ |
D | highbd_convolve_ssse3.c | 43 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()
|
D | highbd_convolve_avx2.c | 137 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/ |
D | highbd_convolve_2d_ssse3.c | 53 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()
|
D | highbd_convolve_2d_avx2.c | 57 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()
|
D | highbd_warp_plane_sse4.c | 309 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()
|
D | av1_convolve_scale_sse4.c | 219 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/ |
D | vp9_resize.c | 197 *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/ |
D | vp9_itrans4_dspr2.c | 51 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()
|
D | vp9_itrans8_dspr2.c | 46 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()
|
D | vp9_itrans16_dspr2.c | 49 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/ |
D | resize.c | 279 *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 …]
|
D | convolve.c | 43 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/ |
D | blend_a64_mask.c | 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()
|
D | aom_dsp_common.h | 61 static INLINE uint8_t clip_pixel(int val) { in clip_pixel() function
|
D | aom_convolve.c | 47 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/ |
D | vpx_convolve8_mmi.c | 521 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()
|
D | convolve2_dspr2.c | 982 dst[x * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_bi_horiz_transposed()
|
/external/libvpx/libvpx/vpx_dsp/ |
D | vpx_dsp_common.h | 48 static INLINE uint8_t clip_pixel(int val) { in clip_pixel() function
|
D | vpx_convolve.c | 36 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()
|
D | inv_txfm.h | 119 return clip_pixel(dest + (int)trans); in clip_pixel_add()
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
D | idct4x4_1_add_neon.asm | 55 vqmovun.s16 d6, q8 ; clip_pixel
|
D | idct4x4_add_neon.asm | 174 ; clip_pixel
|
/external/libvpx/config/arm-neon/vpx_dsp/arm/ |
D | idct4x4_1_add_neon.asm.S | 62 vqmovun.s16 d6, q8 @ clip_pixel
|
/external/libaom/libaom/test/ |
D | convolve_test.cc | 68 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/ |
D | convolve2_dspr2.c | 984 dst[x * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_bi_horiz_transposed()
|