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

Data Structures

struct  PNGDec
 

Macros

#define PNGCTX()   PNGDec *ctx = (PNGDec *) ((IMGDec *)ifcg->privateStack)->opaque
 

Functions

static GF_Err PNG_AttachStream (GF_BaseDecoder *ifcg, GF_ESD *esd)
 
static GF_Err PNG_DetachStream (GF_BaseDecoder *ifcg, u16 ES_ID)
 
static GF_Err PNG_GetCapabilities (GF_BaseDecoder *ifcg, GF_CodecCapability *capability)
 
static GF_Err PNG_SetCapabilities (GF_BaseDecoder *ifcg, GF_CodecCapability capability)
 
static GF_Err PNG_ProcessData (GF_MediaDecoder *ifcg, char *inBuffer, u32 inBufferLength, u16 ES_ID, char *outBuffer, u32 *outBufferLength, u8 PaddingBits, u32 mmlevel)
 
static const char * PNG_GetCodecName (GF_BaseDecoder *dec)
 
Bool NewPNGDec (GF_BaseDecoder *ifcd)
 
void DeletePNGDec (GF_BaseDecoder *ifcg)
 

Data Structure Documentation

struct PNGDec
+ Collaboration diagram for PNGDec:
Data Fields
u16 ES_ID
u32 BPP
u32 width
u32 height
u32 out_size
u32 pixel_format
u32 aux_type

Macro Definition Documentation

#define PNGCTX ( )    PNGDec *ctx = (PNGDec *) ((IMGDec *)ifcg->privateStack)->opaque

Function Documentation

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

+ Here is the caller graph for this function:

static GF_Err PNG_GetCapabilities ( GF_BaseDecoder ifcg,
GF_CodecCapability capability 
)
static

+ Here is the caller graph for this function:

static GF_Err PNG_SetCapabilities ( GF_BaseDecoder ifcg,
GF_CodecCapability  capability 
)
static

+ Here is the caller graph for this function:

static GF_Err PNG_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 const char* PNG_GetCodecName ( GF_BaseDecoder dec)
static

+ Here is the caller graph for this function:

Bool NewPNGDec ( GF_BaseDecoder ifcd)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void DeletePNGDec ( GF_BaseDecoder ifcg)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: