Anton Khirnov
fdc6e31725
lavfi/af_headphone: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic code.
2024-09-09 17:26:17 +02:00
Anton Khirnov
c9c6f07436
lavfi/af_hdcd: convert to query_func2()
2024-09-09 17:26:17 +02:00
Anton Khirnov
0ec382f494
lavfi/af_haas: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic code.
2024-09-09 17:26:17 +02:00
Anton Khirnov
408587c836
lavfi/af_extrastereo: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic code.
2024-09-09 17:26:17 +02:00
Anton Khirnov
7896b95430
lavfi/af_earwax: convert to query_func2()
2024-09-09 17:26:17 +02:00
Anton Khirnov
e37d1efe65
lavfi/af_dialoguenhance: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-09 17:26:17 +02:00
Anton Khirnov
ffbafbfded
lavfi/af_crossfeed: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-09 17:26:17 +02:00
Anton Khirnov
84fda7de79
lavfi/af_channelsplit: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic code.
2024-09-09 17:26:17 +02:00
Anton Khirnov
18d492ff41
lavfi/af_channelsplit: support arbitrary channel layouts
...
Not just those containing channel values under 64. Also, remove an
arbitrary limitation on channel count.
2024-09-09 17:26:17 +02:00
Anton Khirnov
7dc81d33c2
lavfi/af_channelmap: remove an arbitrary limit on channel count
2024-09-09 17:26:17 +02:00
Marvin Scholz
9556379943
lavfi/avfiltergraph: fix leak on error
...
Introduced in eddffbedb3
Fixes: CID1618897 Resource leak
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2024-09-09 12:27:00 +02:00
Lynne
eb5088d28c
vulkan_filter: require storage images properly, set usage flags explicitly
...
This caused images to be created without a storage usage, which broke
at least lavapipe.
2024-09-09 07:05:44 +02:00
Christian Helmrich
865cd3c056
avfilter: add XPSNR filter
...
Add XPSNR video filter
Register new filter xpsnr.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2024-09-08 17:51:37 +02:00
James Almer
a49188297f
avfilter/af_bs2b: remove unecessary initializer from layouts
...
Fixes compilation with msvc.
Signed-off-by: James Almer <jamrial@gmail.com >
2024-09-05 12:36:04 -03:00
James Almer
d98de855a8
avfilter/af_asr: remove unecessary initializer from layouts
...
Fixes compilation with msvc.
Signed-off-by: James Almer <jamrial@gmail.com >
2024-09-05 12:36:04 -03:00
James Almer
ef6a5c98fb
avfilter/af_apulsator: remove unecessary initializer from layouts
...
Fixes compilation with msvc.
Signed-off-by: James Almer <jamrial@gmail.com >
2024-09-05 12:35:58 -03:00
Anton Khirnov
f0f1cf2697
lavfi/af_channelmap: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
3045949945
lavfi/af_bs2b: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
96a8a6139e
lavfi/af_biquads: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
2e899d3bdf
lavfi/af_asr: convert to query_func2()
...
Also, simplify code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
cf43a02c2c
lavfi/af_asetrate: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
b18f7d7e2d
lavfi/af_arnndn: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
dfaa339167
lavfi/af_arls: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
814c961a78
lavfi/af_aresample: convert to query_func2()
2024-09-05 10:03:33 +02:00
Anton Khirnov
c24e0df30b
lavfi/af_apulsator: convert to query_func2()
...
Also, simplify code, and drop a redundant call that also happens
implicitly in generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
6f2adb7967
lavfi/af_anlms: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
e0ab1fcc8c
lavfi/af_anequalizer: convert to query_func2()
...
Also, simplify code and drop redundant calls that also happen implicitly
in generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
6e4affc407
lavfi/af_aiir: convert to query_func2()
...
Drop redundant ff_set_common_all_channel_counts() /
ff_set_common_all_samplerates() calls, since those happen implicitly in
generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
f143723095
lavfi/af_agate: convert to query_func2()
...
Drop redundant ff_set_common_all_channel_counts() /
ff_set_common_all_samplerates() calls, since those happen implicitly in
generic code.
2024-09-05 10:03:33 +02:00
Anton Khirnov
c3fb696311
lavfi/af_aformat: convert to query_func2()
2024-09-02 11:55:22 +02:00
Anton Khirnov
8bc419aeb4
lavfi/af_aformat: change options from strings to arrays
...
Allows to drop custom parsing code, and also the assumption that
query_formats() is not called more than once.
2024-09-02 11:55:22 +02:00
Anton Khirnov
dc488d832c
lavfi/af_afir: convert to query_func2()
...
Drop redundant ff_set_common_all_channel_counts() /
ff_set_common_all_samplerates() calls, since those happen implicitly in
generic code.
2024-09-02 11:55:22 +02:00
Anton Khirnov
584be51334
lavfi/af_adynamicequalizer: convert to query_func2()
...
Drop redundant ff_set_common_all_channel_counts() /
ff_set_common_all_samplerates() calls, since those happen implicitly in
generic code.
2024-09-02 11:55:22 +02:00
Anton Khirnov
079834e645
lavfi/af_acrossover: convert to query_func2()
...
Drop redundant ff_set_common_all_channel_counts() /
ff_set_common_all_samplerates() calls, since those happen implicitly in
generic code.
2024-09-02 11:55:22 +02:00
Anton Khirnov
edf53e15b4
lavfi/af_aap: convert to query_func2()
...
Drop redundant ff_set_common_all_channel_counts() /
ff_set_common_all_samplerates() calls, since those happen implicitly in
generic code.
2024-09-02 11:55:22 +02:00
Anton Khirnov
0f004a0416
lavfi/aeval: convert to query_func2()
...
Drop redundant ff_set_common_all_channel_counts() /
ff_set_common_all_samplerates() calls, since those happen implicitly in
generic code.
2024-09-02 11:55:22 +02:00
Anton Khirnov
eddffbedb3
lavfi: add query_func2()
...
It differs from query_func() in accepting arrays of input/output format
configurations to be filled as callback parameters. This allows to mark
the filter context as const, ensuring it is not modified by this
function, as it is not supposed to have any side effects beyond
returning the supported formats.
2024-09-02 11:55:20 +02:00
Gyan Doshi
b5daaa1503
avfilter/formats: correct error message
...
The check is for color space, not range.
2024-09-01 10:10:16 +05:30
Zhao Zhili
2e370805da
avfilter/unsharp: Merge header into .c
...
It was shared with opencl implementation.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com >
2024-08-26 16:58:25 +08:00
Gnattu OC
30f090b4f8
avfilter: inherit input color range for videotoolbox filters
...
The color range should be set to match the input when creating
the VideoToolbox context. Otherwise, the new context will default
to limited range, creates inconsistencies with full range inputs.
Signed-off-by: Gnattu OC <gnattuoc@me.com >
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com >
2024-08-24 00:24:06 +08:00
Anton Khirnov
52471b56ba
lavfi: make FFFilterContext private to generic code
...
Nothing in it needs to be visible to filters.
2024-08-19 21:48:11 +02:00
Anton Khirnov
f19c988911
lavfi/filters: move functions only used by generic code to avfilter_internal.h
2024-08-19 21:48:11 +02:00
Anton Khirnov
6d75d44d90
lavfi: drop internal.h
...
All that remains in it are things that belong in avfilter_internal.h.
Move them there and remove internal.h
2024-08-19 21:48:04 +02:00
Anton Khirnov
90e4af65e1
lavfi/f_streamselect: remove a no-op ff_filter_config_links() call
...
It does not do anything when the links are already configured.
2024-08-19 21:45:25 +02:00
Anton Khirnov
a2314308f2
lavfi/inernal: move ff_fmt_is_regular_yuv() declaration to video.h
2024-08-19 21:45:25 +02:00
Anton Khirnov
a83a30e899
lavfi: move ff_parse_{sample_rate,channel_layout}() to audio.[ch]
...
That is a more appropriate place for those functions.
2024-08-19 21:45:25 +02:00
Anton Khirnov
f4bfdf7893
lavfi: move ff_parse_pixel_format() to vf_format, its only caller
...
The only thing this function does beyond calling av_get_pix_fmt() is
falling back onto parsing the argument as a number. No other filters
should need to do this.
2024-08-19 21:45:25 +02:00
Anton Khirnov
1afe42852b
lavfi/internal: move functions used by filters to filters.h
...
internal.h currently mixes interfaces intended to be used by filters
with those that should be limited to generic filter- or graph-level
code.
2024-08-19 21:45:25 +02:00
James Almer
211c88b9d5
avfilter/f_zmq: fix graph argument
...
Fixes regression since d566a37003 .
Signed-off-by: James Almer <jamrial@gmail.com >
2024-08-16 09:53:22 -03:00
Niklas Haas
f1071dc634
avfilter/vf_zscale: remove unused fields
2024-08-16 11:43:37 +02:00