diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-08-16 18:03:56 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-08-16 18:09:50 +0200 |
commit | b438c2025c3e277bb506a3a7b8ec8a0d52ed3b07 (patch) | |
tree | 95525f498f466d69af642f42b1494101c39bbb67 /libavfilter/avf_showfreqs.c | |
parent | 46bfc1562f187e3c04ea1b9baa1a1d0580530485 (diff) | |
download | ffmpeg-b438c2025c3e277bb506a3a7b8ec8a0d52ed3b07.tar.gz |
avfilter/window_func: add cauchy, parzen and poisson window function
Diffstat (limited to 'libavfilter/avf_showfreqs.c')
-rw-r--r-- | libavfilter/avf_showfreqs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/avf_showfreqs.c b/libavfilter/avf_showfreqs.c index 8cf8378ad4..6f9d486d13 100644 --- a/libavfilter/avf_showfreqs.c +++ b/libavfilter/avf_showfreqs.c @@ -113,6 +113,9 @@ static const AVOption showfreqs_options[] = { { "gauss", "Gauss", 0, AV_OPT_TYPE_CONST, {.i64=WFUNC_GAUSS}, 0, 0, FLAGS, "win_func" }, { "tukey", "Tukey", 0, AV_OPT_TYPE_CONST, {.i64=WFUNC_TUKEY}, 0, 0, FLAGS, "win_func" }, { "dolph", "Dolph-Chebyshev", 0, AV_OPT_TYPE_CONST, {.i64=WFUNC_DOLPH}, 0, 0, FLAGS, "win_func" }, + { "cauchy", "Cauchy", 0, AV_OPT_TYPE_CONST, {.i64=WFUNC_CAUCHY}, 0, 0, FLAGS, "win_func" }, + { "parzen", "Parzen", 0, AV_OPT_TYPE_CONST, {.i64=WFUNC_PARZEN}, 0, 0, FLAGS, "win_func" }, + { "poisson", "Poisson", 0, AV_OPT_TYPE_CONST, {.i64=WFUNC_POISSON}, 0, 0, FLAGS, "win_func" }, { "overlap", "set window overlap", OFFSET(overlap), AV_OPT_TYPE_FLOAT, {.dbl=1.}, 0., 1., FLAGS }, { "averaging", "set time averaging", OFFSET(avg), AV_OPT_TYPE_INT, {.i64=1}, 0, INT32_MAX, FLAGS }, { "colors", "set channels colors", OFFSET(colors), AV_OPT_TYPE_STRING, {.str = "red|green|blue|yellow|orange|lime|pink|magenta|brown" }, 0, 0, FLAGS }, |