VLC 4.0.0-dev
|
Data Structures | |
struct | vlc_ancillary |
Functions | |
struct vlc_ancillary * | vlc_ancillary_CreateWithFreeCb (void *data, vlc_ancillary_id id, vlc_ancillary_free_cb free_cb) |
Create an ancillary. | |
void | vlc_ancillary_Release (struct vlc_ancillary *ancillary) |
Release an ancillary. | |
struct vlc_ancillary * | vlc_ancillary_Hold (struct vlc_ancillary *ancillary) |
Hold an ancillary. | |
void * | vlc_ancillary_GetData (const struct vlc_ancillary *ancillary) |
void | vlc_ancillary_array_Clear (struct vlc_ancillary ***array) |
static size_t | vlc_ancillary_array_Count (struct vlc_ancillary **array) |
int | vlc_ancillary_array_Dup (struct vlc_ancillary ***dst_arrayp, struct vlc_ancillary **const *src_arrayp) |
int | vlc_ancillary_array_Insert (struct vlc_ancillary ***arrayp, struct vlc_ancillary *ancillary) |
struct vlc_ancillary * | vlc_ancillary_array_Get (struct vlc_ancillary **const *arrayp, vlc_ancillary_id id) |
void vlc_ancillary_array_Clear | ( | struct vlc_ancillary *** | array | ) |
References vlc_ancillary_Release().
Referenced by picture_Destroy(), picture_Reset(), vlc_ancillary_array_Dup(), and vlc_frame_Release().
|
static |
References count.
Referenced by vlc_ancillary_array_Dup(), and vlc_ancillary_array_Insert().
int vlc_ancillary_array_Dup | ( | struct vlc_ancillary *** | dst_arrayp, |
struct vlc_ancillary **const * | src_arrayp | ||
) |
References count, unlikely, vlc_alloc(), vlc_ancillary_array_Clear(), vlc_ancillary_array_Count(), vlc_ancillary_Hold(), VLC_ENOMEM, and VLC_SUCCESS.
Referenced by picture_Clone(), picture_CopyProperties(), and vlc_frame_CopyProperties().
struct vlc_ancillary * vlc_ancillary_array_Get | ( | struct vlc_ancillary **const * | arrayp, |
vlc_ancillary_id | id | ||
) |
Referenced by picture_GetAncillary(), and vlc_frame_GetAncillary().
int vlc_ancillary_array_Insert | ( | struct vlc_ancillary *** | arrayp, |
struct vlc_ancillary * | ancillary | ||
) |
References count, vlc_ancillary::id, vlc_alloc(), vlc_ancillary_array_Count(), vlc_ancillary_Hold(), vlc_ancillary_Release(), VLC_ENOMEM, vlc_reallocarray(), and VLC_SUCCESS.
Referenced by picture_AttachAncillary(), and vlc_frame_AttachAncillary().