- 08 Mar, 2024 30 commits
-
-
Anton Khirnov authored
It never makes sense for this function to be called by users.
-
Anton Khirnov authored
It never makes sense for this function to be called by users.
-
Anton Khirnov authored
Cf. #10857 Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
-
Niklas Haas authored
If the time code side data is overridden by the packet level, we also make sure not to update `p->metadata` to a mismatched timecode.
-
Niklas Haas authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Niklas Haas authored
-
Niklas Haas authored
-
Niklas Haas authored
-
Niklas Haas authored
We only need to consider side data types that may possibly come from the packet. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Niklas Haas authored
-
Niklas Haas authored
Also fixes a memory leak where the side data was previously not properly cleaned up on OOM. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Niklas Haas authored
If the time code side data is overridden by the packet level, we also make sure not to update `out->metadata` to a mismatched timecode. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
Needed by following commit.
-
Niklas Haas authored
If the time code side data is overridden by the packet level, we also make sure not to update `out->metadata` to a mismatched timecode.
-
Niklas Haas authored
This function was already ignoring OOM errors.
-
Niklas Haas authored
-
Anton Khirnov authored
-
Niklas Haas authored
The signature of these wrappers is more complicated due to a need to distinguish between "failed allocating side data" and "side data was already present". Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
This and the following commits fix #10857
-
Anton Khirnov authored
-
Anton Khirnov authored
Native access is from the code that declared the options, foreign access is from code that is using the options. Forbid foreign access to AVOption.offset/default_val, for which there is no good reason, and which should allow us more freedom in extending their semantics in a compatible way.
-
Anton Khirnov authored
Will be useful in following commits.
-
Anton Khirnov authored
Replace the opt_size() function, currently only called from av_opt_copy(), with * a constant array of element sizes * a function that signals whether an option type is POD (i.e. memcpyable) or not Will be useful in following commits.
-
Anton Khirnov authored
Will be useful in following commits.
-
Anton Khirnov authored
Will be useful in following commits.
-
Andreas Rheinhardt authored
Forgotten in 2a68d945. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Haihao Xiang authored
Otherwise s->input_format is always yuv420p. This fixes invalid output format for hwframe download in the command below: ./ffmpeg -init_hw_device vulkan -f lavfi \ -i testsrc=duration=1,format=nv12 \ -vf 'hwupload,format=vulkan,scale_vulkan=1024:768,hwdownload,format=nv12' \ -f null - Reviewed-by:
Lynne <dev@lynne.ee> Signed-off-by:
Haihao Xiang <haihao.xiang@intel.com>
-
Andreas Rheinhardt authored
Reviewed-by: epirat07@gmail.com Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
Fixes the hevc_deblock checkasm test with Valgrind. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
- 07 Mar, 2024 10 commits
-
-
Andreas Rheinhardt authored
The longest string here takes four bytes, so using an array of pointers is wasteful even when ignoring the cost of relocations; the lack of relocations also implies that this array will now be put into .rodata and not into .data.rel.ro. Static asserts are used to ensure that all strings are always properly zero-terminated. Tested-by:
Marth64 <marth64@proxyid.net> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
The allocators have been superseded by av_vdpau_bind_context(). The latter have only been added "to allow multiple forks to add fields to the structure without breaking ABI" [1], but libav is no more, so this is not needed any longer. [1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2013-August/146954.htmlSigned-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Andreas Rheinhardt authored
Forgotten in b773a8d8. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Niklas Haas authored
-
Niklas Haas authored
For testing purposes.
-
Andreas Rheinhardt authored
Forgotten in a12cd3be. Reviewed-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Anton Khirnov authored
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
Anton Khirnov authored
These fields are documented to be non-public and are only used in decode.c
-
James Almer authored
Move related fields closer together. Signed-off-by:
James Almer <jamrial@gmail.com>
-