Anton Khirnov
4e66d0c5d0
lavfi/f_drawgraph: switch to query_func2()
2024-10-04 10:03:34 +02:00
Anton Khirnov
670530a927
lavfi/buffersrc: switch to query_func2()
2024-10-04 10:03:34 +02:00
Anton Khirnov
a7fe27f964
lavfi/buffersrc: validate hw context presence in video_init()
...
That is the more appropriate place for it than query_formats().
2024-10-04 10:03:34 +02:00
Anton Khirnov
2fa142f7c0
lavfi/buffersink: switch to query_func2()
2024-10-04 10:03:34 +02:00
Anton Khirnov
b8bf2f4e17
lavfi/buffersink: move channel layout parsing to init
...
That is a more appropriate place for this, and will also be useful in
future commits.
2024-10-04 10:03:34 +02:00
Anton Khirnov
2aad37ffb5
lavfi/buffersink: move the option sanity check to init
...
Options are set before init, so that is the appropriate place to
validate them.
2024-10-04 10:03:34 +02:00
James Almer
358fdf3083
avfilter: add missing build deps to msad filter
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-10-02 12:44:49 -03:00
Anton Khirnov
262e6f8430
lavfi/avfilter: export AVFilter initialization state
...
This will allow the AVOption code to detect setting non-runtime options
after the filter has been initialized.
2024-10-01 09:57:58 +02:00
Anton Khirnov
1efcdbc54d
lavfi/buffersink: add array-type options to replace "int-list" ones
...
"int-list" options are a hack that provides rudimentary support for
array-type options by treating them as byte arrays (i.e.
AV_OPT_TYPE_BINARY). Since we now have proper array-type options, they
should replace "int-list" everywhere (which happens to be just
buffersink).
2024-09-30 09:10:19 +02:00
Anton Khirnov
ca860d8d07
lavfi: clarify the behaviour of avfilter_graph_create_filter()
...
Mention explicitly that no options can be set manually when using this
function.
2024-09-28 17:04:33 +02:00
Anton Khirnov
6b402cdbf4
lavfi/buffersink: allow av_buffersink_set_frame_size() to be called earlier
...
The function currently writes directly into the input link, which
requires it to be called after the filter has been linked. However, the
documentation does not mention this restriction and the natural place to
call av_buffersink_set_frame_size() during the options-setting stage,
that is before filter init (and so before the input link exists).
2024-09-28 17:04:33 +02:00
Anton Khirnov
8a951ef5e1
lavfi/avf_showwaves: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
fadd1dda8a
lavfi/avf_showvolume: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
197a619371
lavfi/avf_showspectrum: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
d4efdbd029
lavfi/avf_showspatial: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
d7fde5694d
lavfi/avf_showfreqs: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
423eccadd6
lavfi/avf_showcwt: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
70a16a18ca
lavfi/avf_showcqt: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
d36c368bf3
lavfi/avf_concat: switch to query_func2()
2024-09-28 09:53:11 +02:00
Anton Khirnov
a36cea452f
lavfi/avf_avectorscope: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
55c1cb847c
lavfi/avf_aphasemeter: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
88f3893148
lavfi/avf_ahistogram: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
6320301182
lavfi/avf_abitscope: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
0c2a5890ac
lavfi/avf_a3dscope: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
c1d7814dca
lavfi/*_vaapi: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
194e1ca03f
lavfi/asrc_sine: convert to query_func2()
2024-09-28 09:53:11 +02:00
Anton Khirnov
ec01d80f2e
lavfi/asrc_sinc: convert to query_func2()
2024-09-28 09:53:11 +02:00
Anton Khirnov
66c9457387
lavfi/asrc_hilbert: convert to query_func2()
2024-09-28 09:53:11 +02:00
Anton Khirnov
21d2be1088
lavfi/asrc_flite: convert to query_func2()
2024-09-28 09:53:11 +02:00
Anton Khirnov
9335af9acc
lavfi/asrc_anullsrc: convert to query_func2()
...
Also, drop a redundant call that also happens implicitly in generic
code.
2024-09-28 09:53:11 +02:00
Anton Khirnov
5b3212e5f7
lavfi/asrc_anoisesrc: convert to query_func2()
2024-09-28 09:53:11 +02:00
Anton Khirnov
242dab2ccd
lavfi/asrc_afirsrc: convert to query_func2()
2024-09-28 09:53:11 +02:00
Anton Khirnov
47f87409e3
lavfi/asrc_afdelaysrc: convert to query_func2()
2024-09-28 09:53:11 +02:00
Marvin Scholz
10b3edbe24
avfilter/vf_coreimage: silence AVFrame deprecation warnings
...
Deprecation warning need to be disabled here as we set deprecated
fields.
2024-09-26 00:34:36 +02:00
Marvin Scholz
799503f4bb
avfilter/vf_coreimage: simplify list_filters code
...
Use fast-enumeration and get rid of unnecessary intermediate variables.
2024-09-26 00:33:14 +02:00
Marvin Scholz
8d674e604c
avfilter/yadif_videotoolbox: remove unused variable
2024-09-26 00:18:54 +02:00
Marvin Scholz
7857ba97ac
lavfi/metal: simplify fallback
...
Instead of using a fallback variable, just do an early return.
2024-09-26 00:02:36 +02:00
James Almer
fd6cc18d60
avfilter/vf_showinfo: add missing break to ViewID case
...
Missed in 6940a6de2f .
Signed-off-by: James Almer <jamrial@gmail.com>
2024-09-24 16:08:29 -03:00
Michael Niedermayer
38e224c2ba
*/version.h: bump after release/7.1 branch
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-09-24 17:10:35 +02:00
Michael Niedermayer
e1094ac45d
*/version.h: bump minor versions for release/7.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-09-24 17:07:30 +02:00
Anton Khirnov
299d9115d4
lavfi/f_select: allow selection based on view ID
...
Can be used together with the split filter to decompose multiview video
into individual views.
2024-09-23 17:11:40 +02:00
Anton Khirnov
6940a6de2f
lavu/frame: add side data storing view ID for multi-view video
2024-09-23 17:11:38 +02:00
Lynne
39c640e1d6
nlmeans_vulkan: split up descriptor sets, rename buffer offset vars
2024-09-23 13:42:34 +02:00
Lynne
bc36fe6f1f
vulkan: use push descriptors where possible
...
Push descriptors are in theory slightly faster, but come with
limitations for which we have to check.
Either way, they're not difficult to implement, so even though
no one should be using peasant-tier descriptors, do it anyway.
2024-09-23 13:41:07 +02:00
Lynne
8a7af4aa49
vulkan: add support for regular descriptor pools
...
This permits:
- The use of Vulkan filtering on many more devices
- Better debugging due to lack of descriptor buffer support in layers
Much of the changes here are due to a requirement that updates to
descriptors must happen between the command buffer being waited on,
and the pipeline not being bound.
We routinely did it the other way around, by updating only after
we bind the pipeline.
2024-09-23 13:40:38 +02:00
James Almer
dc11c12b64
avfilter: add an LCEVC decoding filter
...
Signed-off-by: James Almer <jamrial@gmail.com>
2024-09-19 10:06:05 -03:00
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
2024-09-13 19:12:58 +02:00
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.
2024-09-13 00:26:23 +02:00
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.
2024-09-13 00:24:47 +02:00
Marvin Scholz
59244a0c50
lavfi/vf_ssim: narrow variable scopes
2024-09-13 00:24:20 +02:00