mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
parent
1331e00179
commit
e787f8fd7e
@ -296,9 +296,11 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
|
|||||||
src + (width - 2) * bpc, src + (width - 2) * bpc,
|
src + (width - 2) * bpc, src + (width - 2) * bpc,
|
||||||
src + (width - 2) * bpc + ph * stride, src + (width - 1) * bpc + ph * stride, src + (width - 2) * bpc + ph * stride};
|
src + (width - 2) * bpc + ph * stride, src + (width - 1) * bpc + ph * stride, src + (width - 2) * bpc + ph * stride};
|
||||||
|
|
||||||
s->filter(dst, src, 1, threshold, coordinateslb, s->coordinates, s->max);
|
s->filter(dst, src, 1, threshold, coordinateslb, s->coordinates, s->max);
|
||||||
s->filter(dst + 1 * bpc, src + 1 * bpc, width - 2, threshold, coordinates, s->coordinates, s->max);
|
if (width > 1) {
|
||||||
s->filter(dst + (width - 1) * bpc, src + (width - 1) * bpc, 1, threshold, coordinatesrb, s->coordinates, s->max);
|
s->filter(dst + 1 * bpc, src + 1 * bpc, width - 2, threshold, coordinates, s->coordinates, s->max);
|
||||||
|
s->filter(dst + (width - 1) * bpc, src + (width - 1) * bpc, 1, threshold, coordinatesrb, s->coordinates, s->max);
|
||||||
|
}
|
||||||
|
|
||||||
src += stride;
|
src += stride;
|
||||||
dst += dstride;
|
dst += dstride;
|
||||||
|
Loading…
Reference in New Issue
Block a user