Home
last modified time | relevance | path

Searched refs:FILTER_BITS (Results 1 – 17 of 17) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c25 #define FILTER_BITS 7 macro
273 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
287 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
298 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
311 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate()
330 int sum = (1 << (FILTER_BITS - 1)); in down2_symeven()
336 sum >>= FILTER_BITS; in down2_symeven()
342 int sum = (1 << (FILTER_BITS - 1)); in down2_symeven()
346 sum >>= FILTER_BITS; in down2_symeven()
351 int sum = (1 << (FILTER_BITS - 1)); in down2_symeven()
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dvpx_convolve8_msa.c85 SRARI_H2_SH(tmp0, tmp1, FILTER_BITS); in common_hv_8ht_8vt_4w_msa()
177 SRARI_H4_SH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_hv_8ht_8vt_8w_msa()
251 hz_out0 = HORIZ_2TAP_FILT_UH(src0, src1, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x4_msa()
252 hz_out2 = HORIZ_2TAP_FILT_UH(src2, src3, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x4_msa()
253 hz_out4 = HORIZ_2TAP_FILT_UH(src4, src4, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x4_msa()
259 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_hv_2ht_2vt_4x4_msa()
287 hz_out0 = HORIZ_2TAP_FILT_UH(src0, src1, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x8_msa()
288 hz_out2 = HORIZ_2TAP_FILT_UH(src2, src3, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x8_msa()
289 hz_out4 = HORIZ_2TAP_FILT_UH(src4, src5, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x8_msa()
290 hz_out6 = HORIZ_2TAP_FILT_UH(src6, src7, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_4x8_msa()
[all …]
Dvpx_convolve8_avg_msa.c82 SRARI_H2_SH(res0, res1, FILTER_BITS); in common_hv_8ht_8vt_and_aver_dst_4w_msa()
181 SRARI_H4_SH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_hv_8ht_8vt_and_aver_dst_8w_msa()
267 hz_out0 = HORIZ_2TAP_FILT_UH(src0, src1, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
268 hz_out2 = HORIZ_2TAP_FILT_UH(src2, src3, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
269 hz_out4 = HORIZ_2TAP_FILT_UH(src4, src4, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
277 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x4_msa()
309 hz_out0 = HORIZ_2TAP_FILT_UH(src0, src1, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x8_msa()
310 hz_out2 = HORIZ_2TAP_FILT_UH(src2, src3, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x8_msa()
311 hz_out4 = HORIZ_2TAP_FILT_UH(src4, src5, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x8_msa()
312 hz_out6 = HORIZ_2TAP_FILT_UH(src6, src7, mask, filt_hz, FILTER_BITS); in common_hv_2ht_2vt_and_aver_dst_4x8_msa()
[all …]
Dvpx_convolve8_vert_msa.c53 SRARI_H2_SH(out10, out32, FILTER_BITS); in common_vt_8t_4w_msa()
103 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_8w_msa()
172 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_16w_msa()
173 SRARI_H4_SH(out0_l, out1_l, out2_l, out3_l, FILTER_BITS); in common_vt_8t_16w_msa()
256 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_16w_mult_msa()
257 SRARI_H4_SH(out0_l, out1_l, out2_l, out3_l, FILTER_BITS); in common_vt_8t_16w_mult_msa()
319 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_vt_2t_4x4_msa()
351 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_4x8_msa()
384 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_8x4_msa()
416 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_8x8mult_msa()
[all …]
Dsub_pixel_variance_msa.c425 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in sub_pixel_sse_diff_4width_h_msa()
469 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in sub_pixel_sse_diff_8width_h_msa()
519 SRARI_H4_UH(out0, out1, out2, out3, FILTER_BITS); in sub_pixel_sse_diff_16width_h_msa()
520 SRARI_H4_UH(out4, out5, out6, out7, FILTER_BITS); in sub_pixel_sse_diff_16width_h_msa()
615 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in sub_pixel_sse_diff_4width_v_msa()
661 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in sub_pixel_sse_diff_8width_v_msa()
707 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
713 SRARI_H2_UH(tmp2, tmp3, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
717 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
720 SRARI_H2_UH(tmp2, tmp3, FILTER_BITS); in sub_pixel_sse_diff_16width_v_msa()
[all …]
Dvpx_convolve8_avg_vert_msa.c57 SRARI_H2_SH(out10, out32, FILTER_BITS); in common_vt_8t_and_aver_dst_4w_msa()
117 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_vt_8t_and_aver_dst_8w_msa()
197 SRARI_H4_SH(out0_r, out1_r, out2_r, out3_r, FILTER_BITS); in common_vt_8t_and_aver_dst_16w_mult_msa()
198 SRARI_H4_SH(out0_l, out1_l, out2_l, out3_l, FILTER_BITS); in common_vt_8t_and_aver_dst_16w_mult_msa()
286 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_vt_2t_and_aver_dst_4x4_msa()
325 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_and_aver_dst_4x8_msa()
366 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_and_aver_dst_8x4_msa()
402 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_and_aver_dst_8x8mult_msa()
409 SRARI_H4_UH(tmp0, tmp1, tmp2, tmp3, FILTER_BITS); in common_vt_2t_and_aver_dst_8x8mult_msa()
458 SRARI_H2_UH(tmp0, tmp1, FILTER_BITS); in common_vt_2t_and_aver_dst_16w_msa()
[all …]
Dvpx_convolve8_horiz_msa.c37 SRARI_H2_SH(out0, out1, FILTER_BITS); in common_hz_8t_4x4_msa()
71 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_4x8_msa()
113 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_8x4_msa()
146 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_8x8mult_msa()
192 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_16w_msa()
232 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_32w_msa()
251 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_32w_msa()
290 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_64w_msa()
307 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_64w_msa()
333 SRARI_H2_UH(vec2, vec3, FILTER_BITS); in common_hz_2t_4x4_msa()
[all …]
Dvpx_convolve8_avg_horiz_msa.c41 SRARI_H2_SH(res0, res1, FILTER_BITS); in common_hz_8t_and_aver_dst_4x4_msa()
81 SRARI_H4_SH(vec0, vec1, vec2, vec3, FILTER_BITS); in common_hz_8t_and_aver_dst_4x8_msa()
137 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_and_aver_dst_8w_msa()
192 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_and_aver_dst_16w_msa()
249 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_and_aver_dst_32w_msa()
308 SRARI_H4_SH(out0, out1, out2, out3, FILTER_BITS); in common_hz_8t_and_aver_dst_64w_msa()
339 SRARI_H2_UH(vec2, vec3, FILTER_BITS); in common_hz_2t_and_aver_dst_4x4_msa()
368 SRARI_H4_UH(vec4, vec5, vec6, vec7, FILTER_BITS); in common_hz_2t_and_aver_dst_4x8_msa()
413 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in common_hz_2t_and_aver_dst_8x4_msa()
441 SRARI_H4_UH(vec0, vec1, vec2, vec3, FILTER_BITS); in common_hz_2t_and_aver_dst_8x8mult_msa()
[all …]
Dvpx_convolve_msa.h42 hz_out_m = __msa_srari_h(hz_out_m, FILTER_BITS); \
Dconvolve2_dspr2.c726 dst[x * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_bi_horiz_transposed()
Dconvolve8_dspr2.c907 dst[x * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz_transposed()
/external/libvpx/libvpx/vpx_dsp/arm/
Dsubpel_variance_neon.c46 const uint8x8_t out = vrshrn_n_u16(b, FILTER_BITS); in var_filter_block2d_bil_w8()
70 const uint8x8_t out_lo = vrshrn_n_u16(b, FILTER_BITS); in var_filter_block2d_bil_w16()
73 const uint8x8_t out_hi = vrshrn_n_u16(d, FILTER_BITS); in var_filter_block2d_bil_w16()
/external/libvpx/libvpx/vpx_dsp/
Dvpx_convolve.c36 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz()
59 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()
106 clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), 1); in convolve_avg_vert()
357 dst[x] = clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in highbd_convolve_horiz()
383 clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd), 1); in highbd_convolve_avg_horiz()
409 ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd); in highbd_convolve_vert()
435 clip_pixel_highbd(ROUND_POWER_OF_TWO(sum, FILTER_BITS), bd), 1); in highbd_convolve_avg_vert()
Dvpx_filter.h21 #define FILTER_BITS 7 macro
Dvariance.h22 #define FILTER_BITS 7 macro
Dvariance.c120 FILTER_BITS); in var_filter_block2d_bil_first_pass()
151 FILTER_BITS); in var_filter_block2d_bil_second_pass()
423 FILTER_BITS); in highbd_var_filter_block2d_bil_first_pass()
449 FILTER_BITS); in highbd_var_filter_block2d_bil_second_pass()
/external/opencv/cv/src/
Dcvfilter.cpp665 #undef FILTER_BITS
666 #define FILTER_BITS 8 macro
863 int scale = kx_flags & ky_flags & INTEGER ? 1 : (1 << FILTER_BITS); in init()
1273 s0 = CV_DESCALE(s0, FILTER_BITS*2); in icvFilterColSymm_32s8u()
1274 s1 = CV_DESCALE(s1, FILTER_BITS*2); in icvFilterColSymm_32s8u()
1287 s0 = CV_DESCALE(s0, FILTER_BITS*2); in icvFilterColSymm_32s8u()
1288 s1 = CV_DESCALE(s1, FILTER_BITS*2); in icvFilterColSymm_32s8u()
1309 s0 = CV_DESCALE(s0, FILTER_BITS*2); in icvFilterColSymm_32s8u()
1310 s1 = CV_DESCALE(s1, FILTER_BITS*2); in icvFilterColSymm_32s8u()
1312 s2 = CV_DESCALE(s2, FILTER_BITS*2); in icvFilterColSymm_32s8u()
[all …]