libgpac
Documentation of the core library of GPAC
meta.c File Reference
+ Include dependency graph for meta.c:

Functions

GF_MetaBoxgf_isom_get_meta (GF_ISOFile *file, Bool root_meta, u32 track_num)
 
GF_EXPORT u32 gf_isom_get_meta_type (GF_ISOFile *file, Bool root_meta, u32 track_num)
 
GF_EXPORT u32 gf_isom_has_meta_xml (GF_ISOFile *file, Bool root_meta, u32 track_num)
 
GF_EXPORT GF_Err gf_isom_extract_meta_xml (GF_ISOFile *file, Bool root_meta, u32 track_num, char *outName, Bool *is_binary)
 
GF_EXPORT u32 gf_isom_get_meta_item_count (GF_ISOFile *file, Bool root_meta, u32 track_num)
 
GF_EXPORT GF_Err gf_isom_get_meta_item_info (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_num, u32 *itemID, u32 *type, u32 *protection_scheme, u32 *protection_scheme_version, Bool *is_self_reference, const char **item_name, const char **item_mime_type, const char **item_encoding, const char **item_url, const char **item_urn)
 
GF_EXPORT u32 gf_isom_get_meta_item_flags (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_num)
 
GF_EXPORT u32 gf_isom_get_meta_item_by_id (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_ID)
 
static GF_Err gf_isom_extract_meta_item_intern (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_id, const char *dump_file_name, u8 **out_data, u32 *out_size, u32 *out_alloc_size, const char **out_mime, Bool use_annex_b)
 
GF_EXPORT GF_Err gf_isom_extract_meta_item (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_id, const char *dump_file_name)
 
GF_EXPORT GF_Err gf_isom_extract_meta_item_mem (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_id, u8 **out_data, u32 *out_size, u32 *out_alloc_size, const char **out_mime, Bool use_annex_b)
 
GF_EXPORT GF_Err gf_isom_extract_meta_item_get_cenc_info (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_id, Bool *is_protected, u32 *skip_byte_block, u32 *crypt_byte_block, const u8 **key_info, u32 *key_info_size, u32 *aux_info_type_param, u8 **cenc_sai_data, u32 *cenc_sai_data_size, u32 *cenc_sai_alloc_size)
 
GF_EXPORT u32 gf_isom_get_meta_primary_item_id (GF_ISOFile *file, Bool root_meta, u32 track_num)
 
GF_EXPORT GF_Err gf_isom_set_meta_type (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 metaType)
 
GF_EXPORT GF_Err gf_isom_remove_meta_xml (GF_ISOFile *file, Bool root_meta, u32 track_num)
 
GF_EXPORT GF_Err gf_isom_set_meta_xml (GF_ISOFile *file, Bool root_meta, u32 track_num, char *XMLFileName, unsigned char *data, u32 data_size, Bool IsBinaryXML)
 
GF_EXPORT GF_Err gf_isom_get_meta_image_props (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_id, GF_ImageItemProperties *prop, GF_List *unmapped_props)
 
static s32 meta_find_prop (GF_ItemPropertyContainerBox *boxes, GF_ImageItemProperties *prop)
 
static GF_Err meta_add_item_property_association (GF_ItemPropertyAssociationBox *ipma, u32 item_ID, u32 prop_index, Bool essential)
 
static GF_Err meta_process_image_properties (GF_MetaBox *meta, u32 item_ID, u32 item_type, GF_ImageItemProperties *image_props)
 
GF_EXPORT GF_Err gf_isom_meta_get_next_item_id (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 *item_id)
 
GF_Err gf_isom_add_meta_item_extended (GF_ISOFile *file, Bool root_meta, u32 track_num, Bool self_reference, char *resource_path, const char *item_name, u32 *io_item_id, u32 item_type, const char *mime_type, const char *content_encoding, GF_ImageItemProperties *image_props, const char *URL, const char *URN, char *data, u32 data_len, GF_List *item_extent_refs, u32 tk_id, u32 sample_num)
 
GF_EXPORT GF_Err gf_isom_add_meta_item (GF_ISOFile *file, Bool root_meta, u32 track_num, Bool self_reference, char *resource_path, const char *item_name, u32 item_id, u32 item_type, const char *mime_type, const char *content_encoding, const char *URL, const char *URN, GF_ImageItemProperties *image_props)
 
GF_EXPORT GF_Err gf_isom_add_meta_item_memory (GF_ISOFile *file, Bool root_meta, u32 track_num, const char *item_name, u32 *item_id, u32 item_type, const char *mime_type, const char *content_encoding, GF_ImageItemProperties *image_props, char *data, u32 data_len, GF_List *item_extent_refs)
 
GF_EXPORT GF_Err gf_isom_add_meta_item_sample_ref (GF_ISOFile *file, Bool root_meta, u32 track_num, const char *item_name, u32 *item_id, u32 item_type, const char *mime_type, const char *content_encoding, GF_ImageItemProperties *image_props, u32 tk_id, u32 sample_num)
 
static Bool meta_use_item_prop_idx (GF_MetaBox *meta, u32 prop_idx)
 
static void meta_shift_item_prop_idx (GF_MetaBox *meta, u32 prop_idx)
 
static void meta_cleanup_associations (GF_MetaBox *meta)
 
static void meta_cleanup_item_association (GF_MetaBox *meta, GF_ItemPropertyAssociationEntry *pa_ent, const char *keep_props)
 
GF_EXPORT GF_Err gf_isom_remove_meta_item (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_id, Bool keep_refs, const char *keep_props)
 
GF_EXPORT GF_Err gf_isom_set_meta_primary_item (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_id)
 
GF_EXPORT GF_Err gf_isom_meta_add_item_ref (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 from_id, u32 to_id, u32 type, u64 *ref_index)
 
void gf_isom_meta_restore_items_ref (GF_ISOFile *movie, GF_MetaBox *meta)
 
GF_EXPORT GF_Err gf_isom_meta_add_item_group (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 item_id, u32 group_id, u32 group_type)
 
GF_EXPORT u32 gf_isom_meta_get_item_ref_count (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 from_id, u32 type)
 
GF_EXPORT u32 gf_isom_meta_item_has_ref (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 to_id, u32 type)
 
GF_EXPORT u32 gf_isom_meta_get_item_ref_id (GF_ISOFile *file, Bool root_meta, u32 track_num, u32 from_id, u32 type, u32 ref_idx)
 

Function Documentation

◆ gf_isom_get_meta()

GF_MetaBox* gf_isom_get_meta ( GF_ISOFile *  file,
Bool  root_meta,
u32  track_num 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_extract_meta_item_intern()

static GF_Err gf_isom_extract_meta_item_intern ( GF_ISOFile *  file,
Bool  root_meta,
u32  track_num,
u32  item_id,
const char *  dump_file_name,
u8 **  out_data,
u32 out_size,
u32 out_alloc_size,
const char **  out_mime,
Bool  use_annex_b 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ meta_find_prop()

static s32 meta_find_prop ( GF_ItemPropertyContainerBox boxes,
GF_ImageItemProperties prop 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ meta_add_item_property_association()

static GF_Err meta_add_item_property_association ( GF_ItemPropertyAssociationBox ipma,
u32  item_ID,
u32  prop_index,
Bool  essential 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ meta_process_image_properties()

static GF_Err meta_process_image_properties ( GF_MetaBox meta,
u32  item_ID,
u32  item_type,
GF_ImageItemProperties image_props 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_add_meta_item_extended()

GF_Err gf_isom_add_meta_item_extended ( GF_ISOFile *  file,
Bool  root_meta,
u32  track_num,
Bool  self_reference,
char *  resource_path,
const char *  item_name,
u32 io_item_id,
u32  item_type,
const char *  mime_type,
const char *  content_encoding,
GF_ImageItemProperties image_props,
const char *  URL,
const char *  URN,
char *  data,
u32  data_len,
GF_List *  item_extent_refs,
u32  tk_id,
u32  sample_num 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ meta_use_item_prop_idx()

static Bool meta_use_item_prop_idx ( GF_MetaBox meta,
u32  prop_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ meta_shift_item_prop_idx()

static void meta_shift_item_prop_idx ( GF_MetaBox meta,
u32  prop_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ meta_cleanup_associations()

static void meta_cleanup_associations ( GF_MetaBox meta)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ meta_cleanup_item_association()

static void meta_cleanup_item_association ( GF_MetaBox meta,
GF_ItemPropertyAssociationEntry pa_ent,
const char *  keep_props 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_meta_restore_items_ref()

void gf_isom_meta_restore_items_ref ( GF_ISOFile *  movie,
GF_MetaBox meta 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: