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
epoc_codec.cpp File Reference
#include <gpac/modules/codec.h>
#include <gpac/constants.h>
#include <gpac/avparse.h>
#include <mmf/server/mmfcodec.h>
#include <mmf/plugin/mmfcodecimplementationuids.hrh>
+ Include dependency graph for epoc_codec.cpp:

Data Structures

struct  EPOCCodec
 

Macros

#define KMMFFourCCCodeEAACP   0x43414520
 

Enumerations

enum  {
  GF_EPOC_HAS_AMR = 1, GF_EPOC_HAS_AMR_WB = 1<<1, GF_EPOC_HAS_AAC = 1<<2, GF_EPOC_HAS_HEAAC = 1<<3,
  GF_EPOC_HAS_MP3 = 1<<4
}
 

Functions

static void EDEC_LoadCaps (GF_BaseDecoder *ifcg)
 
static GF_Err EDEC_AttachStream (GF_BaseDecoder *ifcg, GF_ESD *esd)
 
static GF_Err EDEC_DetachStream (GF_BaseDecoder *ifcg, u16 ES_ID)
 
static GF_Err EDEC_GetCapabilities (GF_BaseDecoder *ifcg, GF_CodecCapability *capability)
 
static GF_Err EDEC_SetCapabilities (GF_BaseDecoder *ifcg, GF_CodecCapability capability)
 
static GF_Err EDEC_ProcessData (GF_MediaDecoder *ifcg, char *inBuffer, u32 inBufferLength, u16 ES_ID, char *outBuffer, u32 *outBufferLength, u8 PaddingBits, u32 mmlevel)
 
static const char * EDEC_GetCodecName (GF_BaseDecoder *ifcg)
 
static u32 EDEC_CanHandleStream (GF_BaseDecoder *ifcg, u32 StreamType, GF_ESD *esd, u8 PL)
 
GF_BaseDecoderEPOC_codec_new ()
 
void EPOC_codec_del (GF_BaseDecoder *ifcg)
 

Data Structure Documentation

struct EPOCCodec
+ Collaboration diagram for EPOCCodec:
Data Fields
u32 caps
Bool is_audio
u32 sample_rate
u32 out_size
u32 num_samples
u8 num_channels
const char * codec_name
CMMFCodec * dec
CMMFPtrBuffer * mmf_in
CMMFPtrBuffer * mmf_out
TPtr8 ptr_in
TPtr8 ptr_out

Macro Definition Documentation

#define KMMFFourCCCodeEAACP   0x43414520

Enumeration Type Documentation

anonymous enum
Enumerator
GF_EPOC_HAS_AMR 
GF_EPOC_HAS_AMR_WB 
GF_EPOC_HAS_AAC 
GF_EPOC_HAS_HEAAC 
GF_EPOC_HAS_MP3 

Function Documentation

static void EDEC_LoadCaps ( GF_BaseDecoder ifcg)
static

+ Here is the caller graph for this function:

static GF_Err EDEC_AttachStream ( GF_BaseDecoder ifcg,
GF_ESD esd 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err EDEC_DetachStream ( GF_BaseDecoder ifcg,
u16  ES_ID 
)
static

+ Here is the caller graph for this function:

static GF_Err EDEC_GetCapabilities ( GF_BaseDecoder ifcg,
GF_CodecCapability capability 
)
static

+ Here is the caller graph for this function:

static GF_Err EDEC_SetCapabilities ( GF_BaseDecoder ifcg,
GF_CodecCapability  capability 
)
static

+ Here is the caller graph for this function:

static GF_Err EDEC_ProcessData ( GF_MediaDecoder ifcg,
char *  inBuffer,
u32  inBufferLength,
u16  ES_ID,
char *  outBuffer,
u32 outBufferLength,
u8  PaddingBits,
u32  mmlevel 
)
static

+ Here is the caller graph for this function:

static const char* EDEC_GetCodecName ( GF_BaseDecoder ifcg)
static

+ Here is the caller graph for this function:

static u32 EDEC_CanHandleStream ( GF_BaseDecoder ifcg,
u32  StreamType,
GF_ESD esd,
u8  PL 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_BaseDecoder* EPOC_codec_new ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EPOC_codec_del ( GF_BaseDecoder ifcg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: