Re: [FFmpeg-devel] Request: make framepool visible externally

2022-07-13 Thread Marco Vianini
On Wednesday, July 13, 2022 at 02:02:18 PM GMT+2, James Almer wrote: 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

Re: [FFmpeg-devel] Request: make framepool visible externally

2022-07-13 Thread James Almer
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 perform

Re: [FFmpeg-devel] Request: make framepool visible externally

2022-07-13 Thread Marco Vianini
Yes, I know the version 4.1.6 is very old. But I stuck in 4.1.x versions because I need NDI support. In the file "framepool.h" there are only some very high level functions to deal with AVFrame pool: "FFFramePool *ff_frame_pool_video_init(...);FFFramePool *ff_frame_pool_audio_init(...);void ff_f

Re: [FFmpeg-devel] Request: make framepool visible externally

2022-07-13 Thread Marco Vianini
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

Re: [FFmpeg-devel] Request: make framepool visible externally

2022-07-12 Thread James Almer
On 7/12/2022 1:28 PM, Marco Vianini wrote: Hi all I'm using Libav libraries (version 4.1.6) to make operations on audio/video AVFrame: conversions, decoding, encoding, etc. To improve performances I'd like to use framepool. So I need to include "libavfilter/framepool.h", but I cannot, because t

Re: [FFmpeg-devel] Request: make framepool visible externally

2022-07-12 Thread Timo Rothenpieler
On 12.07.2022 18:28, Marco Vianini wrote: Hi all I'm using Libav libraries (version 4.1.6) to make operations on audio/video AVFrame: conversions, decoding, encoding, etc. That is a really old version, and you should desperately update. To improve performances I'd like to use framepool. So I

[FFmpeg-devel] Request: make framepool visible externally

2022-07-12 Thread Marco Vianini
Hi all I'm using Libav libraries (version 4.1.6) to make operations on audio/video AVFrame: conversions, decoding, encoding, etc. To improve performances I'd like to use framepool. So I need to include "libavfilter/framepool.h", but I cannot, because this file is not exported.  Should be possibl