Lines Matching refs:step
28 static WEBP_INLINE void do_filter2(uint8_t* p, int step) { in do_filter2() argument
29 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in do_filter2()
33 p[-step] = VP8kclip1[p0 + a2]; in do_filter2()
38 static WEBP_INLINE void do_filter4(uint8_t* p, int step) { in do_filter4() argument
39 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in do_filter4()
44 p[-2 * step] = VP8kclip1[p1 + a3]; in do_filter4()
45 p[- step] = VP8kclip1[p0 + a2]; in do_filter4()
47 p[ step] = VP8kclip1[q1 - a3]; in do_filter4()
51 static WEBP_INLINE void do_filter6(uint8_t* p, int step) { in do_filter6() argument
52 const int p2 = p[-3 * step], p1 = p[-2 * step], p0 = p[-step]; in do_filter6()
53 const int q0 = p[0], q1 = p[step], q2 = p[2 * step]; in do_filter6()
58 p[-3 * step] = VP8kclip1[p2 + a3]; in do_filter6()
59 p[-2 * step] = VP8kclip1[p1 + a2]; in do_filter6()
60 p[- step] = VP8kclip1[p0 + a1]; in do_filter6()
62 p[ step] = VP8kclip1[q1 - a2]; in do_filter6()
63 p[ 2 * step] = VP8kclip1[q2 - a3]; in do_filter6()
66 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { in hev() argument
67 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in hev()
71 static WEBP_INLINE int needs_filter(const uint8_t* p, int step, int thresh) { in needs_filter() argument
72 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; in needs_filter()
77 int step, int t, int it) { in needs_filter2() argument
78 const int p3 = p[-4 * step], p2 = p[-3 * step]; in needs_filter2()
79 const int p1 = p[-2 * step], p0 = p[-step]; in needs_filter2()
80 const int q0 = p[0], q1 = p[step], q2 = p[2 * step], q3 = p[3 * step]; in needs_filter2()