objpool was only being used in fftools, but it's useful in other components to
reduce alloation time and memory fragmentation.
This patch set moves objpool to libavutil, so it can be used by
lavc/videotoolboxenc for data being passed from input frames to output packets.
Rick Kern (2):
fftools/objpool: move objpool to libavutil
lavc/videotoolboxenc: use objectpool for encoder output information
fftools/Makefile | 1 -
fftools/ffmpeg_mux.c | 2 +-
fftools/sync_queue.c | 2 +-
fftools/thread_queue.c | 2 +-
fftools/thread_queue.h | 2 +-
libavcodec/videotoolboxenc.c | 80 ++++++++++++++++++++++++++++----
libavutil/Makefile | 2 +
{fftools => libavutil}/objpool.c | 0
{fftools => libavutil}/objpool.h | 0
9 files changed, 77 insertions(+), 14 deletions(-)
rename {fftools => libavutil}/objpool.c (100%)
rename {fftools => libavutil}/objpool.h (100%)
--
2.38.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".