Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Dupsampling_sse41.c109 #define CONVERT2RGB_32(FUNC, XSTEP, top_y, bottom_y, \ argument
111 FUNC##32_SSE41((top_y) + (cur_x), r_u, r_v, (top_dst) + (cur_x) * (XSTEP)); \
114 (bottom_dst) + (cur_x) * (XSTEP)); \
118 #define SSE4_UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
146 CONVERT2RGB_32(FUNC, XSTEP, top_y, bottom_y, top_dst, bottom_dst, pos); \
159 CONVERT2RGB_32(FUNC, XSTEP, tmp_top, tmp_bottom, tmp_top_dst, \
161 memcpy(top_dst + pos * (XSTEP), tmp_top_dst, (len - pos) * (XSTEP)); \
163 memcpy(bottom_dst + pos * (XSTEP), tmp_bottom_dst, \
164 (len - pos) * (XSTEP)); \
204 #define YUV444_FUNC(FUNC_NAME, CALL, CALL_C, XSTEP) \ argument
[all …]
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_sse2.c107 #define CONVERT2RGB_32(FUNC, XSTEP, top_y, bottom_y, \ argument
109 FUNC##32_SSE2((top_y) + (cur_x), r_u, r_v, (top_dst) + (cur_x) * (XSTEP)); \
112 (bottom_dst) + (cur_x) * (XSTEP)); \
116 #define SSE2_UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
144 CONVERT2RGB_32(FUNC, XSTEP, top_y, bottom_y, top_dst, bottom_dst, pos); \
157 CONVERT2RGB_32(FUNC, XSTEP, tmp_top, tmp_bottom, tmp_top_dst, \
159 memcpy(top_dst + pos * (XSTEP), tmp_top_dst, (len - pos) * (XSTEP)); \
161 memcpy(bottom_dst + pos * (XSTEP), tmp_bottom_dst, \
162 (len - pos) * (XSTEP)); \
217 #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_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_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.c566 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument
579 uint8_t* ptop_dst = top_dst + XSTEP; \
581 uint8_t* pbot_dst = bot_dst + XSTEP; \
604 ptop_dst += XSTEP * 32; \
605 pbot_dst += XSTEP * 32; \
640 top_dst + (len - 1) * XSTEP); \
644 bot_dst + (len - 1) * XSTEP); \
/external/igt-gpu-tools/tests/
Dkms_cursor_edge_walk.c101 #define XSTEP 8 macro
115 dx = (ex - sx)/XSTEP; in test_edge_pos()