Home
last modified time | relevance | path

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

/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_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_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_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/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.h120 return clip_pixel(dest + (int)trans); in clip_pixel_add()
Dintrapred.c186 dst[c] = clip_pixel(left[r] + above[c] - ytop_left); in tm_predictor()
/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/libvpx/vpx_dsp/mips/
Dconvolve2_dspr2.c982 dst[x * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_bi_horiz_transposed()
Dconvolve8_dspr2.c1276 dst[x * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz_transposed()
/external/libvpx/libvpx/test/
Dconvolve_test.cc94 uint8_t clip_pixel(int x) { return x < 0 ? 0 : x > 255 ? 255 : x; } in clip_pixel() function
134 *output_ptr = clip_pixel(temp >> VP9_FILTER_SHIFT); in filter_block2d_8_c()
155 *dst_ptr++ = clip_pixel(temp >> VP9_FILTER_SHIFT); in filter_block2d_8_c()