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
pngget.c File Reference
#include "png.h"

Go to the source code of this file.

Macros

#define PNG_INTERNAL
 
#define PNG_NO_PEDANTIC_WARNINGS
 

Functions

png_uint_32 PNGAPI png_get_valid (png_structp png_ptr, png_infop info_ptr, png_uint_32 flag)
 
png_uint_32 PNGAPI png_get_rowbytes (png_structp png_ptr, png_infop info_ptr)
 
png_bytepp PNGAPI png_get_rows (png_structp png_ptr, png_infop info_ptr)
 
png_uint_32 PNGAPI png_get_image_width (png_structp png_ptr, png_infop info_ptr)
 
png_uint_32 PNGAPI png_get_image_height (png_structp png_ptr, png_infop info_ptr)
 
png_byte PNGAPI png_get_bit_depth (png_structp png_ptr, png_infop info_ptr)
 
png_byte PNGAPI png_get_color_type (png_structp png_ptr, png_infop info_ptr)
 
png_byte PNGAPI png_get_filter_type (png_structp png_ptr, png_infop info_ptr)
 
png_byte PNGAPI png_get_interlace_type (png_structp png_ptr, png_infop info_ptr)
 
png_byte PNGAPI png_get_compression_type (png_structp png_ptr, png_infop info_ptr)
 
png_uint_32 PNGAPI png_get_x_pixels_per_meter (png_structp png_ptr, png_infop info_ptr)
 
png_uint_32 PNGAPI png_get_y_pixels_per_meter (png_structp png_ptr, png_infop info_ptr)
 
png_uint_32 PNGAPI png_get_pixels_per_meter (png_structp png_ptr, png_infop info_ptr)
 
float PNGAPI png_get_pixel_aspect_ratio (png_structp png_ptr, png_infop info_ptr)
 
png_int_32 PNGAPI png_get_x_offset_microns (png_structp png_ptr, png_infop info_ptr)
 
png_int_32 PNGAPI png_get_y_offset_microns (png_structp png_ptr, png_infop info_ptr)
 
png_int_32 PNGAPI png_get_x_offset_pixels (png_structp png_ptr, png_infop info_ptr)
 
png_int_32 PNGAPI png_get_y_offset_pixels (png_structp png_ptr, png_infop info_ptr)
 
png_byte PNGAPI png_get_channels (png_structp png_ptr, png_infop info_ptr)
 
png_bytep PNGAPI png_get_signature (png_structp png_ptr, png_infop info_ptr)
 
png_uint_32 PNGAPI png_get_bKGD (png_structp png_ptr, png_infop info_ptr, png_color_16p *background)
 
png_uint_32 PNGAPI png_get_cHRM (png_structp png_ptr, png_infop info_ptr, double *white_x, double *white_y, double *red_x, double *red_y, double *green_x, double *green_y, double *blue_x, double *blue_y)
 
png_uint_32 PNGAPI png_get_cHRM_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point *white_x, png_fixed_point *white_y, png_fixed_point *red_x, png_fixed_point *red_y, png_fixed_point *green_x, png_fixed_point *green_y, png_fixed_point *blue_x, png_fixed_point *blue_y)
 
png_uint_32 PNGAPI png_get_gAMA (png_structp png_ptr, png_infop info_ptr, double *file_gamma)
 
png_uint_32 PNGAPI png_get_gAMA_fixed (png_structp png_ptr, png_infop info_ptr, png_fixed_point *int_file_gamma)
 
png_uint_32 PNGAPI png_get_sRGB (png_structp png_ptr, png_infop info_ptr, int *file_srgb_intent)
 
png_uint_32 PNGAPI png_get_iCCP (png_structp png_ptr, png_infop info_ptr, png_charpp name, int *compression_type, png_charpp profile, png_uint_32 *proflen)
 
png_uint_32 PNGAPI png_get_sPLT (png_structp png_ptr, png_infop info_ptr, png_sPLT_tpp spalettes)
 
png_uint_32 PNGAPI png_get_hIST (png_structp png_ptr, png_infop info_ptr, png_uint_16p *hist)
 
png_uint_32 PNGAPI png_get_IHDR (png_structp png_ptr, png_infop info_ptr, png_uint_32 *width, png_uint_32 *height, int *bit_depth, int *color_type, int *interlace_type, int *compression_type, int *filter_type)
 
png_uint_32 PNGAPI png_get_oFFs (png_structp png_ptr, png_infop info_ptr, png_int_32 *offset_x, png_int_32 *offset_y, int *unit_type)
 
png_uint_32 PNGAPI png_get_pCAL (png_structp png_ptr, png_infop info_ptr, png_charp *purpose, png_int_32 *X0, png_int_32 *X1, int *type, int *nparams, png_charp *units, png_charpp *params)
 
png_uint_32 PNGAPI png_get_sCAL (png_structp png_ptr, png_infop info_ptr, int *unit, double *width, double *height)
 
png_uint_32 PNGAPI png_get_pHYs (png_structp png_ptr, png_infop info_ptr, png_uint_32 *res_x, png_uint_32 *res_y, int *unit_type)
 
png_uint_32 PNGAPI png_get_PLTE (png_structp png_ptr, png_infop info_ptr, png_colorp *palette, int *num_palette)
 
png_uint_32 PNGAPI png_get_sBIT (png_structp png_ptr, png_infop info_ptr, png_color_8p *sig_bit)
 
png_uint_32 PNGAPI png_get_text (png_structp png_ptr, png_infop info_ptr, png_textp *text_ptr, int *num_text)
 
png_uint_32 PNGAPI png_get_tIME (png_structp png_ptr, png_infop info_ptr, png_timep *mod_time)
 
png_uint_32 PNGAPI png_get_tRNS (png_structp png_ptr, png_infop info_ptr, png_bytep *trans, int *num_trans, png_color_16p *trans_values)
 
png_uint_32 PNGAPI png_get_unknown_chunks (png_structp png_ptr, png_infop info_ptr, png_unknown_chunkpp unknowns)
 
png_byte PNGAPI png_get_rgb_to_gray_status (png_structp png_ptr)
 
png_voidp PNGAPI png_get_user_chunk_ptr (png_structp png_ptr)
 
png_uint_32 PNGAPI png_get_compression_buffer_size (png_structp png_ptr)
 
png_uint_32 PNGAPI png_get_asm_flags (png_structp png_ptr)
 
png_uint_32 PNGAPI png_get_asm_flagmask (int flag_select)
 
png_uint_32 PNGAPI png_get_mmx_flagmask (int flag_select, int *compilerID)
 
png_byte PNGAPI png_get_mmx_bitdepth_threshold (png_structp png_ptr)
 
png_uint_32 PNGAPI png_get_mmx_rowbytes_threshold (png_structp png_ptr)
 
png_uint_32 PNGAPI png_get_user_width_max (png_structp png_ptr)
 
png_uint_32 PNGAPI png_get_user_height_max (png_structp png_ptr)
 

Macro Definition Documentation

◆ PNG_INTERNAL

#define PNG_INTERNAL

Definition at line 15 of file pngget.c.

◆ PNG_NO_PEDANTIC_WARNINGS

#define PNG_NO_PEDANTIC_WARNINGS

Definition at line 16 of file pngget.c.

Function Documentation

◆ png_get_asm_flagmask()

png_uint_32 PNGAPI png_get_asm_flagmask ( int  flag_select)

Definition at line 894 of file pngget.c.

References PNG_UNUSED, and PNGAPI.

◆ png_get_asm_flags()

png_uint_32 PNGAPI png_get_asm_flags ( png_structp  png_ptr)

Definition at line 885 of file pngget.c.

◆ png_get_bit_depth()

png_byte PNGAPI png_get_bit_depth ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 73 of file pngget.c.

◆ png_get_bKGD()

png_uint_32 PNGAPI png_get_bKGD ( png_structp  png_ptr,
png_infop  info_ptr,
png_color_16p background 
)

Definition at line 391 of file pngget.c.

◆ png_get_channels()

png_byte PNGAPI png_get_channels ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 372 of file pngget.c.

◆ png_get_cHRM()

png_uint_32 PNGAPI png_get_cHRM ( png_structp  png_ptr,
png_infop  info_ptr,
double *  white_x,
double *  white_y,
double *  red_x,
double *  red_y,
double *  green_x,
double *  green_y,
double *  blue_x,
double *  blue_y 
)

Definition at line 409 of file pngget.c.

◆ png_get_cHRM_fixed()

png_uint_32 PNGAPI png_get_cHRM_fixed ( png_structp  png_ptr,
png_infop  info_ptr,
png_fixed_point white_x,
png_fixed_point white_y,
png_fixed_point red_x,
png_fixed_point red_y,
png_fixed_point green_x,
png_fixed_point green_y,
png_fixed_point blue_x,
png_fixed_point blue_y 
)

Definition at line 440 of file pngget.c.

◆ png_get_color_type()

png_byte PNGAPI png_get_color_type ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 82 of file pngget.c.

◆ png_get_compression_buffer_size()

png_uint_32 PNGAPI png_get_compression_buffer_size ( png_structp  png_ptr)

Definition at line 876 of file pngget.c.

◆ png_get_compression_type()

png_byte PNGAPI png_get_compression_type ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 109 of file pngget.c.

◆ png_get_filter_type()

png_byte PNGAPI png_get_filter_type ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 91 of file pngget.c.

◆ png_get_gAMA()

png_uint_32 PNGAPI png_get_gAMA ( png_structp  png_ptr,
png_infop  info_ptr,
double *  file_gamma 
)

Definition at line 475 of file pngget.c.

◆ png_get_gAMA_fixed()

png_uint_32 PNGAPI png_get_gAMA_fixed ( png_structp  png_ptr,
png_infop  info_ptr,
png_fixed_point int_file_gamma 
)

Definition at line 490 of file pngget.c.

◆ png_get_hIST()

png_uint_32 PNGAPI png_get_hIST ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_16p hist 
)

Definition at line 562 of file pngget.c.

◆ png_get_iCCP()

png_uint_32 PNGAPI png_get_iCCP ( png_structp  png_ptr,
png_infop  info_ptr,
png_charpp  name,
int compression_type,
png_charpp  profile,
png_uint_32 proflen 
)

Definition at line 524 of file pngget.c.

◆ png_get_IHDR()

png_uint_32 PNGAPI png_get_IHDR ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32 width,
png_uint_32 height,
int bit_depth,
int color_type,
int interlace_type,
int compression_type,
int filter_type 
)

Definition at line 577 of file pngget.c.

◆ png_get_image_height()

png_uint_32 PNGAPI png_get_image_height ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 64 of file pngget.c.

◆ png_get_image_width()

png_uint_32 PNGAPI png_get_image_width ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 55 of file pngget.c.

◆ png_get_interlace_type()

png_byte PNGAPI png_get_interlace_type ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 100 of file pngget.c.

◆ png_get_mmx_bitdepth_threshold()

png_byte PNGAPI png_get_mmx_bitdepth_threshold ( png_structp  png_ptr)

Definition at line 914 of file pngget.c.

◆ png_get_mmx_flagmask()

png_uint_32 PNGAPI png_get_mmx_flagmask ( int  flag_select,
int compilerID 
)

Definition at line 904 of file pngget.c.

References PNG_UNUSED, and PNGAPI.

Referenced by readpng2_version_info().

◆ png_get_mmx_rowbytes_threshold()

png_uint_32 PNGAPI png_get_mmx_rowbytes_threshold ( png_structp  png_ptr)

Definition at line 923 of file pngget.c.

◆ png_get_oFFs()

png_uint_32 PNGAPI png_get_oFFs ( png_structp  png_ptr,
png_infop  info_ptr,
png_int_32 offset_x,
png_int_32 offset_y,
int unit_type 
)

Definition at line 617 of file pngget.c.

◆ png_get_pCAL()

png_uint_32 PNGAPI png_get_pCAL ( png_structp  png_ptr,
png_infop  info_ptr,
png_charp purpose,
png_int_32 X0,
png_int_32 X1,
int type,
int nparams,
png_charp units,
png_charpp params 
)

Definition at line 636 of file pngget.c.

◆ png_get_pHYs()

png_uint_32 PNGAPI png_get_pHYs ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32 res_x,
png_uint_32 res_y,
int unit_type 
)

Definition at line 697 of file pngget.c.

◆ png_get_pixel_aspect_ratio()

float PNGAPI png_get_pixel_aspect_ratio ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 183 of file pngget.c.

◆ png_get_pixels_per_meter()

png_uint_32 PNGAPI png_get_pixels_per_meter ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 160 of file pngget.c.

◆ png_get_PLTE()

png_uint_32 PNGAPI png_get_PLTE ( png_structp  png_ptr,
png_infop  info_ptr,
png_colorp palette,
int num_palette 
)

Definition at line 730 of file pngget.c.

◆ png_get_rgb_to_gray_status()

png_byte PNGAPI png_get_rgb_to_gray_status ( png_structp  png_ptr)

Definition at line 861 of file pngget.c.

◆ png_get_rowbytes()

png_uint_32 PNGAPI png_get_rowbytes ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 31 of file pngget.c.

◆ png_get_rows()

png_bytepp PNGAPI png_get_rows ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 42 of file pngget.c.

◆ png_get_sBIT()

png_uint_32 PNGAPI png_get_sBIT ( png_structp  png_ptr,
png_infop  info_ptr,
png_color_8p sig_bit 
)

Definition at line 748 of file pngget.c.

◆ png_get_sCAL()

png_uint_32 PNGAPI png_get_sCAL ( png_structp  png_ptr,
png_infop  info_ptr,
int unit,
double *  width,
double *  height 
)

Definition at line 662 of file pngget.c.

◆ png_get_signature()

png_bytep PNGAPI png_get_signature ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 381 of file pngget.c.

◆ png_get_sPLT()

png_uint_32 PNGAPI png_get_sPLT ( png_structp  png_ptr,
png_infop  info_ptr,
png_sPLT_tpp  spalettes 
)

Definition at line 548 of file pngget.c.

◆ png_get_sRGB()

png_uint_32 PNGAPI png_get_sRGB ( png_structp  png_ptr,
png_infop  info_ptr,
int file_srgb_intent 
)

Definition at line 508 of file pngget.c.

◆ png_get_text()

png_uint_32 PNGAPI png_get_text ( png_structp  png_ptr,
png_infop  info_ptr,
png_textp text_ptr,
int num_text 
)

Definition at line 764 of file pngget.c.

◆ png_get_tIME()

png_uint_32 PNGAPI png_get_tIME ( png_structp  png_ptr,
png_infop  info_ptr,
png_timep mod_time 
)

Definition at line 789 of file pngget.c.

◆ png_get_tRNS()

png_uint_32 PNGAPI png_get_tRNS ( png_structp  png_ptr,
png_infop  info_ptr,
png_bytep trans,
int num_trans,
png_color_16p trans_values 
)

Definition at line 805 of file pngget.c.

◆ png_get_unknown_chunks()

png_uint_32 PNGAPI png_get_unknown_chunks ( png_structp  png_ptr,
png_infop  info_ptr,
png_unknown_chunkpp  unknowns 
)

Definition at line 847 of file pngget.c.

◆ png_get_user_chunk_ptr()

png_voidp PNGAPI png_get_user_chunk_ptr ( png_structp  png_ptr)

Definition at line 869 of file pngget.c.

◆ png_get_user_height_max()

png_uint_32 PNGAPI png_get_user_height_max ( png_structp  png_ptr)

Definition at line 941 of file pngget.c.

◆ png_get_user_width_max()

png_uint_32 PNGAPI png_get_user_width_max ( png_structp  png_ptr)

Definition at line 936 of file pngget.c.

◆ png_get_valid()

png_uint_32 PNGAPI png_get_valid ( png_structp  png_ptr,
png_infop  info_ptr,
png_uint_32  flag 
)

Definition at line 21 of file pngget.c.

◆ png_get_x_offset_microns()

png_int_32 PNGAPI png_get_x_offset_microns ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 207 of file pngget.c.

◆ png_get_x_offset_pixels()

png_int_32 PNGAPI png_get_x_offset_pixels ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 251 of file pngget.c.

◆ png_get_x_pixels_per_meter()

png_uint_32 PNGAPI png_get_x_pixels_per_meter ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 118 of file pngget.c.

◆ png_get_y_offset_microns()

png_int_32 PNGAPI png_get_y_offset_microns ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 229 of file pngget.c.

◆ png_get_y_offset_pixels()

png_int_32 PNGAPI png_get_y_offset_pixels ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 273 of file pngget.c.

◆ png_get_y_pixels_per_meter()

png_uint_32 PNGAPI png_get_y_pixels_per_meter ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 139 of file pngget.c.