James Almer
3827233187
avfilter/vsrc_testsrc: add missing alpha plane define
...
"A" was never being defined if yuvtestsrc was enabled but rgbtestsrc disabled.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
f2853002dd
avfilter/vsrc_testsrc: add support for packed YUV formats in yuvtestsrc
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
667e22e85d
avfilter/vsdc_testsrc: simplify yuvtest_fill_picture
...
Copy what's done for rgbtest_fill_picture.
It will be useful for the following commit.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
Nicolas Gaullier
de976eaf30
avfilter/framesync: fix forward EOF pts
...
Note1: when the EOF pts is not accurate enough, the last frame
can be dropped by vf_fps with default rounding.
Note2: vf_scale use framesync since e82a3997cd
,
so this is a very commonplace scenario.
For example:
./ffprobe -f lavfi testsrc=d=1,scale,fps -of flat \
-count_frames -show_entries stream=nb_read_frames
Before:
streams.stream.0.nb_read_frames="24"
After:
streams.stream.0.nb_read_frames="25"
Signed-off-by: Anton Khirnov <anton@khirnov.net>
3 months ago
Thomas Guillory
37863b92b7
libavfilter/vf_overlay: fix the displayed flags in CLI documentation
...
When displaying help for overlay filter in CLI, the flags for x and y
parameters don't have the T flag. However these two parameters do have
the capability to be set at runtime, as implemented in commit
d2752ef061
. This commit fixes the CLI documentation.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
3 months ago
Marvin Scholz
7e1d72589e
avfilter/af_afftdn: use av_assert0 for unreachable assert
...
This is unreachable anyway so performance is not an issue here. Allows
guiding the compiler in all build modes to not emit a spurious warning
here:
warning: variable 'mag' is used uninitialized whenever switch default is taken
3 months ago
Lynne
c982376076
vulkan: extend ff_vk_shader_rep_fmt to be useful for bitexactness
...
The original either reported 8 or 16-bit conversion from the
original, rather than being able to return the actual original.
This makes it usable in a situation where preserving exactness
is required.
3 months ago
Niklas Haas
bed919efaa
avfilter/src_movie: configure correct YUV attributes
...
Missed by the YUV negotiation series.
3 months ago
James Almer
362586fcad
avfilter/vf_xpsnr: remove duplicated DSP infranstructure
...
Fully reuse the existing one from vf_psnr, instead of halfways.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
Anton Khirnov
26ae8d1891
lavfi/avfilter: drop ff_ prefixes from static functions
3 months ago
Anton Khirnov
d3739dcbec
lavfi/avfilter: make ff_inlink_evaluate_timeline_at_frame() static
...
It is not used outside of avfilter.c
3 months ago
Anton Khirnov
6647e57dcb
lavfi/avfilter: document AVFilterContext.is_disabled as private
...
Ideally there should be three parts to the filter context - public,
private to the filter, and private to generic code, but only the first
and the last of these exist currently. Until the second is implemented,
this is better than nothing.
3 months ago
Anton Khirnov
4472bddb18
lavfi/avfilter: move AVFilterContext.command_queue to FFFilterContext
...
It is private to generic filtering code.
3 months ago
Anton Khirnov
71f176e3ce
lavfi/avfilter: move AVFilterContext.{enable,var_values} to FFFilterContext
...
They are private to generic filtering code.
3 months ago
Anton Khirnov
b1247e7c1f
lavfi/avfilter: move AVFilterContext.ready to FFFilterContext
...
This field is private to the generic filtering code.
3 months ago
Anton Khirnov
e0eec71a13
lavfi/vf_geq: switch to query_func2()
3 months ago
Anton Khirnov
a81061b911
lavfi/vf_hwmap: switch to query_func2()
3 months ago
Anton Khirnov
eb0c9670b4
lavfi/vf_format: switch to query_func2()
3 months ago
Anton Khirnov
cfbb6e9f5d
lavfi/vf_fieldorder: switch to query_func2()
3 months ago
Anton Khirnov
977059718b
lavfi/vf_fieldmatch: switch to query_func2()
3 months ago
Anton Khirnov
4863570d49
lavfi/vf_fieldhint: switch to query_func2()
3 months ago
Anton Khirnov
637b242ec3
lavfi/vf_feedback: switch to query_func2()
3 months ago
Anton Khirnov
4011304102
lavfi/vf_fade: switch to query_func2()
3 months ago
Anton Khirnov
2161abaecf
lavfi/vf_elbg: switch to query_func2()
3 months ago
Anton Khirnov
f59c1b8a0c
lavfi/vf_edgedetect: switch to query_func2()
3 months ago
Anton Khirnov
87a619c549
lavfi/vf_drawtext: switch to query_func2()
3 months ago
Anton Khirnov
9ebdaa6c7d
lavfi/vf_detelecine: switch to query_func2()
3 months ago
Anton Khirnov
f8574da8e5
lavfi/vf_deband: switch to query_func2()
3 months ago
Anton Khirnov
eff406f5dd
lavfi/vf_datascope: switch to query_func2()
3 months ago
Anton Khirnov
a92052cb97
lavfi/vf_crop: switch to query_func2()
3 months ago
Anton Khirnov
da8cc791e2
lavfi/vf_copy: switch to query_func2()
3 months ago
Anton Khirnov
bc418fd872
lavfi/vf_colorspace: switch to query_func2()
3 months ago
Anton Khirnov
631e5bcdc7
lavfi/vf_ciescope: switch to query_func2()
3 months ago
Anton Khirnov
95c9c1c2be
lavfi/vf_boxblur: switch to query_func2()
3 months ago
Anton Khirnov
7ab1ddbaf3
lavfi/vf_alphamerge: switch to query_func2()
...
Simplify the implementation by using the fact that ff_set_common_*()
will ignore those links on which the formats have already been set.
3 months ago
Lynne
73d2cb1c2b
nlmeans_vulkan: remove unused forward declaration
3 months ago
Lynne
e3d3ee516a
bwdif_vulkan: split off main shader code as a separate file
...
The code to support this was still there, may as well use it.
3 months ago
Lynne
6756136c92
libavfilter/Makefile: fix tag for Vulkan .comp files
3 months ago
Lynne
0a1f8107bb
vulkan: move SPIR-V compilation code to libavutil
...
The code is not currently used by libavutil, its just where our
common Vulkan code is.
Since SPIR-V compilation will be needed by lavc, move it, rather
than having lavc including lavfi.
3 months ago
Lynne
4c88186d5d
lavfi/vulkan: remove redundant header
3 months ago
Lynne
a304cbeb8d
vulkan: add profiling debug setting
...
This simply keeps all shader optimizations, but allows debug
data to be generated.
3 months ago
Lynne
832947be02
vulkan: don't enable GL_EXT_buffer_reference by default
...
Only nlmeans_vulkan uses it.
3 months ago
Lynne
2bb0b6dd2c
vulkan_shaderc: add more stages, target Vulkan 1.3 and only output debug if needed
3 months ago
Lynne
a2a983e1d0
vulkan_glslang: add more stages, target Vulkan 1.3 and output debug info
3 months ago
Lynne
0bc4e03322
lavfi/*vulkan: forward FFVulkanContext to SPIR-V compilers
...
We need to know what extensions are supported.
3 months ago
Lynne
356d1cc8ff
vulkan: parse instance list and add the DEBUG_UTILS extension
...
Required to let users know whether debugging is active.
3 months ago
Lynne
37d5cb84e8
vulkan: check if current buffer has finished execution before picking another
...
This saves resources, as dependencies are freed/reclaimed with a lower latency,
and provies a speedup.
3 months ago
Lynne
0a37d5a3b1
vulkan: merge FFVkSPIRVShader and FFVkPipeline into FFVkShader
...
Pipelines are just shaders. There's no reason to treat them
differently.
This also lets us implement shader objects and is an overall
cleanup.
3 months ago
Anton Khirnov
aad4d5745d
lavfi/vsrc_testsrc: switch to query_func2()
3 months ago
Anton Khirnov
28bde4a141
lavfi/vaf_spectrumsynth: switch to query_func2()
3 months ago