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

Functions

void gf_isom_set_last_error (GF_ISOFile *movie, GF_Err error)
 
GF_EXPORT GF_Err gf_isom_last_error (GF_ISOFile *the_file)
 
GF_EXPORT u8 gf_isom_get_mode (GF_ISOFile *the_file)
 
GF_EXPORT GF_Err gf_isom_freeze_order (GF_ISOFile *file)
 
GF_EXPORT GF_Err gf_isom_set_inplace_padding (GF_ISOFile *file, u32 padding)
 
GF_EXPORT GF_ISOSamplegf_isom_sample_new ()
 
GF_EXPORT void gf_isom_sample_del (GF_ISOSample **samp)
 
static u32 gf_isom_probe_type (u32 type)
 
GF_EXPORT u32 gf_isom_probe_file_range (const char *fileName, u64 start_range, u64 end_range)
 
GF_EXPORT u32 gf_isom_probe_file (const char *fileName)
 
GF_EXPORT u32 gf_isom_probe_data (const u8 *inBuf, u32 inSize)
 
static GF_Err isom_create_init_from_mem (const char *fileName, GF_ISOFile *file)
 
GF_EXPORT GF_Err gf_isom_open_progressive_ex (const char *fileName, u64 start_range, u64 end_range, Bool enable_frag_bounds, GF_ISOFile **the_file, u64 *BytesMissing, u32 *outBoxType)
 
GF_EXPORT GF_Err gf_isom_open_progressive (const char *fileName, u64 start_range, u64 end_range, Bool enable_frag_bounds, GF_ISOFile **the_file, u64 *BytesMissing)
 
void gf_bs_untruncate (GF_BitStream *bs)
 
GF_Err gf_isom_load_fragments (GF_ISOFile *movie, u64 start_range, u64 end_range, u64 *BytesMissing)
 
GF_EXPORT GF_ISOFile * gf_isom_open (const char *fileName, GF_ISOOpenMode OpenMode, const char *tmp_dir)
 
static GF_Err gf_isom_write (GF_ISOFile *movie)
 
GF_EXPORT GF_Err gf_isom_close (GF_ISOFile *movie)
 
GF_EXPORT void gf_isom_disable_odf_conversion (GF_ISOFile *movie, Bool disable)
 
GF_EXPORT GF_Descriptorgf_isom_get_root_od (GF_ISOFile *movie)
 
GF_EXPORT u32 gf_isom_get_track_count (GF_ISOFile *movie)
 
GF_EXPORT GF_ISOTrackID gf_isom_get_track_id (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_track_by_id (GF_ISOFile *the_file, GF_ISOTrackID trackID)
 
GF_EXPORT GF_ISOTrackID gf_isom_get_track_original_id (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT Bool gf_isom_has_movie (GF_ISOFile *file)
 
GF_EXPORT Bool gf_isom_has_segment (GF_ISOFile *file, u32 *brand, u32 *version)
 
GF_EXPORT u32 gf_isom_segment_get_fragment_count (GF_ISOFile *file)
 
static GF_MovieFragmentBoxgf_isom_get_moof (GF_ISOFile *file, u32 moof_index)
 
GF_EXPORT u32 gf_isom_segment_get_track_fragment_count (GF_ISOFile *file, u32 moof_index)
 
GF_EXPORT u32 gf_isom_segment_get_track_fragment_decode_time (GF_ISOFile *file, u32 moof_index, u32 traf_index, u64 *decode_time)
 
GF_EXPORT u64 gf_isom_segment_get_fragment_size (GF_ISOFile *file, u32 moof_index, u32 *moof_size)
 
GF_EXPORT u32 gf_isom_get_timescale (GF_ISOFile *movie)
 
GF_EXPORT u64 gf_isom_get_duration (GF_ISOFile *movie)
 
GF_EXPORT u64 gf_isom_get_original_duration (GF_ISOFile *movie)
 
GF_EXPORT GF_Err gf_isom_get_creation_time (GF_ISOFile *movie, u64 *creationTime, u64 *modificationTime)
 
GF_EXPORT GF_Err gf_isom_get_track_creation_time (GF_ISOFile *movie, u32 trackNumber, u64 *creationTime, u64 *modificationTime)
 
GF_EXPORT u8 gf_isom_is_track_in_root_od (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT u8 gf_isom_is_track_enabled (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_track_flags (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u64 gf_isom_get_track_duration (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT u64 gf_isom_get_track_duration_orig (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_get_media_language (GF_ISOFile *the_file, u32 trackNumber, char **lang)
 
GF_EXPORT u32 gf_isom_get_track_kind_count (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_get_track_kind (GF_ISOFile *the_file, u32 trackNumber, u32 index, char **scheme, char **value)
 
GF_EXPORT s32 gf_isom_get_reference_count (GF_ISOFile *movie, u32 trackNumber, u32 referenceType)
 
GF_EXPORT const GF_ISOTrackIDgf_isom_enum_track_references (GF_ISOFile *movie, u32 trackNumber, u32 idx, u32 *referenceType, u32 *referenceCount)
 
GF_EXPORT GF_Err gf_isom_get_reference (GF_ISOFile *movie, u32 trackNumber, u32 referenceType, u32 referenceIndex, u32 *refTrack)
 
GF_EXPORT GF_Err gf_isom_get_reference_ID (GF_ISOFile *movie, u32 trackNumber, u32 referenceType, u32 referenceIndex, GF_ISOTrackID *refTrackID)
 
GF_EXPORT u32 gf_isom_has_track_reference (GF_ISOFile *movie, u32 trackNumber, u32 referenceType, GF_ISOTrackID refTrackID)
 
GF_EXPORT u32 gf_isom_is_track_referenced (GF_ISOFile *movie, u32 trackNumber, u32 referenceType)
 
GF_EXPORT GF_Err gf_isom_get_media_time (GF_ISOFile *the_file, u32 trackNumber, u32 movieTime, u64 *MediaTime)
 
GF_EXPORT u32 gf_isom_get_sample_description_index (GF_ISOFile *movie, u32 trackNumber, u64 for_time)
 
GF_EXPORT u32 gf_isom_get_sample_description_count (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT GF_ESDgf_isom_get_esd (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex)
 
GF_EXPORT GF_DecoderConfiggf_isom_get_decoder_config (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex)
 
GF_EXPORT u64 gf_isom_get_media_duration (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT u64 gf_isom_get_media_original_duration (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_media_timescale (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_copyright_count (GF_ISOFile *mov)
 
GF_EXPORT GF_Err gf_isom_get_copyright (GF_ISOFile *mov, u32 Index, const char **threeCharCode, const char **notice)
 
GF_EXPORT u32 gf_isom_get_chapter_count (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_get_chapter (GF_ISOFile *movie, u32 trackNumber, u32 Index, u64 *chapter_time, const char **name)
 
GF_EXPORT u32 gf_isom_get_media_type (GF_ISOFile *movie, u32 trackNumber)
 
Bool IsMP4Description (u32 entryType)
 
Bool gf_isom_is_encrypted_entry (u32 entryType)
 
GF_EXPORT Bool gf_isom_is_track_encrypted (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_media_subtype (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
GF_EXPORT u32 gf_isom_get_mpeg4_subtype (GF_ISOFile *the_file, u32 trackNumber, u32 DescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_get_handler_name (GF_ISOFile *the_file, u32 trackNumber, const char **outName)
 
GF_EXPORT GF_Err gf_isom_check_data_reference (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_get_data_reference (GF_ISOFile *the_file, u32 trackNumber, u32 StreamDescriptionIndex, const char **outURL, const char **outURN)
 
GF_EXPORT u32 gf_isom_get_sample_count (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_constant_sample_size (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_constant_sample_duration (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT Bool gf_isom_enable_raw_pack (GF_ISOFile *the_file, u32 trackNumber, u32 pack_num_samples)
 
Bool gf_isom_has_time_offset_table (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_has_time_offset (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT s64 gf_isom_get_cts_to_dts_shift (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT Bool gf_isom_has_sync_shadows (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT Bool gf_isom_has_sample_dependency (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_get_sample_flags (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, u32 *isLeading, u32 *dependsOn, u32 *dependedOn, u32 *redundant)
 
GF_EXPORT GF_ISOSamplegf_isom_get_sample_ex (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, u32 *sampleDescriptionIndex, GF_ISOSample *static_sample, u64 *data_offset)
 
GF_EXPORT GF_ISOSamplegf_isom_get_sample (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, u32 *sampleDescriptionIndex)
 
GF_EXPORT u32 gf_isom_get_sample_duration (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber)
 
GF_EXPORT u32 gf_isom_get_sample_size (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber)
 
GF_EXPORT u32 gf_isom_get_max_sample_size (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_avg_sample_size (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_max_sample_delta (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_avg_sample_delta (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_max_sample_cts_offset (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT Bool gf_isom_get_sample_sync (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber)
 
GF_EXPORT GF_ISOSamplegf_isom_get_sample_info_ex (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, u32 *sampleDescriptionIndex, u64 *data_offset, GF_ISOSample *static_sample)
 
GF_EXPORT GF_ISOSamplegf_isom_get_sample_info (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, u32 *sampleDescriptionIndex, u64 *data_offset)
 
GF_EXPORT u64 gf_isom_get_sample_dts (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber)
 
GF_EXPORT Bool gf_isom_is_self_contained (GF_ISOFile *the_file, u32 trackNumber, u32 sampleDescriptionIndex)
 
GF_EXPORT u32 gf_isom_get_sample_from_dts (GF_ISOFile *the_file, u32 trackNumber, u64 dts)
 
GF_EXPORT GF_Err gf_isom_get_sample_for_media_time (GF_ISOFile *the_file, u32 trackNumber, u64 desiredTime, u32 *StreamDescriptionIndex, GF_ISOSearchMode SearchMode, GF_ISOSample **sample, u32 *SampleNum, u64 *data_offset)
 
GF_EXPORT GF_Err gf_isom_get_sample_for_movie_time (GF_ISOFile *the_file, u32 trackNumber, u64 movieTime, u32 *StreamDescriptionIndex, GF_ISOSearchMode SearchMode, GF_ISOSample **sample, u32 *sampleNumber, u64 *data_offset)
 
GF_EXPORT u64 gf_isom_get_missing_bytes (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_set_sample_padding (GF_ISOFile *the_file, u32 trackNumber, u32 padding_bytes)
 
GF_EXPORT Bool gf_isom_get_edit_list_type (GF_ISOFile *the_file, u32 trackNumber, s64 *mediaOffset)
 
GF_EXPORT u32 gf_isom_get_edits_count (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_get_edit (GF_ISOFile *the_file, u32 trackNumber, u32 SegmentIndex, u64 *EditTime, u64 *SegmentDuration, u64 *MediaTime, GF_ISOEditType *EditMode)
 
GF_EXPORT u8 gf_isom_has_sync_points (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_sync_point_count (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_get_brand_info (GF_ISOFile *movie, u32 *brand, u32 *minorVersion, u32 *AlternateBrandsCount)
 
GF_EXPORT GF_Err gf_isom_get_alternate_brand (GF_ISOFile *movie, u32 BrandIndex, u32 *brand)
 
GF_EXPORT const u32gf_isom_get_brands (GF_ISOFile *movie)
 
GF_EXPORT GF_Err gf_isom_get_sample_padding_bits (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, u8 *NbBits)
 
GF_EXPORT Bool gf_isom_has_padding_bits (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u32 gf_isom_get_udta_count (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_get_udta_type (GF_ISOFile *movie, u32 trackNumber, u32 udta_idx, u32 *UserDataType, bin128 *UUID)
 
GF_EXPORT u32 gf_isom_get_user_data_count (GF_ISOFile *movie, u32 trackNumber, u32 UserDataType, bin128 UUID)
 
GF_EXPORT GF_Err gf_isom_get_user_data (GF_ISOFile *movie, u32 trackNumber, u32 UserDataType, bin128 UUID, u32 UserDataIndex, u8 **userData, u32 *userDataSize)
 
GF_EXPORT void gf_isom_delete (GF_ISOFile *movie)
 
GF_EXPORT GF_Err gf_isom_get_chunks_infos (GF_ISOFile *movie, u32 trackNumber, u32 *dur_min, u32 *dur_avg, u32 *dur_max, u32 *size_min, u32 *size_avg, u32 *size_max)
 
GF_EXPORT GF_Err gf_isom_get_fragment_defaults (GF_ISOFile *the_file, u32 trackNumber, u32 *defaultDuration, u32 *defaultSize, u32 *defaultDescriptionIndex, u32 *defaultRandomAccess, u8 *defaultPadding, u16 *defaultDegradationPriority)
 
GF_EXPORT GF_Err gf_isom_refresh_fragmented (GF_ISOFile *movie, u64 *MissingBytes, const char *new_location)
 
GF_EXPORT void gf_isom_set_single_moof_mode (GF_ISOFile *movie, Bool mode)
 
GF_EXPORT GF_Err gf_isom_reset_data_offset (GF_ISOFile *movie, u64 *top_box_start)
 
GF_EXPORT GF_Err gf_isom_get_current_top_box_offset (GF_ISOFile *movie, u64 *current_top_box_offset)
 
GF_EXPORT GF_Err gf_isom_set_removed_bytes (GF_ISOFile *movie, u64 bytes_removed)
 
GF_Err gf_isom_purge_samples (GF_ISOFile *the_file, u32 trackNumber, u32 nb_samples)
 
static void gf_isom_recreate_tables (GF_TrackBox *trak)
 
GF_EXPORT GF_Err gf_isom_reset_tables (GF_ISOFile *movie, Bool reset_sample_count)
 
GF_EXPORT GF_Err gf_isom_release_segment (GF_ISOFile *movie, Bool reset_tables)
 
GF_EXPORT GF_Err gf_isom_open_segment (GF_ISOFile *movie, const char *fileName, u64 start_range, u64 end_range, GF_ISOSegOpenMode flags)
 
GF_EXPORT GF_ISOTrackID gf_isom_get_highest_track_in_scalable_segment (GF_ISOFile *movie, u32 for_base_track)
 
GF_EXPORT GF_Err gf_isom_text_set_streaming_mode (GF_ISOFile *movie, Bool do_convert)
 
static void gf_isom_gen_desc_get_dsi (GF_GenericSampleDescription *udesc, GF_List *child_boxes)
 
GF_EXPORT GF_GenericSampleDescriptiongf_isom_get_generic_sample_description (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex)
 
GF_EXPORT GF_Err gf_isom_get_visual_info (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 *Width, u32 *Height)
 
GF_EXPORT GF_Err gf_isom_get_visual_bit_depth (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u16 *bitDepth)
 
GF_EXPORT GF_Err gf_isom_get_audio_info (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 *SampleRate, u32 *Channels, u32 *bitsPerSample)
 
GF_EXPORT GF_Err gf_isom_get_audio_layout (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, GF_AudioChannelLayout *layout)
 
GF_EXPORT GF_Err gf_isom_get_pixel_aspect_ratio (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 *hSpacing, u32 *vSpacing)
 
GF_EXPORT GF_Err gf_isom_get_color_info (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 *colour_type, u16 *colour_primaries, u16 *transfer_characteristics, u16 *matrix_coefficients, Bool *full_range_flag)
 
GF_EXPORT GF_Err gf_isom_get_icc_profile (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, Bool *icc_restricted, const u8 **icc, u32 *icc_size)
 
GF_EXPORT const char * gf_isom_get_filename (GF_ISOFile *movie)
 
GF_EXPORT u8 gf_isom_get_pl_indication (GF_ISOFile *movie, GF_ISOProfileLevelType PL_Code)
 
GF_EXPORT GF_Err gf_isom_get_track_matrix (GF_ISOFile *the_file, u32 trackNumber, u32 matrix[9])
 
GF_EXPORT GF_Err gf_isom_get_track_layout_info (GF_ISOFile *movie, u32 trackNumber, u32 *width, u32 *height, s32 *translation_x, s32 *translation_y, s16 *layer)
 
GF_EXPORT u64 gf_isom_get_media_data_size (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT u64 gf_isom_get_first_mdat_start (GF_ISOFile *movie)
 
static u64 box_unused_bytes (GF_Box *b)
 
GF_EXPORT u64 gf_isom_get_unused_box_bytes (GF_ISOFile *movie)
 
GF_EXPORT void gf_isom_set_default_sync_track (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT Bool gf_isom_is_single_av (GF_ISOFile *file)
 
GF_EXPORT Bool gf_isom_is_JPEG2000 (GF_ISOFile *mov)
 
GF_EXPORT u32 gf_isom_guess_specification (GF_ISOFile *file)
 
GF_ItemListBoxgf_isom_locate_box (GF_List *list, u32 boxType, bin128 UUID)
 
GF_EXPORT GF_Err gf_isom_apple_get_tag (GF_ISOFile *mov, GF_ISOiTunesTag tag, const u8 **data, u32 *data_len)
 
GF_EXPORT GF_Err gf_isom_apple_enum_tag (GF_ISOFile *mov, u32 idx, GF_ISOiTunesTag *out_tag, const u8 **data, u32 *data_len, u64 *out_int_val, u32 *out_int_val2, u32 *out_flags)
 
GF_EXPORT GF_Err gf_isom_enum_udta_keys (GF_ISOFile *mov, u32 idx, GF_QT_UDTAKey *okey)
 
GF_EXPORT GF_Err gf_isom_wma_enum_tag (GF_ISOFile *mov, u32 idx, char **out_tag, const u8 **data, u32 *data_len, u32 *version, u32 *data_type)
 
GF_EXPORT GF_Err gf_isom_get_track_switch_group_count (GF_ISOFile *movie, u32 trackNumber, u32 *alternateGroupID, u32 *nb_groups)
 
GF_EXPORT const u32gf_isom_get_track_switch_parameter (GF_ISOFile *movie, u32 trackNumber, u32 group_index, u32 *switchGroupID, u32 *criteriaListSize)
 
GF_EXPORT u32 gf_isom_get_next_alternate_group_id (GF_ISOFile *movie)
 
GF_EXPORT u8gf_isom_sample_get_subsamples_buffer (GF_ISOFile *movie, u32 track, u32 sampleNumber, u32 *osize)
 
GF_EXPORT u32 gf_isom_sample_has_subsamples (GF_ISOFile *movie, u32 track, u32 sampleNumber, u32 flags)
 
GF_EXPORT GF_Err gf_isom_sample_get_subsample (GF_ISOFile *movie, u32 track, u32 sampleNumber, u32 flags, u32 subSampleNumber, u32 *size, u8 *priority, u32 *reserved, Bool *discardable)
 
GF_EXPORT GF_Err gf_isom_get_rvc_config (GF_ISOFile *movie, u32 track, u32 sampleDescriptionIndex, u16 *rvc_predefined, u8 **data, u32 *size, const char **mime)
 
GF_EXPORT Bool gf_isom_moov_first (GF_ISOFile *movie)
 
GF_EXPORT void gf_isom_reset_fragment_info (GF_ISOFile *movie, Bool keep_sample_count)
 
GF_EXPORT void gf_isom_reset_seq_num (GF_ISOFile *movie)
 
GF_EXPORT void gf_isom_reset_sample_count (GF_ISOFile *movie)
 
GF_EXPORT Bool gf_isom_has_cenc_sample_group (GF_ISOFile *the_file, u32 trackNumber, Bool *has_selective, Bool *has_roll)
 
GF_EXPORT GF_Err gf_isom_get_sample_rap_roll_info (GF_ISOFile *the_file, u32 trackNumber, u32 sample_number, Bool *is_rap, GF_ISOSampleRollType *roll_type, s32 *roll_distance)
 
GF_EXPORT GF_Err gf_isom_get_sample_to_group_info (GF_ISOFile *the_file, u32 trackNumber, u32 sample_number, u32 grouping_type, u32 grouping_type_param, u32 *sampleGroupDescIndex)
 
GF_Err gf_isom_enum_sample_group (GF_ISOFile *the_file, u32 trackNumber, u32 sample_number, u32 *sgrp_idx, u32 *sgrp_type, u32 *sgrp_flags, u32 *sgrp_parameter, u8 **sgrp_data, u32 *sgrp_size)
 
void * gf_isom_get_sample_group_info_entry (GF_ISOFile *the_file, GF_TrackBox *trak, u32 grouping_type, u32 sample_group_description_index, u32 *default_index, GF_SampleGroupDescriptionBox **out_sgdp)
 
GF_EXPORT Bool gf_isom_get_sample_group_info (GF_ISOFile *the_file, u32 trackNumber, u32 sample_description_index, u32 grouping_type, u32 *default_index, const u8 **data, u32 *size)
 
GF_EXPORT u64 gf_isom_get_fragmented_duration (GF_ISOFile *movie)
 
GF_EXPORT u32 gf_isom_get_fragments_count (GF_ISOFile *movie, Bool segments_only)
 
GF_EXPORT GF_Err gf_isom_get_fragmented_samples_info (GF_ISOFile *movie, GF_ISOTrackID trackID, u32 *nb_samples, u64 *duration)
 
GF_EXPORT GF_Err gf_isom_set_nalu_extract_mode (GF_ISOFile *the_file, u32 trackNumber, GF_ISONaluExtractMode nalu_extract_mode)
 
GF_EXPORT GF_ISONaluExtractMode gf_isom_get_nalu_extract_mode (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT s32 gf_isom_get_composition_offset_shift (GF_ISOFile *file, u32 track)
 
GF_EXPORT Bool gf_isom_needs_layer_reconstruction (GF_ISOFile *file)
 
GF_EXPORT void gf_isom_keep_utc_times (GF_ISOFile *file, Bool keep_utc)
 
GF_EXPORT Bool gf_isom_has_keep_utc_times (GF_ISOFile *file)
 
GF_EXPORT u32 gf_isom_get_pssh_count (GF_ISOFile *file)
 
GF_EXPORT GF_Err gf_isom_get_pssh_info (GF_ISOFile *file, u32 pssh_index, bin128 SystemID, u32 *version, u32 *KID_count, const bin128 **KIDs, const u8 **private_data, u32 *private_data_size)
 
GF_Err gf_isom_get_sample_cenc_info_internal (GF_TrackBox *trak, GF_TrackFragmentBox *traf, GF_SampleEncryptionBox *senc, u32 sample_number, Bool *IsEncrypted, u32 *crypt_byte_block, u32 *skip_byte_block, const u8 **key_info, u32 *key_info_size)
 
GF_EXPORT GF_Err gf_isom_get_sample_cenc_info (GF_ISOFile *movie, u32 track, u32 sample_number, Bool *IsEncrypted, u32 *crypt_byte_block, u32 *skip_byte_block, const u8 **key_info, u32 *key_info_size)
 
GF_EXPORT Bool gf_isom_get_last_producer_time_box (GF_ISOFile *file, GF_ISOTrackID *refTrackID, u64 *ntp, u64 *timestamp, Bool reset_info)
 
GF_EXPORT u64 gf_isom_get_current_tfdt (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT u64 gf_isom_get_smooth_next_tfdt (GF_ISOFile *the_file, u32 trackNumber)
 
GF_EXPORT Bool gf_isom_is_smooth_streaming_moov (GF_ISOFile *the_file)
 
void gf_isom_parse_trif_info (const u8 *data, u32 size, u32 *id, u32 *independent, Bool *full_picture, u32 *x, u32 *y, u32 *w, u32 *h)
 
GF_EXPORT Bool gf_isom_get_tile_info (GF_ISOFile *file, u32 trackNumber, u32 sample_description_index, u32 *default_sample_group_index, u32 *id, u32 *independent, Bool *full_picture, u32 *x, u32 *y, u32 *w, u32 *h)
 
GF_EXPORT Bool gf_isom_get_oinf_info (GF_ISOFile *file, u32 trackNumber, GF_OperatingPointsInformation **ptr)
 
GF_EXPORT GF_Err gf_isom_set_byte_offset (GF_ISOFile *file, s64 byte_offset)
 
GF_EXPORT u32 gf_isom_get_nalu_length_field (GF_ISOFile *file, u32 track, u32 StreamDescriptionIndex)
 
GF_EXPORT Bool gf_isom_is_video_handler_type (u32 mtype)
 
GF_EXPORT GF_Err gf_isom_get_bitrate (GF_ISOFile *movie, u32 trackNumber, u32 sampleDescIndex, u32 *average_bitrate, u32 *max_bitrate, u32 *decode_buffer_size)
 
void gf_isom_enable_traf_map_templates (GF_ISOFile *movie)
 
GF_EXPORT Bool gf_isom_sample_is_fragment_start (GF_ISOFile *movie, u32 trackNumber, u32 sampleNum, GF_ISOFragmentBoundaryInfo *frag_info)
 
GF_EXPORT Bool gf_isom_get_root_sidx_offsets (GF_ISOFile *movie, u64 *start, u64 *end)
 
GF_EXPORT GF_Err gf_isom_get_jp2_config (GF_ISOFile *movie, u32 trackNumber, u32 sampleDesc, u8 **out_dsi, u32 *out_size)
 
Bool gf_isom_is_identical_sgpd (void *ptr1, void *ptr2, u32 grouping_type)
 
GF_EXPORT u64 gf_isom_get_track_magic (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_get_file_offset_for_time (GF_ISOFile *movie, Double start_time, u64 *max_offset)
 
GF_EXPORT GF_Err gf_isom_get_sidx_duration (GF_ISOFile *movie, u64 *sidx_dur, u32 *sidx_timescale)
 
GF_EXPORT const u8gf_isom_get_mpegh_compatible_profiles (GF_ISOFile *movie, u32 trackNumber, u32 sampleDescIndex, u32 *nb_compat_profiles)
 
const void * gf_isom_get_tfrf (GF_ISOFile *movie, u32 trackNumber)
 
GF_Err gf_isom_get_y3d_info (GF_ISOFile *movie, u32 trackNumber, u32 sampleDescriptionIndex, GF_ISOM_Y3D_Info *info)
 
GF_EXPORT u32 gf_isom_get_chunk_count (GF_ISOFile *movie, u32 trackNumber)
 
GF_EXPORT GF_Err gf_isom_get_chunk_info (GF_ISOFile *movie, u32 trackNumber, u32 chunk_num, u64 *chunk_offset, u32 *first_sample_num, u32 *sample_per_chunk, u32 *sample_desc_idx, u32 *cache_1, u32 *cache_2)
 
GF_EXPORT GF_Err gf_isom_get_clean_aperture (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex, u32 *cleanApertureWidthN, u32 *cleanApertureWidthD, u32 *cleanApertureHeightN, u32 *cleanApertureHeightD, s32 *horizOffN, u32 *horizOffD, s32 *vertOffN, u32 *vertOffD)
 
GF_EXPORT u32 gf_isom_get_track_group (GF_ISOFile *file, u32 track_number, u32 track_group_type)
 
GF_EXPORT Bool gf_isom_enum_track_group (GF_ISOFile *file, u32 track_number, u32 *idx, u32 *track_group_type, u32 *track_group_id)
 
GF_EXPORT const GF_MasteringDisplayColourVolumeInfogf_isom_get_mastering_display_colour_info (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex)
 
GF_EXPORT const GF_ContentLightLevelInfogf_isom_get_content_light_level_info (GF_ISOFile *movie, u32 trackNumber, u32 StreamDescriptionIndex)
 
GF_Err gf_isom_enum_sample_aux_data (GF_ISOFile *the_file, u32 trackNumber, u32 sample_number, u32 *sai_idx, u32 *sai_type, u32 *sai_parameter, u8 **sai_data, u32 *sai_size)
 
GF_Err gf_isom_pop_emsg (GF_ISOFile *the_file, u8 **emsg_data, u32 *emsg_size)
 
GF_Err gf_isom_set_sample_alloc (GF_ISOFile *the_file, u32 trackNumber, u8 *(*sample_alloc)(u32 size, void *cbk), void *udta)
 
GF_EXPORT Bool gf_isom_is_external_track (GF_ISOFile *the_file, u32 trackNumber, GF_ISOTrackID *tkid, u32 *type, u32 *flags, const char **location)
 
GF_Err gf_isom_merge_external_edit (GF_ISOFile *dst, u32 dst_track, GF_ISOFile *src, u32 src_track)
 
s32 gf_isom_get_min_negative_cts_offset (GF_ISOFile *the_file, u32 trackNumber, GF_ISOMMinNegCtsQuery query_mode)
 
GF_EXPORT GF_Err gf_isom_switch_source (GF_ISOFile *the_file, const char *new_file)
 
GF_EXPORT GF_Err gf_isom_get_sample_references (GF_ISOFile *the_file, u32 trackNumber, u32 sampleNumber, u32 *ID, u32 *nb_refs, const u32 **refs)
 

Variables

static GF_Err MP4_API_IO_Err
 
u64 unused_bytes
 

Function Documentation

◆ gf_isom_set_last_error()

void gf_isom_set_last_error ( GF_ISOFile *  movie,
GF_Err  error 
)
+ Here is the caller graph for this function:

◆ gf_isom_probe_type()

static u32 gf_isom_probe_type ( u32  type)
static
+ Here is the caller graph for this function:

◆ isom_create_init_from_mem()

static GF_Err isom_create_init_from_mem ( const char *  fileName,
GF_ISOFile *  file 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_bs_untruncate()

void gf_bs_untruncate ( GF_BitStream *  bs)
+ Here is the caller graph for this function:

◆ gf_isom_load_fragments()

GF_Err gf_isom_load_fragments ( GF_ISOFile *  movie,
u64  start_range,
u64  end_range,
u64 BytesMissing 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_write()

static GF_Err gf_isom_write ( GF_ISOFile *  movie)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_get_moof()

static GF_MovieFragmentBox* gf_isom_get_moof ( GF_ISOFile *  file,
u32  moof_index 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsMP4Description()

Bool IsMP4Description ( u32  entryType)
+ Here is the caller graph for this function:

◆ gf_isom_is_encrypted_entry()

Bool gf_isom_is_encrypted_entry ( u32  entryType)
+ Here is the caller graph for this function:

◆ gf_isom_has_time_offset_table()

Bool gf_isom_has_time_offset_table ( GF_ISOFile *  the_file,
u32  trackNumber 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_recreate_tables()

static void gf_isom_recreate_tables ( GF_TrackBox trak)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_gen_desc_get_dsi()

static void gf_isom_gen_desc_get_dsi ( GF_GenericSampleDescription udesc,
GF_List *  child_boxes 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ box_unused_bytes()

static u64 box_unused_bytes ( GF_Box b)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_locate_box()

GF_ItemListBox* gf_isom_locate_box ( GF_List *  list,
u32  boxType,
bin128  UUID 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_get_sample_group_info_entry()

void* gf_isom_get_sample_group_info_entry ( GF_ISOFile *  the_file,
GF_TrackBox trak,
u32  grouping_type,
u32  sample_group_description_index,
u32 default_index,
GF_SampleGroupDescriptionBox **  out_sgdp 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_get_sample_cenc_info_internal()

GF_Err gf_isom_get_sample_cenc_info_internal ( GF_TrackBox trak,
GF_TrackFragmentBox traf,
GF_SampleEncryptionBox senc,
u32  sample_number,
Bool IsEncrypted,
u32 crypt_byte_block,
u32 skip_byte_block,
const u8 **  key_info,
u32 key_info_size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_parse_trif_info()

void gf_isom_parse_trif_info ( const u8 data,
u32  size,
u32 id,
u32 independent,
Bool full_picture,
u32 x,
u32 y,
u32 w,
u32 h 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_get_oinf_info()

GF_EXPORT Bool gf_isom_get_oinf_info ( GF_ISOFile *  file,
u32  trackNumber,
GF_OperatingPointsInformation **  ptr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_is_identical_sgpd()

Bool gf_isom_is_identical_sgpd ( void *  ptr1,
void *  ptr2,
u32  grouping_type 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_get_tfrf()

const void* gf_isom_get_tfrf ( GF_ISOFile *  movie,
u32  trackNumber 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_pop_emsg()

GF_Err gf_isom_pop_emsg ( GF_ISOFile *  the_file,
u8 **  emsg_data,
u32 emsg_size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_set_sample_alloc()

GF_Err gf_isom_set_sample_alloc ( GF_ISOFile *  the_file,
u32  trackNumber,
u8 *(*)(u32 size, void *cbk)  sample_alloc,
void *  udta 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_merge_external_edit()

GF_Err gf_isom_merge_external_edit ( GF_ISOFile *  dst,
u32  dst_track,
GF_ISOFile *  src,
u32  src_track 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ MP4_API_IO_Err

GF_Err MP4_API_IO_Err
static

◆ unused_bytes

u64 unused_bytes
extern