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/*(.)
4 years ago
Jacob Ruiz
ba2581adb2
avfilter/vf_zscale: fix crash on unaligned input
5 years ago
Jun Zhao
b5cea39190
lavfi/zscale: enable runtime change flag
enable runtime change flag
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Paul B Mahol
22f3b6286e
avfilter: add av_cold where it is missing
5 years ago
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>
5 years ago
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>
6 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
dxfhgwet
ff763351e7
avfilter/zscale: fix memory leak
7 years ago
dxfhgwet
b43d13144b
avfilter/zscale: fix segfault on library error
7 years ago
Vittorio Giovara
8b9ae9a8e0
zscale: Enable single precision input/ouput filtering
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
7 years ago
Vittorio Giovara
2e91a96d7b
zscale: Factor out graph building
7 years ago
Vittorio Giovara
0a243bedec
zscale: Factor out format initialization
7 years ago
Vittorio Giovara
1f4454230d
zscale: Add range options aliases to match scale ones
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
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>
8 years ago
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>
8 years ago
Paul B Mahol
b96a6e2024
avfilter/vf_zscale: add support for some recent new additions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Paul B Mahol
b5cf307d0f
avfilter/vf_zscale: make possible to change chroma location
8 years ago
Paul B Mahol
f5f34ee0de
avfilter/vf_zscale: unbreak RGB support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago
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>
9 years ago
Lou Logan
4c46f1d493
avfilter/vf_zscale: fix typo
Fixes #4958 as found by nicol.
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years ago
Paul B Mahol
416e35e5aa
avfilter: add zscale filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years ago