On 7/13/2022 5:03 AM, Marco Vianini wrote:
  Actually I was speaking about framepool, and not bufferpool.
framepool is intended to get an "AVFrame *" from a pool, by "ff_frame_pool_get".
At the moment it is available only internally to "libavfilter".
It permits an important improvement on performances, by using a pool. So it 
should be very nice if I could use it in my own code.
To be possible framepool.h should become a public header.
Thank You

Please, do not top post in this list.

I know you want AVFrames. What i mean is that you should use the existing buffer pool API to achieve that. Write your own function that returns a freshly allocated AVFrame that fills the buf[] and data[] fields with buffers returned by av_buffer_pool_get() instead of av_buffer_alloc().
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to