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
saf.c File Reference
#include <gpac/internal/media_dev.h>
#include <gpac/bitstream.h>
#include <gpac/thread.h>
#include <gpac/list.h>
+ Include dependency graph for saf.c:

Data Structures

struct  GF_SAFSample
 
struct  GF_SAFStream
 
struct  GF_SAFMuxer
 

Enumerations

enum  {
  SAF_STREAM_HEADER = 1, SAF_STREAM_HEADER_PERMANENT = 2, SAF_END_OF_STREAM = 3, SAF_ACCESS_UNIT = 4,
  SAF_END_OF_SESSION = 5, SAF_CACHE_UNIT = 6, SAF_REMOTE_STREAM_HEADER = 7
}
 

Functions

GF_SAFMuxer * gf_saf_mux_new ()
 
static void saf_stream_del (GF_SAFStream *str)
 
void gf_saf_mux_del (GF_SAFMuxer *mux)
 
static GF_SAFStreamsaf_get_stream (GF_SAFMuxer *mux, u32 stream_id)
 
GF_Err gf_saf_mux_stream_add (GF_SAFMuxer *mux, u32 stream_id, u32 ts_res, u32 buffersize_db, u8 stream_type, u8 object_type, char *mime_type, char *dsi, u32 dsi_len, char *remote_url)
 
GF_Err gf_saf_mux_stream_rem (GF_SAFMuxer *mux, u32 stream_id)
 
GF_Err gf_saf_mux_add_au (GF_SAFMuxer *mux, u32 stream_id, u32 CTS, char *data, u32 data_len, Bool is_rap)
 
GF_Err gf_saf_mux_for_time (GF_SAFMuxer *mux, u32 time_ms, Bool force_end_of_session, char **out_data, u32 *out_size)
 

Data Structure Documentation

struct GF_SAFSample
+ Collaboration diagram for GF_SAFSample:
Data Fields
char * data
u32 data_size
Bool is_rap
u32 ts
struct GF_SAFStream
+ Collaboration diagram for GF_SAFStream:
Data Fields
u32 stream_id
u32 ts_resolution
u32 buffersize_db
u8 stream_type
u8 object_type
char * mime_type
char * remote_url
char * dsi
u32 dsi_len
GF_List * aus
u32 state
u32 last_au_sn
u32 last_au_ts
struct __saf_muxer
+ Collaboration diagram for GF_SAFMuxer:
Data Fields
GF_List * streams
u32 state
GF_Mutex * mx

Enumeration Type Documentation

anonymous enum
Enumerator
SAF_STREAM_HEADER 
SAF_STREAM_HEADER_PERMANENT 
SAF_END_OF_STREAM 
SAF_ACCESS_UNIT 
SAF_END_OF_SESSION 
SAF_CACHE_UNIT 
SAF_REMOTE_STREAM_HEADER 

Function Documentation

GF_SAFMuxer* gf_saf_mux_new ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void saf_stream_del ( GF_SAFStream str)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_saf_mux_del ( GF_SAFMuxer *  mux)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_SAFStream* saf_get_stream ( GF_SAFMuxer *  mux,
u32  stream_id 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_saf_mux_stream_add ( GF_SAFMuxer *  mux,
u32  stream_id,
u32  ts_res,
u32  buffersize_db,
u8  stream_type,
u8  object_type,
char *  mime_type,
char *  dsi,
u32  dsi_len,
char *  remote_url 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_saf_mux_stream_rem ( GF_SAFMuxer *  mux,
u32  stream_id 
)

+ Here is the call graph for this function:

GF_Err gf_saf_mux_add_au ( GF_SAFMuxer *  mux,
u32  stream_id,
u32  CTS,
char *  data,
u32  data_len,
Bool  is_rap 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_saf_mux_for_time ( GF_SAFMuxer *  mux,
u32  time_ms,
Bool  force_end_of_session,
char **  out_data,
u32 out_size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: