This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/vf_convolution: disable fast path if rdiv/bias are different from defaults
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n4.0
Paul B Mahol
7 years ago
parent
4e1307c0f7
commit
fe0fdc51b5
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavfilter/vf_convolution.c
+ 3
- 0
libavfilter/vf_convolution.c
View File
@@ -997,6 +997,9 @@ static av_cold int init(AVFilterContext *ctx)
} else {
return AVERROR(EINVAL);
}
if (s->copy[i] && (s->rdiv[i] != 1. || s->bias[i] != 0.))
s->copy[i] = 0;
}
} else if (!strcmp(ctx->filter->name, "prewitt")) {
for (i = 0; i < 4; i++) {
Write
Preview
Loading…
Cancel
Save