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

Rémi Denis-Courmont remi at remlab.net
Sat Aug 3 09:34:52 EEST 2024


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?

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

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the ffmpeg-devel mailing list