[FFmpeg-devel] [PATCH] avutil/frame: use the maximum compile time supported alignment for strides

James Almer jamrial at gmail.com
Sat Aug 3 14:47:27 EEST 2024


On 8/3/2024 3:34 AM, Rémi Denis-Courmont wrote:
> Le keskiviikkona 31. heinäkuuta 2024, 15.55.23 EEST James Almer a écrit :
>> This puts lavu frame buffer allocator helpers in sync with lavc's decoder
>> frame buffer allocator's STRIDE_ALIGN define.
> 
> STRIDE_ALIGN can go down to 16 or even 8 bytes though. What is the reason for
> capping at 32 bytes here?

I'd rather not reduce the alignment, but no strong feelings about it anyway.

> 
> (Alternatively, cache line size is probably 64 bytes almost everywhere.)
> 


More information about the ffmpeg-devel mailing list