Jun Zhao
26dbe88ea3
lavfi/zscale: make use of AVFILTER_DEFINE_CLASS
...
use AVFILTER_DEFINE_CLASS for defining the filter classes
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2019-03-08 09:38:09 +08:00
Vittorio Giovara
bc38c8f442
vf_zscale: Fix alpha destination graph for floating point pixel formats
...
This was setting the input pixel type instead of the output one,
leading to incorrect data being fed to the library.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2017-12-08 10:11:50 -05:00
Vittorio Giovara
002db7d49a
vf_zscale: Add more supported input properties
...
Bump the minimum version necessary in the configure file.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2017-11-28 14:51:45 -05:00
Vittorio Giovara
3e0560b054
vf_zscale: Relax color properties maximum bounds
...
This simplifies adding new values, which are already validated elsewhere.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2017-11-28 13:55:47 -05:00
dxfhgwet
ff763351e7
avfilter/zscale: fix memory leak
2017-10-28 19:38:12 +02:00
dxfhgwet
b43d13144b
avfilter/zscale: fix segfault on library error
2017-10-28 19:32:45 +02:00
Vittorio Giovara
8b9ae9a8e0
zscale: Enable single precision input/ouput filtering
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2017-08-15 15:27:40 +02:00
Vittorio Giovara
2e91a96d7b
zscale: Factor out graph building
2017-07-21 20:07:40 +02:00
Vittorio Giovara
0a243bedec
zscale: Factor out format initialization
2017-07-21 20:07:40 +02:00
Vittorio Giovara
1f4454230d
zscale: Add range options aliases to match scale ones
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2017-05-26 10:29:32 -04:00
Vittorio Giovara
6aafe56421
zscale: Add pixdesc-API compatible color names to filter options
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2017-05-26 10:28:50 -04:00
Paul B Mahol
4719e563a4
avfilter/vf_zscale: export approximate gamma option and enable it by default
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-11-27 11:43:54 +01:00
Paul B Mahol
b96a6e2024
avfilter/vf_zscale: add support for some recent new additions
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-11-23 19:02:20 +01:00
Paul B Mahol
b5cf307d0f
avfilter/vf_zscale: make possible to change chroma location
2016-09-02 16:10:30 +02:00
Paul B Mahol
f5f34ee0de
avfilter/vf_zscale: unbreak RGB support
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-03-03 13:28:25 +01:00
Paul B Mahol
df7b165e87
avfilter/vf_zscale: make it possible to override input frame parameters
...
Mostly useful when there is no such parameters present at all.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2016-01-26 23:13:16 +01:00
Lou Logan
4c46f1d493
avfilter/vf_zscale: fix typo
...
Fixes #4958 as found by nicol.
Signed-off-by: Lou Logan <lou@lrcd.com>
2015-10-22 10:44:30 -08:00
Paul B Mahol
416e35e5aa
avfilter: add zscale filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-18 18:01:56 +02:00