[FFmpeg-devel] framepool width and potential patch for bug 9873

Timo Rothenpieler timo at rothenpieler.org
Sat Aug 20 15:30:29 EEST 2022


On 20.08.2022 14:27, Brendan Hack wrote:
> Oh, I think I've got the wrong end of the stick here in regards to what 
> align does in ff_frame_pool_video_init. Frei0r only needs the start of 
> the buffer to be aligned to 16 bytes. It doesn't need each _line_ to be 
> explicitly aligned to 16 bytes since its requirement that the width be a 
> multiple of 8 enforces that (since every 8 pixels is 32 bytes).

Now that sounds like the align should be 8, not 16 or 1, in order for 
frames with odd sizes still work?


More information about the ffmpeg-devel mailing list