21#ifndef VLC_ANCILLARY_H
22#define VLC_ANCILLARY_H 1
68#define VLC_ANCILLARY_ID(a,b,c,d) VLC_FOURCC(a,b,c,d)
134#define VLC_ANCILLARY_ID_DOVI VLC_FOURCC('D','o','V','i')
184#define VLC_ANCILLARY_ID_HDR10PLUS VLC_FOURCC('H','D','R','+')
212#define VLC_ANCILLARY_ID_ICC VLC_FOURCC('i','C','C','P')
224#define VLC_ANCILLARY_ID_VPX_ALPHA VLC_FOURCC('v','p','x','A')
#define VLC_API
Definition fourcc_gen.c:31
void vlc_ancillary_Release(struct vlc_ancillary *ancillary)
Release an ancillary.
Definition ancillary.c:58
vlc_dovi_reshape_method_t
Dolby Vision metadata description.
Definition vlc_ancillary.h:124
struct vlc_ancillary * vlc_ancillary_Hold(struct vlc_ancillary *ancillary)
Hold an ancillary.
Definition ancillary.c:69
void * vlc_ancillary_GetData(const struct vlc_ancillary *ancillary)
Definition ancillary.c:76
void(* vlc_ancillary_free_cb)(void *data)
Callback to free an ancillary data.
Definition vlc_ancillary.h:74
struct vlc_ancillary * vlc_ancillary_CreateWithFreeCb(void *data, vlc_ancillary_id id, vlc_ancillary_free_cb free_cb)
Create an ancillary.
Definition ancillary.c:40
static struct vlc_ancillary * vlc_ancillary_Create(void *data, vlc_ancillary_id id)
Helper to create an ancillary holding an allocated data.
Definition vlc_ancillary.h:92
vlc_dovi_nlq_method_t
Definition vlc_ancillary.h:130
uint32_t vlc_ancillary_id
ID of an ancillary.
Definition vlc_ancillary.h:68
@ VLC_DOVI_RESHAPE_POLYNOMIAL
Definition vlc_ancillary.h:125
@ VLC_DOVI_RESHAPE_MMR
Definition vlc_ancillary.h:126
@ VLC_DOVI_NLQ_LINEAR_DZ
Definition vlc_ancillary.h:132
@ VLC_DOVI_NLQ_NONE
Definition vlc_ancillary.h:131
Definition ancillary.c:31
vlc_ancillary_free_cb free_cb
Definition ancillary.c:36
void * data
Definition ancillary.c:35
Definition vlc_ancillary.h:216
size_t size
Definition vlc_ancillary.h:217
uint8_t data[]
Definition vlc_ancillary.h:218
Definition vlc_ancillary.h:228
uint8_t * data
Definition vlc_ancillary.h:230
size_t size
Definition vlc_ancillary.h:229
This file is a collection of common definitions and types.