Re: [FFmpeg-devel] [PATCH v2] avutil/mem: limit alignment to maximum simd align

2024-02-11 Thread Sam James
Timo Rothenpieler writes: > On 13.01.2024 16:46, Timo Rothenpieler wrote: >> FFmpeg has instances of DECLARE_ALIGNED(32, ...) in a lot of structs, >> which then end up heap-allocated. >> By declaring any variable in a struct, or tree of structs, to be 32 byte >> aligned, it allows the compiler

Re: [FFmpeg-devel] [PATCH] libavcodec: fix -Wint-conversion in vulkan

2024-01-05 Thread Sam James
Sam James writes: > FIx warnings (soon to be errors in GCC 14, already so in Clang 15): > ``` > src/libavcodec/vulkan_av1.c: In function ‘vk_av1_create_params’: > src/libavcodec/vulkan_av1.c:183:43: error: initialization of ‘long long > unsigned int’ from ‘void *’ makes integ

[FFmpeg-devel] [PATCH] libavcodec: fix -Wint-conversion in vulkan

2023-12-20 Thread Sam James
#10724. Was reported downstream in Gentoo at https://bugs.gentoo.org/919067. Signed-off-by: Sam James --- libavcodec/vulkan_av1.c| 2 +- libavcodec/vulkan_decode.c | 6 +++--- libavcodec/vulkan_h264.c | 2 +- libavcodec/vulkan_hevc.c | 2 +- libavcodec/vulkan_video.c | 2 +- 5 files