libgpac
Documentation of the core library of GPAC
data_map.c File Reference
#include <gpac/internal/isomedia_dev.h>
#include <gpac/network.h>
#include <gpac/thread.h>
#include <errno.h>
#include <string.h>
+ Include dependency graph for data_map.c:

Functions

GF_BitStream * gf_bs_from_fd (int fd, u32 mode)
 
void gf_isom_datamap_del (GF_DataMap *ptr)
 
void gf_isom_datamap_close (GF_MediaInformationBox *minf)
 
GF_Err gf_isom_datamap_new (const char *location, const char *parentPath, u8 mode, GF_DataMap **outDataMap)
 
GF_Err gf_isom_datamap_open (GF_MediaBox *mdia, u32 dataRefIndex, u8 Edit)
 
u32 gf_isom_datamap_get_data (GF_DataMap *map, u8 *buffer, u32 bufferLength, u64 Offset, GF_BlobRangeStatus *is_corrupted)
 
void gf_isom_datamap_flush (GF_DataMap *map)
 
u64 FDM_GetTotalOffset (GF_FileDataMap *ptr)
 
GF_Err FDM_AddData (GF_FileDataMap *ptr, char *data, u32 dataSize)
 
u64 gf_isom_datamap_get_offset (GF_DataMap *map)
 
GF_Err gf_isom_datamap_add_data (GF_DataMap *ptr, u8 *data, u32 dataSize)
 
GF_DataMapgf_isom_fdm_new_temp (const char *sPath)
 
GF_DataMapgf_isom_fdm_new (const char *sPath, u8 mode)
 
void gf_isom_fdm_del (GF_FileDataMap *ptr)
 
u32 gf_isom_fdm_get_data (GF_FileDataMap *ptr, u8 *buffer, u32 bufferLength, u64 fileOffset, GF_BlobRangeStatus *is_corrupted)
 
static Bool gf_isom_fdm_check_top_level (GF_FileDataMap *ptr)
 
Bool gf_isom_datamap_top_level_box_avail (GF_DataMap *map)
 

Function Documentation

◆ gf_bs_from_fd()

GF_BitStream* gf_bs_from_fd ( int  fd,
u32  mode 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_datamap_del()

void gf_isom_datamap_del ( GF_DataMap ptr)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_datamap_close()

void gf_isom_datamap_close ( GF_MediaInformationBox minf)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_datamap_new()

GF_Err gf_isom_datamap_new ( const char *  location,
const char *  parentPath,
u8  mode,
GF_DataMap **  outDataMap 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_datamap_open()

GF_Err gf_isom_datamap_open ( GF_MediaBox mdia,
u32  dataRefIndex,
u8  Edit 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_datamap_get_data()

u32 gf_isom_datamap_get_data ( GF_DataMap map,
u8 buffer,
u32  bufferLength,
u64  Offset,
GF_BlobRangeStatus is_corrupted 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_datamap_flush()

void gf_isom_datamap_flush ( GF_DataMap map)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FDM_GetTotalOffset()

u64 FDM_GetTotalOffset ( GF_FileDataMap ptr)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FDM_AddData()

GF_Err FDM_AddData ( GF_FileDataMap ptr,
char *  data,
u32  dataSize 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_datamap_get_offset()

u64 gf_isom_datamap_get_offset ( GF_DataMap map)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_datamap_add_data()

GF_Err gf_isom_datamap_add_data ( GF_DataMap ptr,
u8 data,
u32  dataSize 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_fdm_new_temp()

GF_DataMap* gf_isom_fdm_new_temp ( const char *  sPath)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_fdm_new()

GF_DataMap* gf_isom_fdm_new ( const char *  sPath,
u8  mode 
)

we open the file in READ/WRITE mode, in case

we open the file in CAT mode, in case

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_fdm_del()

void gf_isom_fdm_del ( GF_FileDataMap ptr)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_fdm_get_data()

u32 gf_isom_fdm_get_data ( GF_FileDataMap ptr,
u8 buffer,
u32  bufferLength,
u64  fileOffset,
GF_BlobRangeStatus is_corrupted 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_fdm_check_top_level()

static Bool gf_isom_fdm_check_top_level ( GF_FileDataMap ptr)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_isom_datamap_top_level_box_avail()

Bool gf_isom_datamap_top_level_box_avail ( GF_DataMap map)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: