Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Macros | Typedefs | Enumerations | Functions
readpng2.h File Reference

Go to the source code of this file.

Classes

struct  _mainprog_info
 

Macros

#define FALSE   0
 
#define MAX(a, b)   ((a) > (b)? (a) : (b))
 
#define MIN(a, b)   ((a) < (b)? (a) : (b))
 
#define Trace(x)   ;
 

Typedefs

typedef unsigned char uch
 
typedef unsigned short ush
 
typedef unsigned long ulg
 
typedef struct _mainprog_info mainprog_info
 

Enumerations

enum  rpng2_states { kPreInit = 0, kWindowInit, kDone }
 

Functions

void readpng2_version_info (void)
 
int readpng2_check_sig (uch *sig, int num)
 
int readpng2_init (mainprog_info *mainprog_ptr)
 
int readpng2_decode_data (mainprog_info *mainprog_ptr, uch *rawbuf, ulg length)
 
void readpng2_cleanup (mainprog_info *mainprog_ptr)
 

Macro Definition Documentation

◆ FALSE

#define FALSE   0

Definition at line 58 of file readpng2.h.

◆ MAX

#define MAX (   a,
  b 
)    ((a) > (b)? (a) : (b))

Definition at line 62 of file readpng2.h.

◆ MIN

#define MIN (   a,
  b 
)    ((a) < (b)? (a) : (b))

Definition at line 63 of file readpng2.h.

◆ Trace

#define Trace (   x)    ;

Definition at line 69 of file readpng2.h.

Typedef Documentation

◆ mainprog_info

typedef struct _mainprog_info mainprog_info

◆ uch

typedef unsigned char uch

Definition at line 78 of file readpng2.h.

◆ ulg

typedef unsigned long ulg

Definition at line 80 of file readpng2.h.

◆ ush

typedef unsigned short ush

Definition at line 79 of file readpng2.h.

Enumeration Type Documentation

◆ rpng2_states

Enumerator
kPreInit 
kWindowInit 
kDone 

Definition at line 72 of file readpng2.h.

Function Documentation

◆ readpng2_check_sig()

int readpng2_check_sig ( uch sig,
int  num 
)

Definition at line 160 of file readpng2.c.

References png_sig_cmp().

◆ readpng2_cleanup()

void readpng2_cleanup ( mainprog_info mainprog_ptr)

Definition at line 607 of file readpng2.c.

◆ readpng2_decode_data()

int readpng2_decode_data ( mainprog_info mainprog_ptr,
uch rawbuf,
ulg  length 
)

Definition at line 351 of file readpng2.c.

◆ readpng2_init()

int readpng2_init ( mainprog_info mainprog_ptr)

Definition at line 170 of file readpng2.c.

◆ readpng2_version_info()

void readpng2_version_info ( void  )