• Home
  • Raw
  • Download

Lines Matching refs:col

37 static INLINE void vert_ctx(uint8x16_t ctx[4], int col, uint8_t *src,  in vert_ctx()  argument
39 ctx[0] = vec_vsx_ld(col - 2 * stride, src); in vert_ctx()
40 ctx[1] = vec_vsx_ld(col - stride, src); in vert_ctx()
41 ctx[2] = vec_vsx_ld(col + stride, src); in vert_ctx()
42 ctx[3] = vec_vsx_ld(col + 2 * stride, src); in vert_ctx()
72 int row, col; in vpx_post_proc_down_and_across_mb_row_vsx() local
76 for (col = 0; col < cols - 8; col += 16) { in vpx_post_proc_down_and_across_mb_row_vsx()
77 const uint8x16_t filter = vec_vsx_ld(col, f); in vpx_post_proc_down_and_across_mb_row_vsx()
78 v = vec_vsx_ld(col, src_ptr); in vpx_post_proc_down_and_across_mb_row_vsx()
79 vert_ctx(ctx, col, src_ptr, src_pixels_per_line); in vpx_post_proc_down_and_across_mb_row_vsx()
80 vec_vsx_st(apply_filter(ctx, v, filter), col, dst_ptr); in vpx_post_proc_down_and_across_mb_row_vsx()
83 if (col != cols) { in vpx_post_proc_down_and_across_mb_row_vsx()
84 const uint8x16_t filter = vec_vsx_ld(col, f); in vpx_post_proc_down_and_across_mb_row_vsx()
85 v = vec_vsx_ld(col, src_ptr); in vpx_post_proc_down_and_across_mb_row_vsx()
86 vert_ctx(ctx, col, src_ptr, src_pixels_per_line); in vpx_post_proc_down_and_across_mb_row_vsx()
88 vec_vsx_st(vec_perm(out, v, st8_perm), col, dst_ptr); in vpx_post_proc_down_and_across_mb_row_vsx()
94 for (col = 0; col < cols - 8; col += 16) { in vpx_post_proc_down_and_across_mb_row_vsx()
95 const uint8x16_t filter = vec_vsx_ld(col, f); in vpx_post_proc_down_and_across_mb_row_vsx()
96 const uint8x16_t right_ctx = (col + 16 == cols) in vpx_post_proc_down_and_across_mb_row_vsx()
98 : vec_vsx_ld(col, dst_ptr + 16); in vpx_post_proc_down_and_across_mb_row_vsx()
100 vec_vsx_st(apply_filter(ctx, v, filter), col, dst_ptr); in vpx_post_proc_down_and_across_mb_row_vsx()
105 if (col != cols) { in vpx_post_proc_down_and_across_mb_row_vsx()
106 const uint8x16_t filter = vec_vsx_ld(col, f); in vpx_post_proc_down_and_across_mb_row_vsx()
110 vec_vsx_st(vec_perm(out, v, st8_perm), col, dst_ptr); in vpx_post_proc_down_and_across_mb_row_vsx()
192 int row, col; in vpx_mbpost_proc_across_ip_vsx() local
212 for (col = 1; col <= 6; ++col) { in vpx_mbpost_proc_across_ip_vsx()
213 s += src[col]; in vpx_mbpost_proc_across_ip_vsx()
214 ssq += src[col] * src[col]; in vpx_mbpost_proc_across_ip_vsx()
221 for (col = 0; col < cols; col += 8) { in vpx_mbpost_proc_across_ip_vsx()
226 const uint8x16_t val = vec_vsx_ld(0, src + col); in vpx_mbpost_proc_across_ip_vsx()
230 const int16x8_t right_ctx = (col + 8 == cols) in vpx_mbpost_proc_across_ip_vsx()
231 ? vec_splats((int16_t)src[col + 7]) in vpx_mbpost_proc_across_ip_vsx()
268 out = vec_perm((uint8x16_t)masked, vec_vsx_ld(0, src + col), load_merge); in vpx_mbpost_proc_across_ip_vsx()
269 vec_vsx_st(out, 0, src + col); in vpx_mbpost_proc_across_ip_vsx()
285 int col, row, i; in vpx_mbpost_proc_down_vsx() local
294 for (col = 0; col < cols; col += 8) { in vpx_mbpost_proc_down_vsx()