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:43
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:127
picture_t * picture_pool_Wait(picture_pool_t *)
Obtains a picture from a pool.
Definition: picture_pool.c:203
picture_t * picture_pool_Get(picture_pool_t *)
Obtains a picture from a pool if any is immediately available.
Definition: picture_pool.c:184
void picture_pool_Release(picture_pool_t *)
Releases a pool created by picture_pool_New() or picture_pool_NewFromFormat().
Definition: picture_pool.c:61
picture_pool_t * picture_pool_New(unsigned count, picture_t *const *tab)
Creates a pool of preallocated pictures.
Definition: picture_pool.c:102
unsigned picture_pool_GetSize(const picture_pool_t *)
Definition: picture_pool.c:218
picture_pool_t * picture_pool_Reserve(picture_pool_t *, unsigned count)
Reserves pictures from a pool and creates a new pool with those.
Definition: picture_pool.c:156