Home
last modified time | relevance | path

Searched refs:XSTEP (Results 1 – 5 of 5) sorted by relevance

/external/webp/src/dsp/
Dupsampling_neon.c120 #define CONVERT8(FMT, XSTEP, N, src_y, src_uv, out, cur_x) { \ argument
123 const int off = ((cur_x) + i) * XSTEP; \
153 #define CONVERT1(FUNC, XSTEP, N, src_y, src_uv, rgb, cur_x) { \ argument
156 const int off = ((cur_x) + i) * XSTEP; \
164 #define CONVERT2RGB_8(FMT, XSTEP, top_y, bottom_y, uv, \ argument
166 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x) \
168 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x) \
172 #define CONVERT2RGB_1(FUNC, XSTEP, top_y, bottom_y, uv, \ argument
174 CONVERT1(FUNC, XSTEP, len, top_y, uv, top_dst, cur_x); \
176 CONVERT1(FUNC, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \
[all …]
Dyuv_mips32.c24 #define ROW_FUNC(FUNC_NAME, XSTEP, R, G, B, A) \ argument
51 dst[R + XSTEP] = r; \
52 dst[G + XSTEP] = g; \
53 dst[B + XSTEP] = b; \
54 if (A) dst[A + XSTEP] = 0xff; \
58 dst += 2 * XSTEP; \
Dupsampling_sse2.c107 #define CONVERT2RGB(FUNC, XSTEP, top_y, bottom_y, \ argument
112 top_dst + ((cur_x) + n) * XSTEP); \
117 bottom_dst + ((cur_x) + n) * XSTEP); \
122 #define CONVERT2RGB_32(FUNC, XSTEP, top_y, bottom_y, \ argument
124 FUNC##32(top_y + (cur_x), r_u, r_v, top_dst + (cur_x) * XSTEP); \
127 bottom_dst + (cur_x) * XSTEP); \
131 #define SSE2_UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
159 CONVERT2RGB_32(FUNC, XSTEP, top_y, bottom_y, top_dst, bottom_dst, pos); \
166 CONVERT2RGB(FUNC, XSTEP, top_y, bottom_y, top_dst, bottom_dst, \
Dupsampling.c37 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
66 top_dst + (2 * x - 1) * XSTEP); \
68 top_dst + (2 * x - 0) * XSTEP); \
74 bottom_dst + (2 * x - 1) * XSTEP); \
76 bottom_dst + (2 * x + 0) * XSTEP); \
85 top_dst + (len - 1) * XSTEP); \
90 bottom_dst + (len - 1) * XSTEP); \
155 #define YUV444_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
159 for (i = 0; i < len; ++i) FUNC(y[i], u[i], v[i], &dst[i * XSTEP]); \
Dyuv.c72 #define ROW_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
76 const uint8_t* const end = dst + (len & ~1) * XSTEP; \
79 FUNC(y[1], u[0], v[0], dst + XSTEP); \
83 dst += 2 * XSTEP; \