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

2022-08-20 Thread Paul B Mahol
On Sat, Aug 20, 2022 at 2:30 PM Timo Rothenpieler wrote: > 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 d

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

2022-08-20 Thread Timo Rothenpieler
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 it

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

2022-08-20 Thread Timo Rothenpieler
On 20.08.2022 13:21, Brendan Hack wrote: Hi, I reported https://trac.ffmpeg.org/ticket/9873 last week and have since been digging into the code to see if I can get a patch together. I've found the underlying issue in ff_frame_pool_video_init at line 77 of libavfilter/framepool.c:     r

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

2022-08-20 Thread Brendan Hack
Hi, I reported https://trac.ffmpeg.org/ticket/9873 last week and have since been digging into the code to see if I can get a patch together. I've found the underlying issue in ff_frame_pool_video_init at line 77 of libavfilter/framepool.c:     ret = av_image_fill_linesizes(pool->linesize