Re: [FFmpeg-devel] [PATCH 21/35] fftools: add an object pool

2022-06-16 Thread Andreas Rheinhardt
Anton Khirnov: > Allows to avoid constantly allocating and freeing objects like AVFrame > or AVPacket. > --- > fftools/objpool.c | 131 ++ > fftools/objpool.h | 37 + > 2 files changed, 168 insertions(+) > create mode 100644 fftools/objpool

[FFmpeg-devel] [PATCH 21/35] fftools: add an object pool

2022-06-16 Thread Anton Khirnov
Allows to avoid constantly allocating and freeing objects like AVFrame or AVPacket. --- fftools/objpool.c | 131 ++ fftools/objpool.h | 37 + 2 files changed, 168 insertions(+) create mode 100644 fftools/objpool.c create mode 100644 fftool