23#ifndef VLC_PICTURE_POOL_H
24#define VLC_PICTURE_POOL_H 1
size_t count
Definition core.c:403
#define VLC_USED
Definition fourcc_gen.c:32
#define VLC_API
Definition fourcc_gen.c:31
Definition picture_pool.c:44
Video picture.
Definition vlc_picture.h:130
This file is a collection of common definitions and types.
This file defines picture structures and functions in vlc.
picture_pool_t * picture_pool_NewFromFormat(const video_format_t *fmt, unsigned count)
Allocates pictures from the heap and creates a picture pool with them.
Definition picture_pool.c:128
picture_t * picture_pool_Wait(picture_pool_t *)
Obtains a picture from a pool.
Definition picture_pool.c:176
picture_t * picture_pool_Get(picture_pool_t *)
Obtains a picture from a pool if any is immediately available.
Definition picture_pool.c:157
void picture_pool_Release(picture_pool_t *)
Releases a pool created by picture_pool_New() or picture_pool_NewFromFormat().
Definition picture_pool.c:62
picture_pool_t * picture_pool_New(unsigned count, picture_t *const *tab)
Creates a pool of preallocated pictures.
Definition picture_pool.c:103