Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -242,6 +242,7 @@ static int remap##ws##_##bits##bit_slice(AVFilterContext *ctx, void *arg, int jo · 241 unmodified lines | ||
| 242 | 242 | \ |
| 243 | 243 | for (int stereo = 0; stereo < 1 + s->out_stereo > STEREO_2D; stereo++) { \ |
| 244 | 244 | for (int plane = 0; plane < s->nb_planes; plane++) { \ |
| 245 | + const unsigned map = s->map[plane]; \ | |
| 245 | 246 | const int in_linesize = in->linesize[plane]; \ |
| 246 | 247 | const int out_linesize = out->linesize[plane]; \ |
| 247 | 248 | const int uv_linesize = s->uv_linesize[plane]; \ |
| @@ -259,7 +260,6 @@ static int remap##ws##_##bits##bit_slice(AVFilterContext *ctx, void *arg, int jo · 11 unmodified lines | ||
| 259 | 260 | const int slice_end = (height * (jobnr + 1)) / nb_jobs; \ |
| 260 | 261 | \ |
| 261 | 262 | for (int y = slice_start; y < slice_end; y++) { \ |
| 262 | − const unsigned map = s->map[plane]; \ | |
| 263 | 263 | const uint16_t *const u = s->u[map] + y * uv_linesize * ws * ws; \ |
| 264 | 264 | const uint16_t *const v = s->v[map] + y * uv_linesize * ws * ws; \ |
| 265 | 265 | const int16_t *const ker = s->ker[map] + y * uv_linesize * ws * ws; \ |