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
media_memory.h File Reference
#include <gpac/thread.h>
+ Include dependency graph for media_memory.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  GF_DBUnit
 
struct  GF_CMUnit
 
struct  GF_CompositionMemory
 

Enumerations

enum  { GF_DB_AU_RAP = 1, GF_DB_AU_CTS_IN_PAST = 1<<1, GF_DB_AU_NO_TIMESTAMPS = 1<<2 }
 
enum  {
  CB_STOP = 0, CB_PLAY, CB_PAUSE, CB_BUFFER,
  CB_BUFFER_DONE
}
 

Functions

GF_DBUnitgf_db_unit_new ()
 
void gf_db_unit_del (GF_DBUnit *db)
 
GF_CompositionMemory * gf_cm_new (u32 UnitSize, u32 capacity, Bool no_allocation)
 
void gf_cm_del (GF_CompositionMemory *cb)
 
void gf_cm_reinit (GF_CompositionMemory *cb, u32 UnitSize, u32 Capacity)
 
GF_CMUnitgf_cm_lock_input (GF_CompositionMemory *cb, u32 TS, Bool codec_reordering)
 
void gf_cm_unlock_input (GF_CompositionMemory *cb, GF_CMUnit *cu, u32 cu_size, Bool codec_reordering)
 
void gf_cm_rewind_input (GF_CompositionMemory *cb)
 
GF_CMUnitgf_cm_get_output (GF_CompositionMemory *cb)
 
void gf_cm_drop_output (GF_CompositionMemory *cb)
 
void gf_cm_reset (GF_CompositionMemory *cb)
 
void gf_cm_resize (GF_CompositionMemory *cb, u32 newCapacity)
 
void gf_cm_set_status (GF_CompositionMemory *cb, u32 Status)
 
Bool gf_cm_is_running (GF_CompositionMemory *cb)
 
void gf_cm_set_eos (GF_CompositionMemory *cb)
 
Bool gf_cm_is_eos (GF_CompositionMemory *cb)
 
void gf_cm_abort_buffering (GF_CompositionMemory *cb)
 

Data Structure Documentation

struct GF_DBUnit
+ Collaboration diagram for GF_DBUnit:
Data Fields
struct _decoding_buffer * next
u32 DTS
u32 CTS
u8 flags
u8 PaddingBits
u32 dataLength
char * data
struct GF_CMUnit
+ Collaboration diagram for GF_CMUnit:
Data Fields
struct _composition_unit * next
struct _composition_unit * prev
u32 TS
u32 RenderedLength
u32 dataLength
char * data
struct _composition_memory
+ Collaboration diagram for GF_CompositionMemory:
Data Fields
GF_CMUnit * input
GF_CMUnit * output
u32 Capacity
u32 Min
u32 UnitSize
Bool no_allocation
u32 Status
u32 UnitCount
struct _od_manager * odm
Bool HasSeenEOS
u32 LastRenderedTS
u8 * pY
u8 * pU
u8 * pV

Enumeration Type Documentation

anonymous enum
Enumerator
GF_DB_AU_RAP 
GF_DB_AU_CTS_IN_PAST 
GF_DB_AU_NO_TIMESTAMPS 
anonymous enum
Enumerator
CB_STOP 
CB_PLAY 
CB_PAUSE 
CB_BUFFER 
CB_BUFFER_DONE 

Function Documentation

GF_DBUnit* gf_db_unit_new ( )

+ Here is the caller graph for this function:

void gf_db_unit_del ( GF_DBUnit db)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_CompositionMemory* gf_cm_new ( u32  UnitSize,
u32  capacity,
Bool  no_allocation 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_cm_del ( GF_CompositionMemory *  cb)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_cm_reinit ( GF_CompositionMemory *  cb,
u32  UnitSize,
u32  Capacity 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_CMUnit* gf_cm_lock_input ( GF_CompositionMemory *  cb,
u32  TS,
Bool  codec_reordering 
)

+ Here is the caller graph for this function:

void gf_cm_unlock_input ( GF_CompositionMemory *  cb,
GF_CMUnit cu,
u32  cu_size,
Bool  codec_reordering 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_cm_rewind_input ( GF_CompositionMemory *  cb)

+ Here is the caller graph for this function:

GF_CMUnit* gf_cm_get_output ( GF_CompositionMemory *  cb)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_cm_drop_output ( GF_CompositionMemory *  cb)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_cm_reset ( GF_CompositionMemory *  cb)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_cm_resize ( GF_CompositionMemory *  cb,
u32  newCapacity 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_cm_set_status ( GF_CompositionMemory *  cb,
u32  Status 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_cm_is_running ( GF_CompositionMemory *  cb)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_cm_set_eos ( GF_CompositionMemory *  cb)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_cm_is_eos ( GF_CompositionMemory *  cb)

+ Here is the caller graph for this function:

void gf_cm_abort_buffering ( GF_CompositionMemory *  cb)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: