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
oci_codec.c File Reference
+ Include dependency graph for oci_codec.c:

Data Structures

struct  OCIEvent
 
struct  OCICodec
 

Macros

#define OCI_MAX_EVENT_SIZE   1<<28 - 1
 
#define MAX_OCIEVENT_ID   0x7FFF
 

Functions

GF_Err gf_odf_write_descriptor_list (GF_BitStream *bs, GF_List *descList)
 
GF_Err gf_odf_size_descriptor_list (GF_List *descList, u32 *outSize)
 
GF_Err gf_odf_delete_descriptor (GF_Descriptor *desc)
 
GF_Err gf_odf_parse_descriptor (GF_BitStream *bs, GF_Descriptor **desc, u32 *desc_size)
 
s32 gf_odf_size_field_size (u32 size_desc)
 
OCIEvent * gf_oci_event_new (u16 EventID)
 
void gf_oci_event_del (OCIEvent *event)
 
GF_Err gf_oci_event_set_start_time (OCIEvent *event, u8 Hours, u8 Minutes, u8 Seconds, u8 HundredSeconds, u8 IsAbsoluteTime)
 
GF_Err gf_oci_event_set_duration (OCIEvent *event, u8 Hours, u8 Minutes, u8 Seconds, u8 HundredSeconds)
 
u8 OCI_IsOCIDesc (GF_Descriptor *oci_desc)
 
GF_Err gf_oci_event_add_desc (OCIEvent *event, GF_Descriptor *oci_desc)
 
GF_Err gf_oci_event_get_id (OCIEvent *event, u16 *ID)
 
GF_Err gf_oci_event_get_start_time (OCIEvent *event, u8 *Hours, u8 *Minutes, u8 *Seconds, u8 *HundredSeconds, u8 *IsAbsoluteTime)
 
GF_Err gf_oci_event_get_duration (OCIEvent *event, u8 *Hours, u8 *Minutes, u8 *Seconds, u8 *HundredSeconds)
 
u32 gf_oci_event_get_desc_count (OCIEvent *event)
 
GF_Descriptorgf_oci_event_get_desc (OCIEvent *event, u32 DescIndex)
 
GF_Err gf_oci_event_rem_desc (OCIEvent *event, u32 DescIndex)
 
OCICodec * gf_oci_codec_new (u8 IsEncoder, u8 Version)
 
void gf_oci_codec_del (OCICodec *codec)
 
GF_Err gf_oci_codec_add_event (OCICodec *codec, OCIEvent *event)
 
GF_Err WriteSevenBitLength (GF_BitStream *bs, u32 size)
 
GF_Err gf_oci_codec_encode (OCICodec *codec, char **outAU, u32 *au_length)
 
GF_Err gf_oci_codec_decode (OCICodec *codec, char *au, u32 au_length)
 
OCIEvent * gf_oci_codec_get_event (OCICodec *codec)
 

Data Structure Documentation

struct __tag_oci_event
+ Collaboration diagram for OCIEvent:
Data Fields
u16 EventID
u8 AbsoluteTimeFlag
char StartingTime[4]
char duration[4]
GF_List * OCIDescriptors
struct __tag_oci_codec
+ Collaboration diagram for OCICodec:
Data Fields
GF_List * OCIEvents
u8 Version
u8 Mode

Macro Definition Documentation

#define OCI_MAX_EVENT_SIZE   1<<28 - 1
#define MAX_OCIEVENT_ID   0x7FFF

Function Documentation

GF_Err gf_odf_write_descriptor_list ( GF_BitStream *  bs,
GF_List *  descList 
)

+ Here is the call graph for this function:

GF_Err gf_odf_size_descriptor_list ( GF_List *  descList,
u32 outSize 
)

+ Here is the call graph for this function:

GF_Err gf_odf_delete_descriptor ( GF_Descriptor desc)

+ Here is the call graph for this function:

GF_Err gf_odf_parse_descriptor ( GF_BitStream *  bs,
GF_Descriptor **  desc,
u32 desc_size 
)

+ Here is the call graph for this function:

s32 gf_odf_size_field_size ( u32  size_desc)
OCIEvent* gf_oci_event_new ( u16  EventID)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_oci_event_del ( OCIEvent *  event)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_oci_event_set_start_time ( OCIEvent *  event,
u8  Hours,
u8  Minutes,
u8  Seconds,
u8  HundredSeconds,
u8  IsAbsoluteTime 
)
GF_Err gf_oci_event_set_duration ( OCIEvent *  event,
u8  Hours,
u8  Minutes,
u8  Seconds,
u8  HundredSeconds 
)
u8 OCI_IsOCIDesc ( GF_Descriptor oci_desc)

+ Here is the caller graph for this function:

GF_Err gf_oci_event_add_desc ( OCIEvent *  event,
GF_Descriptor oci_desc 
)

+ Here is the call graph for this function:

GF_Err gf_oci_event_get_id ( OCIEvent *  event,
u16 ID 
)

+ Here is the caller graph for this function:

GF_Err gf_oci_event_get_start_time ( OCIEvent *  event,
u8 Hours,
u8 Minutes,
u8 Seconds,
u8 HundredSeconds,
u8 IsAbsoluteTime 
)

+ Here is the caller graph for this function:

GF_Err gf_oci_event_get_duration ( OCIEvent *  event,
u8 Hours,
u8 Minutes,
u8 Seconds,
u8 HundredSeconds 
)

+ Here is the caller graph for this function:

u32 gf_oci_event_get_desc_count ( OCIEvent *  event)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Descriptor* gf_oci_event_get_desc ( OCIEvent *  event,
u32  DescIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_oci_event_rem_desc ( OCIEvent *  event,
u32  DescIndex 
)

+ Here is the call graph for this function:

OCICodec* gf_oci_codec_new ( u8  IsEncoder,
u8  Version 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_oci_codec_del ( OCICodec *  codec)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_oci_codec_add_event ( OCICodec *  codec,
OCIEvent *  event 
)

+ Here is the call graph for this function:

GF_Err WriteSevenBitLength ( GF_BitStream *  bs,
u32  size 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_oci_codec_encode ( OCICodec *  codec,
char **  outAU,
u32 au_length 
)

+ Here is the call graph for this function:

GF_Err gf_oci_codec_decode ( OCICodec *  codec,
char *  au,
u32  au_length 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

OCIEvent* gf_oci_codec_get_event ( OCICodec *  codec)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: