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
ffmpeg_decode.c File Reference
#include "ffmpeg_in.h"
#include <gpac/avparse.h>
+ Include dependency graph for ffmpeg_decode.c:

Functions

static char * ffmpeg_realloc_buffer (char *oldBuffer, u32 size)
 
static AVCodec * ffmpeg_get_codec (u32 codec_4cc)
 
static void FFDEC_LoadDSI (FFDec *ffd, GF_BitStream *bs, AVCodec *codec, AVCodecContext *ctx, Bool from_ff_demux)
 
static GF_Err FFDEC_AttachStream (GF_BaseDecoder *plug, GF_ESD *esd)
 
static GF_Err FFDEC_DetachStream (GF_BaseDecoder *plug, u16 ES_ID)
 
static GF_Err FFDEC_GetCapabilities (GF_BaseDecoder *plug, GF_CodecCapability *capability)
 
static GF_Err FFDEC_SetCapabilities (GF_BaseDecoder *plug, GF_CodecCapability capability)
 
static GF_Err FFDEC_ProcessData (GF_MediaDecoder *plug, char *inBuffer, u32 inBufferLength, u16 ES_ID, char *outBuffer, u32 *outBufferLength, u8 PaddingBits, u32 mmlevel)
 
static GF_Err FFDEC_GetOutputBuffer (GF_MediaDecoder *ifcg, u16 ES_ID, u8 **pY_or_RGB, u8 **pU, u8 **pV)
 
static u32 FFDEC_CanHandleStream (GF_BaseDecoder *plug, u32 StreamType, GF_ESD *esd, u8 PL)
 
static const char * FFDEC_GetCodecName (GF_BaseDecoder *dec)
 
void * FFDEC_Load ()
 
void FFDEC_Delete (void *ifce)
 

Function Documentation

static char* ffmpeg_realloc_buffer ( char *  oldBuffer,
u32  size 
)
static

Allocates data for FFMPEG decoding

Parameters
oldBufferThe oldBuffer (freed if not NULL)
sizeSize to allocate (will use extra padding for real size)
Returns
The newly allocated buffer

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static AVCodec* ffmpeg_get_codec ( u32  codec_4cc)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void FFDEC_LoadDSI ( FFDec ffd,
GF_BitStream *  bs,
AVCodec *  codec,
AVCodecContext *  ctx,
Bool  from_ff_demux 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err FFDEC_AttachStream ( GF_BaseDecoder plug,
GF_ESD esd 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err FFDEC_DetachStream ( GF_BaseDecoder plug,
u16  ES_ID 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Err FFDEC_GetCapabilities ( GF_BaseDecoder plug,
GF_CodecCapability capability 
)
static

+ Here is the caller graph for this function:

static GF_Err FFDEC_SetCapabilities ( GF_BaseDecoder plug,
GF_CodecCapability  capability 
)
static

+ Here is the caller graph for this function:

static GF_Err FFDEC_ProcessData ( GF_MediaDecoder plug,
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 GF_Err FFDEC_GetOutputBuffer ( GF_MediaDecoder ifcg,
u16  ES_ID,
u8 **  pY_or_RGB,
u8 **  pU,
u8 **  pV 
)
static

+ Here is the caller graph for this function:

static u32 FFDEC_CanHandleStream ( GF_BaseDecoder plug,
u32  StreamType,
GF_ESD esd,
u8  PL 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static const char* FFDEC_GetCodecName ( GF_BaseDecoder dec)
static

+ Here is the caller graph for this function:

void* FFDEC_Load ( )

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FFDEC_Delete ( void *  ifce)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: