On Wed, Jan 6, 2016 at 5:36 AM, Moritz Barsnick wrote:
> On Tue, Jan 05, 2016 at 21:36:20 +0100, Moritz Barsnick wrote:
>> This is not the first of your filters where you describe a parameter as
>> a "percentage", but expect a float value [0, 1]. That is extremely
>> confusing, if not even wrong.
On Tue, Jan 05, 2016 at 21:36:20 +0100, Moritz Barsnick wrote:
> This is not the first of your filters where you describe a parameter as
> a "percentage", but expect a float value [0, 1]. That is extremely
> confusing, if not even wrong. To me, a percentage covers [0, 100]. You
> need to find a dif
On Tue, Jan 05, 2016 at 21:19:12 +0100, Paul B Mahol wrote:
> +It accepts the following values:
> +@table @samp
> +@item replace
> +logarithmic
^^^ This description is a copy/paste error.
> +@item pheight
> +Set histogram percentage of window height.
[...]
> +{ "pheight", "set histogram pe
Signed-off-by: Paul B Mahol
---
doc/filters.texi | 86 ++
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/avf_ahistogram.c | 391 +++
4 files changed, 479 insertions(+)
create mode 100644 libavfi
On Wed, 30 Dec 2015 13:49:07 +0100, Paul B Mahol wrote:
> diff --git a/doc/filters.texi b/doc/filters.texi
[...]
> +@item ascale
> +Set amplitude scale.
> +
> +It accepts the following values:
> +@table @samp
> +@item log
> +logarithmic
> +@item lin
> +linear
> +@end table
Default is @code{lin}
Signed-off-by: Paul B Mahol
---
doc/filters.texi | 70 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/avf_ahistogram.c | 358 +++
4 files changed, 430 insertions(+)
create mode 100644 libavfil
Signed-off-by: Paul B Mahol
---
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/avf_ahistogram.c | 235 +++
3 files changed, 237 insertions(+)
create mode 100644 libavfilter/avf_ahistogram.c
diff --git a/libavfilter