Lines Matching refs:info
42 static MPP_RET allocator_std_alloc(void *ctx, MppBufferInfo *info) in allocator_std_alloc() argument
50 (void)info; in allocator_std_alloc()
55 static MPP_RET allocator_std_free(void *ctx, MppBufferInfo *info) in allocator_std_free() argument
58 if (info->ptr) in allocator_std_free()
59 os_free(info->ptr); in allocator_std_free()
63 static MPP_RET allocator_std_import(void *ctx, MppBufferInfo *info) in allocator_std_import() argument
67 mpp_assert(info->ptr); in allocator_std_import()
68 mpp_assert(info->size); in allocator_std_import()
69 info->hnd = NULL; in allocator_std_import()
70 info->fd = p->fd_count++; in allocator_std_import()
74 static MPP_RET allocator_std_release(void *ctx, MppBufferInfo *info) in allocator_std_release() argument
77 mpp_assert(info->ptr); in allocator_std_release()
78 mpp_assert(info->size); in allocator_std_release()
79 info->ptr = NULL; in allocator_std_release()
80 info->size = 0; in allocator_std_release()
81 info->hnd = NULL; in allocator_std_release()
82 info->fd = -1; in allocator_std_release()
86 static MPP_RET allocator_std_mmap(void *ctx, MppBufferInfo *info) in allocator_std_mmap() argument
89 mpp_assert(info->ptr); in allocator_std_mmap()
90 mpp_assert(info->size); in allocator_std_mmap()