Browse Source

avfilter/af_aiir: make it clear that transfer function is digital one

tags/n4.3
Paul B Mahol 5 years ago
parent
commit
327b52412d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      doc/filters.texi
  2. +1
    -1
      libavfilter/af_aiir.c

+ 1
- 1
doc/filters.texi View File

@@ -1409,7 +1409,7 @@ Set coefficients format.

@table @samp
@item tf
transfer function
digital transfer function
@item zp
Z-plane zeros/poles, cartesian (default)
@item pr


+ 1
- 1
libavfilter/af_aiir.c View File

@@ -1223,7 +1223,7 @@ static const AVOption aiir_options[] = {
{ "wet", "set wet gain", OFFSET(wet_gain), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 1, AF },
{ "format", "set coefficients format", OFFSET(format), AV_OPT_TYPE_INT, {.i64=1}, 0, 3, AF, "format" },
{ "f", "set coefficients format", OFFSET(format), AV_OPT_TYPE_INT, {.i64=1}, 0, 3, AF, "format" },
{ "tf", "transfer function", 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, AF, "format" },
{ "tf", "digital transfer function", 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, AF, "format" },
{ "zp", "Z-plane zeros/poles", 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, AF, "format" },
{ "pr", "Z-plane zeros/poles (polar radians)", 0, AV_OPT_TYPE_CONST, {.i64=2}, 0, 0, AF, "format" },
{ "pd", "Z-plane zeros/poles (polar degrees)", 0, AV_OPT_TYPE_CONST, {.i64=3}, 0, 0, AF, "format" },


Loading…
Cancel
Save