/external/opencv3/3rdparty/libwebp/dsp/ |
D | upsampling.c | 39 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument 67 top_dst + (2 * x - 1) * XSTEP); \ 69 top_dst + (2 * x - 0) * XSTEP); \ 75 bottom_dst + (2 * x - 1) * XSTEP); \ 77 bottom_dst + (2 * x + 0) * XSTEP); \ 86 top_dst + (len - 1) * XSTEP); \ 91 bottom_dst + (len - 1) * XSTEP); \ 113 #define SAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument 120 FUNC(top_y[1], u[0], v[0], top_dst + XSTEP); \ 122 FUNC(bottom_y[1], u[0], v[0], bottom_dst + XSTEP); \ [all …]
|
D | upsampling_neon.c | 96 #define CONVERT8(FMT, XSTEP, N, src_y, src_uv, out, cur_x) { \ argument 99 int off = ((cur_x) + i) * XSTEP; \ 179 #define CONVERT1(FMT, XSTEP, N, src_y, src_uv, rgb, cur_x) { \ argument 182 int off = ((cur_x) + i) * XSTEP; \ 190 #define CONVERT2RGB_8(FMT, XSTEP, top_y, bottom_y, uv, \ argument 193 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x) \ 196 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x) \ 200 #define CONVERT2RGB_1(FMT, XSTEP, top_y, bottom_y, uv, \ argument 203 CONVERT1(FMT, XSTEP, len, top_y, uv, top_dst, cur_x); \ 206 CONVERT1(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \ [all …]
|
D | upsampling_sse2.c | 111 #define CONVERT2RGB(FUNC, XSTEP, top_y, bottom_y, uv, \ argument 117 top_dst + ((cur_x) + n) * XSTEP); \ 123 bottom_dst + ((cur_x) + n) * XSTEP); \ 128 #define SSE2_UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ argument 162 CONVERT2RGB(FUNC, XSTEP, top_y, bottom_y, r_uv, top_dst, bottom_dst, \ 172 CONVERT2RGB(FUNC, XSTEP, top_y, bottom_y, r_uv, top_dst, bottom_dst, \
|
/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 | 72 #define ROW_FUNC(FUNC_NAME, XSTEP, R, G, B, A) \ 90 ROW_FUNC_PART_2(R + XSTEP, G + XSTEP, B + XSTEP, 0) \ 93 if (A) dst[A] = dst[A + XSTEP] = 0xff; \ 97 dst += 2 * XSTEP; \
|
D | yuv_mips32.c | 25 #define ROW_FUNC(FUNC_NAME, XSTEP, R, G, B, A) \ 52 dst[R + XSTEP] = r; \ 53 dst[G + XSTEP] = g; \ 54 dst[B + XSTEP] = b; \ 55 if (A) dst[A + XSTEP] = 0xff; \ 59 dst += 2 * XSTEP; \
|
D | upsampling_neon.c | 154 #define CONVERT8(FMT, XSTEP, N, src_y, src_uv, out, cur_x) do { \ argument 157 const int off = ((cur_x) + i) * XSTEP; \ 184 #define CONVERT1(FUNC, XSTEP, N, src_y, src_uv, rgb, cur_x) { \ argument 187 const int off = ((cur_x) + i) * XSTEP; \ 195 #define CONVERT2RGB_8(FMT, XSTEP, top_y, bottom_y, uv, \ argument 197 CONVERT8(FMT, XSTEP, len, top_y, uv, top_dst, cur_x); \ 199 CONVERT8(FMT, XSTEP, len, bottom_y, (uv) + 32, bottom_dst, cur_x); \ 203 #define CONVERT2RGB_1(FUNC, XSTEP, top_y, bottom_y, uv, \ argument 205 CONVERT1(FUNC, XSTEP, len, top_y, uv, top_dst, cur_x); \ 207 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 | 146 #define UPSAMPLE_FUNC(FUNC_NAME, FUNC, XSTEP) \ 175 top_dst + (2 * x - 1) * XSTEP); \ 177 top_dst + (2 * x - 0) * XSTEP); \ 183 bottom_dst + (2 * x - 1) * XSTEP); \ 185 bottom_dst + (2 * x + 0) * XSTEP); \ 194 top_dst + (len - 1) * XSTEP); \ 199 bottom_dst + (len - 1) * XSTEP); \ 240 #define YUV444_FUNC(FUNC_NAME, FUNC, XSTEP) \ 244 for (i = 0; i < len; ++i) FUNC(y[i], u[i], v[i], &dst[i * XSTEP]); \
|
D | yuv.c | 72 #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; \
|