Jan Ekström
58e59396f5
avfilter/vf_zscale: add support for setting scaling filter parameters
...
param_a/b are utilized for this.
2021-02-11 20:45:56 +02:00
Paul B Mahol
8e027ca817
avfilter/vf_zscale: switch verbose log to trace
...
Not needed in verbose mode.
2021-02-09 10:37:42 +01:00
Nicolas George
2f76476549
lavfi: regroup formats lists in a single structure.
...
It will allow to refernce it as a whole without clunky macros.
Most of the changes have been automatically made with sed:
sed -i '
s/-> *in_formats/->incfg.formats/g;
s/-> *out_formats/->outcfg.formats/g;
s/-> *in_channel_layouts/->incfg.channel_layouts/g;
s/-> *out_channel_layouts/->outcfg.channel_layouts/g;
s/-> *in_samplerates/->incfg.samplerates/g;
s/-> *out_samplerates/->outcfg.samplerates/g;
' src/libavfilter/*(.)
2020-09-08 14:02:40 +02:00
Jacob Ruiz
ba2581adb2
avfilter/vf_zscale: fix crash on unaligned input
2020-02-25 19:52:26 +01:00
Jun Zhao
b5cea39190
lavfi/zscale: enable runtime change flag
...
enable runtime change flag
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2020-01-13 09:25:18 +08:00
Paul B Mahol
22f3b6286e
avfilter: add av_cold where it is missing
2019-10-03 12:09:07 +02:00
Raphaël Zumer
08dfd57fd8
avfilter: Support EBU Tech. 3213-E primaries values
...
Signed-off-by: Raphaël Zumer <rzumer@tebako.net>
Signed-off-by: James Almer <jamrial@gmail.com>
2019-09-01 20:00:53 -03:00
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