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
xvid_dec.c File Reference
#include <gpac/modules/codec.h>
#include <gpac/avparse.h>
#include <gpac/constants.h>
#include <xvid.h>
+ Include dependency graph for xvid_dec.c:

Data Structures

struct  XVIDDec
 

Macros

#define XVID_DEC_FRAME   xvid_dec_frame_t
 
#define XVID_DEC_PARAM   xvid_dec_create_t
 
#define XVIDCTX()   XVIDDec *ctx = (XVIDDec *) ifcg->privateStack
 

Functions

static GF_Err XVID_AttachStream (GF_BaseDecoder *ifcg, GF_ESD *esd)
 
static GF_Err XVID_DetachStream (GF_BaseDecoder *ifcg, u16 ES_ID)
 
static GF_Err XVID_GetCapabilities (GF_BaseDecoder *ifcg, GF_CodecCapability *capability)
 
static GF_Err XVID_SetCapabilities (GF_BaseDecoder *ifcg, GF_CodecCapability capability)
 
static GF_Err XVID_ProcessData (GF_MediaDecoder *ifcg, char *inBuffer, u32 inBufferLength, u16 ES_ID, char *outBuffer, u32 *outBufferLength, u8 PaddingBits, u32 mmlevel)
 
static u32 XVID_CanHandleStream (GF_BaseDecoder *dec, u32 StreamType, GF_ESD *esd, u8 PL)
 
static const char * XVID_GetCodecName (GF_BaseDecoder *dec)
 
GF_BaseDecoderNewXVIDDec ()
 
void DeleteXVIDDec (GF_BaseDecoder *ifcg)
 
const u32QueryInterfaces ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *ifce)
 

Variables

static Bool xvid_is_init = GF_FALSE
 

Data Structure Documentation

struct XVIDDec
+ Collaboration diagram for XVIDDec:
Data Fields
void * base_codec
u16 base_ES_ID
u32 width
u32 height
u32 out_size
u32 pixel_ar
Bool first_frame
s32 base_filters
Float FPS
u32 offset
void * depth_codec
u16 depth_ES_ID
char * temp_uv
u32 yuv_size
void * codec
u16 ES_ID
u32 cb_size
u32 cb_trig

Macro Definition Documentation

#define XVID_DEC_FRAME   xvid_dec_frame_t
#define XVID_DEC_PARAM   xvid_dec_create_t
#define XVIDCTX ( )    XVIDDec *ctx = (XVIDDec *) ifcg->privateStack

Function Documentation

static GF_Err XVID_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 XVID_DetachStream ( GF_BaseDecoder ifcg,
u16  ES_ID 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err XVID_GetCapabilities ( GF_BaseDecoder ifcg,
GF_CodecCapability capability 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err XVID_SetCapabilities ( GF_BaseDecoder ifcg,
GF_CodecCapability  capability 
)
static

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u32 XVID_CanHandleStream ( GF_BaseDecoder dec,
u32  StreamType,
GF_ESD esd,
u8  PL 
)
static

+ Here is the caller graph for this function:

static const char* XVID_GetCodecName ( GF_BaseDecoder dec)
static

+ Here is the caller graph for this function:

GF_BaseDecoder* NewXVIDDec ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DeleteXVIDDec ( GF_BaseDecoder ifcg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const u32* QueryInterfaces ( )
GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface ifce)

+ Here is the call graph for this function:

Variable Documentation

Bool xvid_is_init = GF_FALSE
static