Go to the documentation of this file.
30 #include <jxl/memory_manager.h>
67 manager->opaque =
NULL;
size_t ff_libjxl_get_threadcount(int threads)
Transform threadcount in ffmpeg to one used by libjxl.
static void libjxl_av_free(void *opaque, void *address)
Wrapper around av_free used as a jpegxl_free_func.
static void * libjxl_av_malloc(void *opaque, size_t size)
Wrapper around av_malloc used as a jpegxl_alloc_func.
void * av_malloc(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
void ff_libjxl_init_memory_manager(JxlMemoryManager *manager)
Initialize and populate a JxlMemoryManager with av_malloc() and av_free() so libjxl will use these fu...