mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
parent
4f4334bcbc
commit
ccf4ab8c9a
@ -150,7 +150,8 @@ static void gaussian_blur(AVFilterContext *ctx, int w, int h,
|
||||
int i, j;
|
||||
|
||||
memcpy(dst, src, w); dst += dst_linesize; src += src_linesize;
|
||||
memcpy(dst, src, w); dst += dst_linesize; src += src_linesize;
|
||||
if (h > 1)
|
||||
memcpy(dst, src, w); dst += dst_linesize; src += src_linesize;
|
||||
for (j = 2; j < h - 2; j++) {
|
||||
dst[0] = src[0];
|
||||
dst[1] = src[1];
|
||||
@ -180,8 +181,10 @@ static void gaussian_blur(AVFilterContext *ctx, int w, int h,
|
||||
dst += dst_linesize;
|
||||
src += src_linesize;
|
||||
}
|
||||
memcpy(dst, src, w); dst += dst_linesize; src += src_linesize;
|
||||
memcpy(dst, src, w);
|
||||
if (h > 2)
|
||||
memcpy(dst, src, w); dst += dst_linesize; src += src_linesize;
|
||||
if (h > 3)
|
||||
memcpy(dst, src, w);
|
||||
}
|
||||
|
||||
enum {
|
||||
|
Loading…
Reference in New Issue
Block a user