![]() |
libgpac
Documentation of the core library of GPAC
|
Collaboration diagram for Track Groups:Functions | |
| GF_Err | gf_isom_get_track_switch_group_count (GF_ISOFile *isom_file, u32 trackNumber, u32 *alternateGroupID, u32 *nb_groups) |
| const u32 * | gf_isom_get_track_switch_parameter (GF_ISOFile *isom_file, u32 trackNumber, u32 group_index, u32 *switchGroupID, u32 *criteriaListSize) |
| GF_Err | gf_isom_set_track_switch_parameter (GF_ISOFile *isom_file, u32 trackNumber, u32 trackRefGroup, Bool is_switch_group, u32 *switchGroupID, u32 *criteriaList, u32 criteriaListCount) |
| GF_Err | gf_isom_reset_track_switch_parameter (GF_ISOFile *isom_file, u32 trackNumber, Bool reset_all_group) |
| GF_Err | gf_isom_reset_switch_parameters (GF_ISOFile *isom_file) |
| GF_Err | gf_isom_set_track_group (GF_ISOFile *isom_file, u32 trackNumber, u32 track_group_id, u32 group_type, Bool do_add) |
| GF_Err gf_isom_get_track_switch_group_count | ( | GF_ISOFile * | isom_file, |
| u32 | trackNumber, | ||
| u32 * | alternateGroupID, | ||
| u32 * | nb_groups | ||
| ) |
gets the number of switching groups declared in this track if any
| isom_file | the target ISO file |
| trackNumber | the target track |
| alternateGroupID | alternate group id of track if speciifed, 0 otherwise |
| nb_groups | set to number of switching groups defined for this track |
Here is the call graph for this function:
Here is the caller graph for this function:| const u32 * gf_isom_get_track_switch_parameter | ( | GF_ISOFile * | isom_file, |
| u32 | trackNumber, | ||
| u32 | group_index, | ||
| u32 * | switchGroupID, | ||
| u32 * | criteriaListSize | ||
| ) |
get the list of criteria (expressed as 4CC IDs, cf 3GPP TS 26.244)
| isom_file | the target ISO file |
| trackNumber | the track number |
| group_index | the 1-based index of the group to inspect |
| switchGroupID | set to the ID of the switch group if any, 0 otherwise (alternate-only group) |
| criteriaListSize | set to the number of criteria items in returned list |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Err gf_isom_set_track_switch_parameter | ( | GF_ISOFile * | isom_file, |
| u32 | trackNumber, | ||
| u32 | trackRefGroup, | ||
| Bool | is_switch_group, | ||
| u32 * | switchGroupID, | ||
| u32 * | criteriaList, | ||
| u32 | criteriaListCount | ||
| ) |
sets a new (switch) group for this track
| isom_file | the target ISO file |
| trackNumber | the target track |
| trackRefGroup | number of a track belonging to the same alternate group. If 0, a new alternate group will be created for this track |
| is_switch_group | if set, indicates that a switch group identifier shall be assigned to the created group. Otherwise, the criteria list is associated with the entire alternate group |
| switchGroupID | set to the ID of the switch group. On input, specifies the desired switchGroupID to use; if value is 0, next available switchGroupID in file is used. On output, is set to the switchGroupID used. |
| criteriaList | list of four character codes used as criteria - cf 3GPP TS 26.244 |
| criteriaListCount | number of criterias in list |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Err gf_isom_reset_track_switch_parameter | ( | GF_ISOFile * | isom_file, |
| u32 | trackNumber, | ||
| Bool | reset_all_group | ||
| ) |
resets track switch group information
| isom_file | the target ISO file |
| trackNumber | the target track |
| reset_all_group | if GF_TRUE, resets the entire alternate group this track belongs to; otherwise, resets switch group for the track only |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Err gf_isom_reset_switch_parameters | ( | GF_ISOFile * | isom_file | ) |
resets all track switch group information in the entire movie
| isom_file | the target ISO file |
Here is the call graph for this function:
Here is the caller graph for this function:| GF_Err gf_isom_set_track_group | ( | GF_ISOFile * | isom_file, |
| u32 | trackNumber, | ||
| u32 | track_group_id, | ||
| u32 | group_type, | ||
| Bool | do_add | ||
| ) |
sets track in group of a given type and ID
| isom_file | the target ISO file |
| trackNumber | the target track |
| track_group_id | ID of the track group |
| group_type | four character code of the track group |
| do_add | if GF_FALSE, track is removed from that group, otherwise it is added |
Here is the call graph for this function:
Here is the caller graph for this function: