[FFmpeg-devel] [PATCH v3 0/2] lavc/videotoolbox: use objpool instead of allocating memory each frame

Rick Kern kernrj at gmail.com
Sat Dec 3 18:07:55 EET 2022


Update inclusion guards in objpool.h start with AVUTIL_ instead of FFTOOLS_.

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 | 30 ++++++------
 9 files changed, 128 insertions(+), 61 deletions(-)
 rename {fftools => libavutil}/objpool.c (77%)
 rename {fftools => libavutil}/objpool.h (56%)

-- 
2.38.1



More information about the ffmpeg-devel mailing list