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]
Macros | Functions
pngrutil.c File Reference
#include "png.h"

Go to the source code of this file.

Macros

#define PNG_INTERNAL
 
#define PNG_NO_PEDANTIC_WARNINGS
 
#define png_strtod(p, a, b)   strtod(a,b)
 
#define isnonalpha(c)   ((c) < 65 || (c) > 122 || ((c) > 90 && (c) < 97))
 

Functions

png_uint_32 PNGAPI png_get_uint_31 (png_structp png_ptr, png_bytep buf)
 
png_uint_32 PNGAPI png_get_uint_32 (png_bytep buf)
 
png_int_32 PNGAPI png_get_int_32 (png_bytep buf)
 
png_uint_16 PNGAPI png_get_uint_16 (png_bytep buf)
 
png_uint_32 png_read_chunk_header (png_structp png_ptr)
 
void png_crc_read (png_structp png_ptr, png_bytep buf, png_size_t length)
 
int png_crc_finish (png_structp png_ptr, png_uint_32 skip)
 
int png_crc_error (png_structp png_ptr)
 
void png_decompress_chunk (png_structp png_ptr, int comp_type, png_size_t chunklength, png_size_t prefix_size, png_size_t *newlength)
 
void png_handle_IHDR (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_PLTE (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_IEND (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_gAMA (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_sBIT (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_cHRM (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_sRGB (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_iCCP (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_sPLT (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_tRNS (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_bKGD (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_hIST (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_pHYs (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_oFFs (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_pCAL (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_sCAL (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_tIME (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_tEXt (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_zTXt (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_handle_unknown (png_structp png_ptr, png_infop info_ptr, png_uint_32 length)
 
void png_check_chunk_name (png_structp png_ptr, png_bytep chunk_name)
 
void png_combine_row (png_structp png_ptr, png_bytep row, int mask)
 
void png_do_read_interlace (png_structp png_ptr)
 
void png_read_filter_row (png_structp png_ptr, png_row_infop row_info, png_bytep row, png_bytep prev_row, int filter)
 
void png_read_finish_row (png_structp png_ptr)
 
void png_read_start_row (png_structp png_ptr)
 

Macro Definition Documentation

◆ isnonalpha

#define isnonalpha (   c)    ((c) < 65 || (c) > 122 || ((c) > 90 && (c) < 97))

Definition at line 2496 of file pngrutil.c.

◆ PNG_INTERNAL

#define PNG_INTERNAL

Definition at line 17 of file pngrutil.c.

◆ PNG_NO_PEDANTIC_WARNINGS

#define PNG_NO_PEDANTIC_WARNINGS

Definition at line 18 of file pngrutil.c.

◆ png_strtod

#define png_strtod (   p,
  a,
  b 
)    strtod(a,b)

Definition at line 49 of file pngrutil.c.

Function Documentation

◆ png_check_chunk_name()

void png_check_chunk_name ( png_structp  png_ptr,
png_bytep  chunk_name 
)

Definition at line 2499 of file pngrutil.c.

◆ png_combine_row()

void png_combine_row ( png_structp  png_ptr,
png_bytep  row,
int  mask 
)

Definition at line 2521 of file pngrutil.c.

◆ png_crc_error()

int png_crc_error ( png_structp  png_ptr)

Definition at line 190 of file pngrutil.c.

◆ png_crc_finish()

int png_crc_finish ( png_structp  png_ptr,
png_uint_32  skip 
)

Definition at line 153 of file pngrutil.c.

◆ png_crc_read()

void png_crc_read ( png_structp  png_ptr,
png_bytep  buf,
png_size_t  length 
)

Definition at line 139 of file pngrutil.c.

◆ png_decompress_chunk()

void png_decompress_chunk ( png_structp  png_ptr,
int  comp_type,
png_size_t  chunklength,
png_size_t  prefix_size,
png_size_t newlength 
)

Definition at line 323 of file pngrutil.c.

◆ png_do_read_interlace()

void png_do_read_interlace ( png_structp  png_ptr)

Definition at line 2727 of file pngrutil.c.

◆ png_get_int_32()

png_int_32 PNGAPI png_get_int_32 ( png_bytep  buf)

Definition at line 87 of file pngrutil.c.

References i, and PNGAPI.

◆ png_get_uint_16()

png_uint_16 PNGAPI png_get_uint_16 ( png_bytep  buf)

Definition at line 99 of file pngrutil.c.

References i.

◆ png_get_uint_31()

png_uint_32 PNGAPI png_get_uint_31 ( png_structp  png_ptr,
png_bytep  buf 
)

Definition at line 54 of file pngrutil.c.

◆ png_get_uint_32()

png_uint_32 PNGAPI png_get_uint_32 ( png_bytep  buf)

Definition at line 72 of file pngrutil.c.

References i, and PNGAPI.

◆ png_handle_bKGD()

void png_handle_bKGD ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1434 of file pngrutil.c.

◆ png_handle_cHRM()

void png_handle_cHRM ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 831 of file pngrutil.c.

◆ png_handle_gAMA()

void png_handle_gAMA ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 684 of file pngrutil.c.

◆ png_handle_hIST()

void png_handle_hIST ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1523 of file pngrutil.c.

◆ png_handle_iCCP()

void png_handle_iCCP ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1055 of file pngrutil.c.

◆ png_handle_IEND()

void png_handle_IEND ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 662 of file pngrutil.c.

◆ png_handle_IHDR()

void png_handle_IHDR ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 432 of file pngrutil.c.

◆ png_handle_oFFs()

void png_handle_oFFs ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1621 of file pngrutil.c.

◆ png_handle_pCAL()

void png_handle_pCAL ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1665 of file pngrutil.c.

◆ png_handle_pHYs()

void png_handle_pHYs ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1578 of file pngrutil.c.

◆ png_handle_PLTE()

void png_handle_PLTE ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 506 of file pngrutil.c.

◆ png_handle_sBIT()

void png_handle_sBIT ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 765 of file pngrutil.c.

◆ png_handle_sCAL()

void png_handle_sCAL ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1799 of file pngrutil.c.

◆ png_handle_sPLT()

void png_handle_sPLT ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1175 of file pngrutil.c.

◆ png_handle_sRGB()

void png_handle_sRGB ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 957 of file pngrutil.c.

◆ png_handle_tEXt()

void png_handle_tEXt ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 2007 of file pngrutil.c.

◆ png_handle_tIME()

void png_handle_tIME ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1963 of file pngrutil.c.

◆ png_handle_tRNS()

void png_handle_tRNS ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 1339 of file pngrutil.c.

◆ png_handle_unknown()

void png_handle_unknown ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 2379 of file pngrutil.c.

◆ png_handle_zTXt()

void png_handle_zTXt ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  length 
)

Definition at line 2110 of file pngrutil.c.

◆ png_read_chunk_header()

png_uint_32 png_read_chunk_header ( png_structp  png_ptr)

Definition at line 112 of file pngrutil.c.

◆ png_read_filter_row()

void png_read_filter_row ( png_structp  png_ptr,
png_row_infop  row_info,
png_bytep  row,
png_bytep  prev_row,
int  filter 
)

Definition at line 2950 of file pngrutil.c.

◆ png_read_finish_row()

void png_read_finish_row ( png_structp  png_ptr)

Definition at line 3074 of file pngrutil.c.

◆ png_read_start_row()

void png_read_start_row ( png_structp  png_ptr)

Definition at line 3204 of file pngrutil.c.