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
e3676d96cb
hwcontext_vulkan: move device feature struct setup to a new function
3 months ago
Lynne
535e5eb7f3
hwcontext_vulkan: enable VK_KHR_shader_relaxed_extended_instruction
3 months ago
Lynne
0d5bfd0b21
vulkan_functions: change extension type to a typedef uint64_t
...
We were getting a bit too close for comfort to the 32-bit limit
on enums.
3 months ago
Lynne
d80f9f55c8
vulkan: always enable GL_EXT_scalar_block_layout
...
This makes std430 (which we use everywhere already) fully match C
layout.
Extension was made mandatory in 1.2.
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
877c5a9692
vulkan: use shader objects if supported
...
Shader objects finally allow completely independent shaders.
3 months ago
Lynne
d233d9902f
vulkan: move shader data execution state to execution pools
...
This finally permits using fully compiled shaders across
multiple execution contexts.
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
Anton Khirnov
3824ee2faf
lavfi/vf_stack_{vaapi,qsv}: replace query_formats with a pixfmt list
3 months ago
Anton Khirnov
014a4214a9
lavfi/src_movie: switch to query_func2()
3 months ago
Anton Khirnov
55c99fb9c4
lavfi/src_avsynctest: switch to query_func2()
3 months ago
Anton Khirnov
534eef2ace
lavfi/qrencode: switch to query_func2()
3 months ago
Anton Khirnov
f10986a5ec
lavfi/f_streamselect: drop useless query_formats() callback
...
It achieves the same effect as ff_default_query_formats(), which gets
called implicitly.
3 months ago
Anton Khirnov
a6f579544a
lavfi/f_select: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
3 months ago
Anton Khirnov
9e1184b122
lavfi/f_graphmonitor: switch to query_func2()
3 months ago
Anton Khirnov
60192367a8
lavfi/f_ebur128: switch to query_func2()
...
Also, drop redundant calls that also happen implicitly in generic code.
3 months ago
Anton Khirnov
4e66d0c5d0
lavfi/f_drawgraph: switch to query_func2()
3 months ago
Anton Khirnov
670530a927
lavfi/buffersrc: switch to query_func2()
3 months ago
Anton Khirnov
a7fe27f964
lavfi/buffersrc: validate hw context presence in video_init()
...
That is the more appropriate place for it than query_formats().
3 months ago
Anton Khirnov
2fa142f7c0
lavfi/buffersink: switch to query_func2()
3 months ago
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.
3 months ago
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.
3 months ago
Zhao Zhili
eff9ed7bff
avcodec/mediacodecenc: Fix access of uninitialized value
...
When crop is skipped, av_strlcatf will access `str` which isn't
initialized properly.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
3 months ago
Michael Niedermayer
556c767786
avcodec/ffv1enc: Correct error message about unsupported version
...
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 months ago
James Almer
358fdf3083
avfilter: add missing build deps to msad filter
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
b094c47ab2
fate/mov: add a test for heic images with cropping and rotation metadata
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
650ce61745
avformat/mov: don't abort on invalid clap box data
...
Unless explode is requested.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
7573f02840
avformat/mov: get heif image mirroring from imir box
...
Complements 76eb3e5ff3
.
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
f225e6f3c6
avformat/mov: parse clap boxes that reference heif items
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
ba6eeb2c65
avformat/mov: parse colr boxes that reference tile grids
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
James Almer
58c265d956
avformat/mov: factorize getting the current item
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 months ago
Tobias Rapp
c8cc58a13d
avcodec/dxva2: Fix compilation with Mingw-w64
...
Adds missing ifdef guards to function prototypes depending on definitions from
dxva.h which are not available in Mingw-w64 version 4.0. The configure script
already checks for HEVC/VP9 types in dxva.h.
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
3 months ago
Martin Storsjö
a7449e4cbb
libavcodec: Makefile: Move the librsvg entry to the right section
...
Signed-off-by: Martin Storsjö <martin@martin.st>
3 months ago
Martin Storsjö
04a59bcac4
libavutil: Makefile: Fix alphabetical order for the film_grain_params files
...
Signed-off-by: Martin Storsjö <martin@martin.st>
3 months ago
Martin Storsjö
4d204aa29b
videotoolbox: Fix indentation of old existing code
...
Signed-off-by: Martin Storsjö <martin@martin.st>
3 months ago
Jan Ekström
f9c5c5358c
avcodec/videotoolbox: add AV1 hardware acceleration
...
Use AV1DecContext's current_obu to access the original OBUs, and
feed them to videotoolbox, rather than the bare slice data passed
via decode_slice.
This requires a small addition to AV1DecContext, for keeping track
of the current range of OBUs that belong to the current frame.
Co-authored-by: Ruslan Chernenko <ractyfree@gmail.com>
Co-authored-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Martin Storsjö <martin@martin.st>
3 months ago
Michael Niedermayer
7151081e33
avcodec/ffv1: Store and reuse sx/sy
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 months ago
Michael Niedermayer
7d514655bf
avcodec/ffv1enc: Slice combination is unsupported
...
We always write minimal slices, the size calculation is wrong in some
corner cases but as its always 1x1 (minus1) we can for now just hard-code it
This helps with ticket 5548
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 months ago
Michael Niedermayer
417b163c00
avcodec/ffv1enc: 2Pass mode is not possible with golomb coding
...
"Fixes" Ticket7063
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3 months ago
Tomas Härdin
25d605d080
lavf/mxfdec: Remove a call to avio_tell() in klv_read_packet()
3 months ago
Tomas Härdin
649ac17efd
lavf/mxfdec: Speed up mxf_edit_unit_absolute_offset()
...
This involves computing the approximate location of the desired index table segment and linearly searching from there.
3 months ago
Tomas Härdin
e3fa469a55
lavf/mxfdec: Speed up klv_read_packet()
3 months ago
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.
3 months ago
Anton Khirnov
0548ab2e42
lavu/log,opt: detect setting non-runtime options post-init
...
Add a mechanism to AVClass to allow objects to signal their state to
generic code. When an object flags itself with the 'initialized' state,
print an error (and fail, after the next major bump) if the caller
attempts to set non-runtime options.
3 months ago
Anton Khirnov
3785b27b76
lavu/opt: consolidate common prologue for av_opt_set*()
...
The options-setting functions share several operations at their
beginnings - locating the option and the object to operate on, handling
the read-only and deprecated flags, and constructing the pointer to the
target value. Some of the functions also do not perform some of the
checks, although they should. E.g. a deprecation warning is currently
only printed for av_opt_set().
Introduce a prologue function that is called from every av_opt_set*()
and performs all these common initialization operations.
3 months ago
Anton Khirnov
0d09645cfe
lavu/opt: combine option type size+name into a single descriptor
...
Makes it easier to handle options generically and will be useful in
future commits.
3 months ago
Anton Khirnov
041d992060
lavu/class: improve AVClass doxy
3 months ago