GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
isom_hinter.c File Reference
#include <gpac/internal/media_dev.h>
#include <gpac/base_coding.h>
#include <gpac/mpeg4_odf.h>
#include <gpac/constants.h>
#include <gpac/math.h>
#include <gpac/ietf.h>
+ Include dependency graph for isom_hinter.c:

Data Structures

struct  GF_RTPHinter
 

Macros

#define OFFSET_HINT_GROUP_ID   0x8000
 

Functions

void gf_media_get_sample_average_infos (GF_ISOFile *file, u32 Track, u32 *avgSize, u32 *MaxSize, u32 *TimeDelta, u32 *maxCTSDelta, u32 *const_duration, u32 *bandwidth)
 
void MP4T_DumpSDP (GF_ISOFile *file, const char *name)
 
void InitSL_RTP (GF_SLConfig *slc)
 
void InitSL_NULL (GF_SLConfig *slc)
 
void MP4T_OnPacketDone (void *cbk, GF_RTPHeader *header)
 
void MP4T_OnDataRef (void *cbk, u32 payload_size, u32 offset_from_orig)
 
void MP4T_OnData (void *cbk, char *data, u32 data_size, Bool is_header)
 
void MP4T_OnNewPacket (void *cbk, GF_RTPHeader *header)
 
GF_RTPHinter * gf_hinter_track_new (GF_ISOFile *file, u32 TrackNum, u32 Path_MTU, u32 max_ptime, u32 default_rtp_rate, u32 flags, u8 PayloadID, Bool copy_media, u32 InterleaveGroupID, u8 InterleaveGroupPriority, GF_Err *e)
 
u32 gf_hinter_track_get_bandwidth (GF_RTPHinter *tkHinter)
 
u32 gf_hinter_track_get_flags (GF_RTPHinter *tkHinter)
 
void gf_hinter_track_get_payload_name (GF_RTPHinter *tkHinter, char *payloadName)
 
void gf_hinter_track_del (GF_RTPHinter *tkHinter)
 
GF_Err gf_hinter_track_process (GF_RTPHinter *tkHint)
 
static u32 write_nalu_config_array (char *sdpLine, GF_List *nalus)
 
static void write_avc_config (char *sdpLine, GF_AVCConfig *avcc, GF_AVCConfig *svcc)
 
GF_Err gf_hinter_track_finalize (GF_RTPHinter *tkHint, Bool AddSystemInfo)
 
Bool gf_hinter_can_embbed_data (char *data, u32 data_size, u32 streamType)
 
GF_Err gf_hinter_finalize (GF_ISOFile *file, u32 IOD_Profile, u32 bandwidth)
 

Data Structure Documentation

struct __tag_isom_hinter
+ Collaboration diagram for GF_RTPHinter:
Data Fields
GF_ISOFile * file
u32 TrackNum
u32 TrackID
u32 HintTrack
u32 HintID
u32 HintSample
u32 RTPTime
Bool has_ctts
u8 SampleIsRAP
u32 base_offset_in_sample
u32 OrigTimeScale
GP_RTPPacketizer * rtp_p
u32 bandwidth
u32 nb_chan
u32 avc_nalu_size
u32 TotalSample
u32 CurrentSample

Macro Definition Documentation

#define OFFSET_HINT_GROUP_ID   0x8000

Function Documentation

void gf_media_get_sample_average_infos ( GF_ISOFile *  file,
u32  Track,
u32 avgSize,
u32 MaxSize,
u32 TimeDelta,
u32 maxCTSDelta,
u32 const_duration,
u32 bandwidth 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void MP4T_DumpSDP ( GF_ISOFile *  file,
const char *  name 
)

+ Here is the call graph for this function:

void InitSL_RTP ( GF_SLConfig slc)

+ Here is the caller graph for this function:

void InitSL_NULL ( GF_SLConfig slc)

+ Here is the caller graph for this function:

void MP4T_OnPacketDone ( void *  cbk,
GF_RTPHeader header 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void MP4T_OnDataRef ( void *  cbk,
u32  payload_size,
u32  offset_from_orig 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void MP4T_OnData ( void *  cbk,
char *  data,
u32  data_size,
Bool  is_header 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void MP4T_OnNewPacket ( void *  cbk,
GF_RTPHeader header 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_RTPHinter* gf_hinter_track_new ( GF_ISOFile *  file,
u32  TrackNum,
u32  Path_MTU,
u32  max_ptime,
u32  default_rtp_rate,
u32  flags,
u8  PayloadID,
Bool  copy_media,
u32  InterleaveGroupID,
u8  InterleaveGroupPriority,
GF_Err e 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_hinter_track_get_bandwidth ( GF_RTPHinter *  tkHinter)

+ Here is the caller graph for this function:

u32 gf_hinter_track_get_flags ( GF_RTPHinter *  tkHinter)

+ Here is the caller graph for this function:

void gf_hinter_track_get_payload_name ( GF_RTPHinter *  tkHinter,
char *  payloadName 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_hinter_track_del ( GF_RTPHinter *  tkHinter)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_hinter_track_process ( GF_RTPHinter *  tkHint)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 write_nalu_config_array ( char *  sdpLine,
GF_List *  nalus 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void write_avc_config ( char *  sdpLine,
GF_AVCConfig avcc,
GF_AVCConfig svcc 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_hinter_track_finalize ( GF_RTPHinter *  tkHint,
Bool  AddSystemInfo 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_hinter_can_embbed_data ( char *  data,
u32  data_size,
u32  streamType 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_hinter_finalize ( GF_ISOFile *  file,
u32  IOD_Profile,
u32  bandwidth 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: