VLC 4.0.0-dev
vlc_ancillary.h File Reference

Ancillary definition and functions. More...

Include dependency graph for vlc_ancillary.h:

Go to the source code of this file.

Data Structures

struct  vlc_video_dovi_metadata_t
 
struct  vlc_video_dovi_metadata_t::vlc_dovi_reshape_t
 Do not reorder or modify the following structs, they are intentionally specified to be identical to AVDOVIReshapingCurve / AVDOVINLQParams. More...
 
struct  vlc_video_dovi_metadata_t::vlc_dovi_nlq_t
 
struct  vlc_video_hdr_dynamic_metadata_t
 
struct  vlc_icc_profile_t
 

Macros

#define VLC_ANCILLARY_ID(a, b, c, d)   VLC_FOURCC(a,b,c,d)
 
#define VLC_ANCILLARY_ID_DOVI   VLC_FOURCC('D','o','V','i')
 
#define VLC_ANCILLARY_ID_HDR10PLUS   VLC_FOURCC('H','D','R','+')
 HDR10+ Dynamic metadata (based on ATSC A/341 Amendment 2094-40) More...
 
#define VLC_ANCILLARY_ID_ICC   VLC_FOURCC('i','C','C','P')
 Embedded ICC profiles. More...
 

Typedefs

typedef uint32_t vlc_ancillary_id
 ID of an ancillary. More...
 
typedef void(* vlc_ancillary_free_cb) (void *data)
 Callback to free an ancillary data. More...
 
typedef struct vlc_video_dovi_metadata_t vlc_video_dovi_metadata_t
 
typedef struct vlc_video_hdr_dynamic_metadata_t vlc_video_hdr_dynamic_metadata_t
 
typedef struct vlc_icc_profile_t vlc_icc_profile_t
 

Enumerations

enum  vlc_dovi_reshape_method_t { VLC_DOVI_RESHAPE_POLYNOMIAL = 0 , VLC_DOVI_RESHAPE_MMR = 1 }
 Dolby Vision metadata description. More...
 
enum  vlc_dovi_nlq_method_t { VLC_DOVI_NLQ_NONE = -1 , VLC_DOVI_NLQ_LINEAR_DZ = 0 }
 

Functions

struct vlc_ancillaryvlc_ancillary_CreateWithFreeCb (void *data, vlc_ancillary_id id, vlc_ancillary_free_cb free_cb)
 Create an ancillary. More...
 
static struct vlc_ancillaryvlc_ancillary_Create (void *data, vlc_ancillary_id id)
 Helper to create an ancillary holding an allocated data. More...
 
void vlc_ancillary_Release (struct vlc_ancillary *ancillary)
 Release an ancillary. More...
 
struct vlc_ancillaryvlc_ancillary_Hold (struct vlc_ancillary *ancillary)
 Hold an ancillary. More...
 
void * vlc_ancillary_GetData (const struct vlc_ancillary *ancillary)
 

Detailed Description

Ancillary definition and functions.