[FFmpeg-devel] [PATCH v2 0/2] lavc/videotoolbox: use objpool instead of allocating memory each frame
Rick Kern
kernrj at gmail.com
Sat Dec 3 17:50:54 EET 2022
Added 'av' prefix to ObjPool and its functions.
Rick Kern (2):
fftools/objpool: move objpool to libavutil
lavc/videotoolboxenc: use objectpool for encoder output information
fftools/Makefile | 1 -
fftools/ffmpeg_mux.c | 8 ++--
fftools/sync_queue.c | 18 +++----
fftools/thread_queue.c | 14 +++---
fftools/thread_queue.h | 4 +-
libavcodec/videotoolboxenc.c | 80 ++++++++++++++++++++++++++++----
libavutil/Makefile | 2 +
{fftools => libavutil}/objpool.c | 32 +++++++------
{fftools => libavutil}/objpool.h | 24 +++++-----
9 files changed, 125 insertions(+), 58 deletions(-)
rename {fftools => libavutil}/objpool.c (77%)
rename {fftools => libavutil}/objpool.h (62%)
--
2.38.1
More information about the ffmpeg-devel
mailing list