readpng.h File Reference

Go to the source code of this file.

Defines

#define TRUE   1
#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

Functions

void readpng_version_info (void)
int readpng_init (FILE *infile, ulg *pWidth, ulg *pHeight)
int readpng_get_bgcolor (uch *bg_red, uch *bg_green, uch *bg_blue)
uchreadpng_get_image (double display_exponent, int *pChannels, ulg *pRowbytes)
void readpng_cleanup (int free_image_data)


Define Documentation

#define FALSE   0
 

Definition at line 34 of file readpng.h.

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

Definition at line 38 of file readpng.h.

Referenced by affine_run(), Mem2d::AutoHistogrammEvalMode(), Mem2d::CalcLinRegress(), ProfileControl::draw_elem(), remote_crtl::FindFktExec(), Mem2d::GetZHistogrammEvents(), Mem2d::GetZiHistogrammEvents(), gtk_spin_button_sci_real_spin(), gtk_spin_button_sci_size_request(), Mem2d::HiLoMod(), ViewInfo::makeXYinfo(), ViewInfo::makeXYZinfo(), MkMausSelect(), plane_max_prop_run(), spin_button_sci_get_arrow_size(), and App::spm_range_check().

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

Definition at line 39 of file readpng.h.

Referenced by affine_run(), Mem2d::AutoHistogrammEvalMode(), ProfileControl::draw_elem(), innovative_dsp_hwi_dev::get_DSP_softinfo(), Mem2d::GetDataPktInterpol(), Mem2d::GetZHistogrammEvents(), Mem2d::GetZiHistogrammEvents(), gtk_spin_button_sci_real_spin(), gtk_spin_button_sci_size_allocate(), gtk_spin_button_sci_size_request(), Mem2d::HiLoMod(), labeling(), SCAN_DATA::LoadValues(), ViewInfo::makeXYinfo(), ViewInfo::makeXYZinfo(), MkMausSelect(), ShmImage2D::MkPalette(), plane_max_prop_run(), ViewControl::Resize(), and ViewControl::ViewControl().

#define Trace  )     ;
 

Definition at line 45 of file readpng.h.

Referenced by readpng_get_image().

#define TRUE   1
 

Definition at line 33 of file readpng.h.


Typedef Documentation

typedef unsigned char uch
 

Definition at line 48 of file readpng.h.

typedef unsigned long ulg
 

Definition at line 50 of file readpng.h.

typedef unsigned short ush
 

Definition at line 49 of file readpng.h.


Function Documentation

void readpng_cleanup int  free_image_data  ) 
 

Definition at line 264 of file readpng.C.

References image_data, info_ptr, and png_ptr.

int readpng_get_bgcolor uch bg_red,
uch bg_green,
uch bg_blue
 

Definition at line 126 of file readpng.C.

References bit_depth, color_type, info_ptr, png_jmpbuf, and png_ptr.

uch* readpng_get_image double  display_exponent,
int *  pChannels,
ulg pRowbytes
 

Definition at line 178 of file readpng.C.

References bit_depth, color_type, height, image_data, info_ptr, png_jmpbuf, png_ptr, and Trace.

Referenced by PNG_ImExportFile::import_data().

int readpng_init FILE *  infile,
ulg pWidth,
ulg pHeight
 

Definition at line 59 of file readpng.C.

References bit_depth, color_type, height, info_ptr, png_jmpbuf, png_ptr, and width.

Referenced by PNG_ImExportFile::import_data().

void readpng_version_info void   ) 
 


Generated on Sat Apr 1 09:04:51 2006 for GXSM by  doxygen 1.4.6