Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Dyuv_mips_dsp_r2.c71 #define ROW_FUNC(FUNC_NAME, XSTEP, R, G, B, A) \ argument
89 ROW_FUNC_PART_2(R + XSTEP, G + XSTEP, B + XSTEP, 0) \
92 if (A) dst[A] = dst[A + XSTEP] = 0xff; \
96 dst += 2 * XSTEP; \
Dupsampling_neon.c135 #define CONVERT8(FMT, XSTEP, N, src_y, src_uv, out, cur_x) do { \ argument
138 const int off = ((cur_x) + i) * XSTEP; \
165 #define CONVERT1(FUNC, XSTEP, N, src_y, src_uv, rgb, cur_x) { \ argument
168 const int off = ((cur_x) + i) * XSTEP; \
176 #define CONVERT2RGB_8(FMT, XSTEP, top_y, bottom_y, uv, \ argument
178 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x); \
180 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \
184 #define CONVERT2RGB_1(FUNC, XSTEP, top_y, bottom_y, uv, \ argument
186 CONVERT1(FUNC, XSTEP, len, top_y, uv, top_dst, cur_x); \
188 CONVERT1(FUNC, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \
[all …]
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_SSE2((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, \
221 #define YUV444_FUNC(FUNC_NAME, CALL, CALL_C, XSTEP) \ argument
[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_mips_dsp_r2.c145 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
174 top_dst + (2 * x - 1) * XSTEP); \
176 top_dst + (2 * x - 0) * XSTEP); \
182 bottom_dst + (2 * x - 1) * XSTEP); \
184 bottom_dst + (2 * x + 0) * XSTEP); \
193 top_dst + (len - 1) * XSTEP); \
198 bottom_dst + (len - 1) * XSTEP); \
243 #define YUV444_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
247 for (i = 0; i < len; ++i) FUNC(y[i], u[i], v[i], &dst[i * XSTEP]); \
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)); \
180 #define YUV444_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
186 for (i = 0; i < len; ++i) FUNC(y[i], u[i], v[i], &dst[i * (XSTEP)]); \
Dyuv.c22 #define ROW_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
26 const uint8_t* const end = dst + (len & ~1) * (XSTEP); \
29 FUNC(y[1], u[0], v[0], dst + (XSTEP)); \
33 dst += 2 * (XSTEP); \
Dupsampling_msa.c560 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
573 uint8_t *ptop_dst = top_dst + XSTEP; \
575 uint8_t *pbot_dst = bot_dst + XSTEP; \
598 ptop_dst += XSTEP * 32; \
599 pbot_dst += XSTEP * 32; \
634 top_dst + (len - 1) * XSTEP); \
638 bot_dst + (len - 1) * XSTEP); \