/external/webp/src/dsp/ |
D | upsampling_sse2.c | 107 #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, \ 216 #define YUV444_FUNC(FUNC_NAME, CALL, XSTEP) \ argument [all …]
|
D | yuv_mips_dsp_r2.c | 71 #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; \
|
D | yuv_mips32.c | 24 #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; \
|
D | upsampling_neon.c | 135 #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 …]
|
D | upsampling.c | 37 #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 161 for (i = 0; i < len; ++i) FUNC(y[i], u[i], v[i], &dst[i * XSTEP]); \
|
D | upsampling_mips_dsp_r2.c | 144 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument 173 top_dst + (2 * x - 1) * XSTEP); \ 175 top_dst + (2 * x - 0) * XSTEP); \ 181 bottom_dst + (2 * x - 1) * XSTEP); \ 183 bottom_dst + (2 * x + 0) * XSTEP); \ 192 top_dst + (len - 1) * XSTEP); \ 197 bottom_dst + (len - 1) * XSTEP); \ 238 #define YUV444_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument 242 for (i = 0; i < len; ++i) FUNC(y[i], u[i], v[i], &dst[i * XSTEP]); \
|
D | yuv.c | 74 #define ROW_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument 78 const uint8_t* const end = dst + (len & ~1) * XSTEP; \ 81 FUNC(y[1], u[0], v[0], dst + XSTEP); \ 85 dst += 2 * XSTEP; \
|
D | upsampling_msa.c | 560 #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); \
|