James Almer
dc11c12b64
avfilter: add an LCEVC decoding filter
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 months ago
Marvin Scholz
c59a073abe
lavfi/af_channelmap: fix channelmap_init error handling
...
The channelmap_init function was returning success even on error after
7dc81d33c2
due to shadowing of the
outer ret variable.
Fixes CID1619297 Logically dead code
4 months ago
Marvin Scholz
e7126d9648
lavfi/vf_signature: use av_err2str to simplify code
...
No need to explicitly specify the buffer here as it is only
ever passed to av_log, so av_err2str can be used.
4 months ago
Marvin Scholz
8fac5beaf8
lavfi/f_metadata: use av_err2str to simplify code
...
No need to explicitly specify the buffer here as it is only
ever passed to av_log, so av_err2str can be used.
4 months ago
Marvin Scholz
59244a0c50
lavfi/vf_ssim: narrow variable scopes
4 months ago
Marvin Scholz
3f8061afe8
lavfi/vf_ssim: use av_err2str to simplify code
...
No need to explicitly specify the buffer here as it is only
ever passed to av_log, so av_err2str can be used.
4 months ago
Marvin Scholz
bd3038b28c
lavfi/vf_vmafmotion: fix variable shadowing
4 months ago
Marvin Scholz
e93f20c017
lavfi/vf_vmafmotion: use av_err2str to simplify code
...
No need to explicitly specify the buffer here as it is only
ever passed to av_log, so av_err2str can be used.
4 months ago
Marvin Scholz
29d7ed089e
lavfi/vf_psnr: use av_err2str to simplify code
...
No need to explicitly specify the buffer here as it is only
ever passed to av_log, so av_err2str can be used.
4 months ago
Marvin Scholz
bbde886b63
lavfi/vf_ssim360: fix variable shadowing
4 months ago
Marvin Scholz
c6ab95d009
lavfi/vf_ssim360: use av_err2str to simplify code
...
No need to explicitly specify the buffer here as it is only ever passed
to av_log, so av_err2str can be used.
4 months ago
Niklas Haas
ca77fc2177
avfilter: fix YUV colorspace negotiation for YUVJ
...
Ironically, despite being introduced to make YUVJ unnecessary, the new
YUV negotiation logic failed to actually negotiate YUVJ formats
themselves correctly, leading to errors when passing YUVJ frames into
a filter graph. (They were effectively treated like RGB or Grayscale
formats, rather than as forced-full-range YUV, and hence did not have
their colorspace matrix correctly negotiated)
Fix this by splitting off the YUVJ check from ff_fmt_is_regular_yuv().
Obviously, we can trivially undo this change again once YUVJ is actually
deleted from the codebase.
Fixes : #11179
4 months ago
James Almer
2e91532ead
avfilter/af_join: pass the correct input layouts to ff_channel_layouts_ref
...
Should fix memory leaks show in fate-filter-join and fate-filter-crazychannels.
Reviewed-by: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Signed-off-by: James Almer <jamrial@gmail.com>
4 months ago
Zhao Zhili
071c499026
avfilter/unsharp: Call function directly rather than via function pointer
...
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
4 months ago
Anton Khirnov
691e0a1082
lavfi/af_pan: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
b38f4e7f86
lavfi/af_pan: stop modifying private data in query_formats()
...
It is not supposed to have any side effects, and the modification in
question can just as well be done in filter init.
4 months ago
Anton Khirnov
d0f4c08207
lavfi/af_lv2: convert to query_func2()
4 months ago
Anton Khirnov
363d4a7559
lavfi/af_replaygain: convert to query_func2()
4 months ago
Anton Khirnov
75b2f5a7d3
lavfi/af_sidechaincompress: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
4c4199758c
lavfi/af_sofalizer: convert to query_func2()
4 months ago
Anton Khirnov
449f670a14
lavfi/af_stereotools: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
c4d9282a56
lavfi/af_stereowiden: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
d90035c941
lavfi/af_surround: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
2ee4625d4b
lavfi/af_virtualbass: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
7887d00ee6
lavfi/af_volume: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
e13592c22d
lavfi/af_loudnorm: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
bfb139bb8d
lavfi/af_ladspa: convert to query_func2()
4 months ago
Anton Khirnov
48d9a4d7ca
lavfi/af_join: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic code.
4 months ago
Anton Khirnov
fdc6e31725
lavfi/af_headphone: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic code.
4 months ago
Anton Khirnov
c9c6f07436
lavfi/af_hdcd: convert to query_func2()
4 months ago
Anton Khirnov
0ec382f494
lavfi/af_haas: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic code.
4 months ago
Anton Khirnov
408587c836
lavfi/af_extrastereo: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic code.
4 months ago
Anton Khirnov
7896b95430
lavfi/af_earwax: convert to query_func2()
4 months ago
Anton Khirnov
e37d1efe65
lavfi/af_dialoguenhance: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
ffbafbfded
lavfi/af_crossfeed: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
84fda7de79
lavfi/af_channelsplit: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic code.
4 months ago
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.
4 months ago
Anton Khirnov
7dc81d33c2
lavfi/af_channelmap: remove an arbitrary limit on channel count
4 months ago
Marvin Scholz
9556379943
lavfi/avfiltergraph: fix leak on error
...
Introduced in eddffbedb3
Fixes: CID1618897 Resource leak
Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 months ago
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.
4 months ago
Christian Helmrich
865cd3c056
avfilter: add XPSNR filter
...
Add XPSNR video filter
Register new filter xpsnr.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 months ago
James Almer
a49188297f
avfilter/af_bs2b: remove unecessary initializer from layouts
...
Fixes compilation with msvc.
Signed-off-by: James Almer <jamrial@gmail.com>
4 months ago
James Almer
d98de855a8
avfilter/af_asr: remove unecessary initializer from layouts
...
Fixes compilation with msvc.
Signed-off-by: James Almer <jamrial@gmail.com>
4 months ago
James Almer
ef6a5c98fb
avfilter/af_apulsator: remove unecessary initializer from layouts
...
Fixes compilation with msvc.
Signed-off-by: James Almer <jamrial@gmail.com>
4 months ago
Anton Khirnov
f0f1cf2697
lavfi/af_channelmap: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
3045949945
lavfi/af_bs2b: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
96a8a6139e
lavfi/af_biquads: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
2e899d3bdf
lavfi/af_asr: convert to query_func2()
...
Also, simplify code.
4 months ago
Anton Khirnov
cf43a02c2c
lavfi/af_asetrate: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago
Anton Khirnov
b18f7d7e2d
lavfi/af_arnndn: convert to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
4 months ago