Commit 39c6d4a8 authored by Clément Bœsch's avatar Clément Bœsch

lavfi/curves: reindent after previous commit

parent e30cdac1
...@@ -609,20 +609,20 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) ...@@ -609,20 +609,20 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
} }
} }
} else { } else {
uint8_t *dst = out->data[0] + slice_start * out->linesize[0]; uint8_t *dst = out->data[0] + slice_start * out->linesize[0];
const uint8_t *src = in->data[0] + slice_start * in->linesize[0]; const uint8_t *src = in->data[0] + slice_start * in->linesize[0];
for (y = slice_start; y < slice_end; y++) { for (y = slice_start; y < slice_end; y++) {
for (x = 0; x < in->width * step; x += step) { for (x = 0; x < in->width * step; x += step) {
dst[x + r] = curves->graph[R][src[x + r]]; dst[x + r] = curves->graph[R][src[x + r]];
dst[x + g] = curves->graph[G][src[x + g]]; dst[x + g] = curves->graph[G][src[x + g]];
dst[x + b] = curves->graph[B][src[x + b]]; dst[x + b] = curves->graph[B][src[x + b]];
if (!direct && step == 4) if (!direct && step == 4)
dst[x + a] = src[x + a]; dst[x + a] = src[x + a];
}
dst += out->linesize[0];
src += in ->linesize[0];
} }
dst += out->linesize[0];
src += in ->linesize[0];
}
} }
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment