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/af_anlmdn: ignore too small values
tags/n4.2
Paul B Mahol
6 years ago
parent
8a1fc95840
commit
ed3b64402e
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
libavfilter/af_anlmdn.c
+ 4
- 1
libavfilter/af_anlmdn.c
View File
@@ -168,7 +168,10 @@ static int filter_channel(AVFilterContext *ctx, void *arg, int ch, int nb_jobs)
float w;
av_assert0(distance >= 0.f);
w = expf(-distance * sw);
w = -distance * sw;
if (w < -11.f)
continue;
w = expf(w);
P += w * f[i - S + j + (j >= S)];
Q += w;
}
Write
Preview
Loading…
Cancel
Save