apps/png/libpng/pngget.c File Reference

#include "png.h"

Include dependency graph for pngget.c:

Go to the source code of this file.

Defines

#define PNG_INTERNAL

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)


Define Documentation

#define PNG_INTERNAL

Definition at line 11 of file pngget.c.


Function Documentation

png_uint_32 PNGAPI png_get_asm_flagmask ( int  flag_select  ) 

Definition at line 841 of file pngget.c.

References PNG_ASM_FLAG_MMX_READ_COMBINE_ROW, PNG_ASM_FLAG_MMX_READ_FILTER_AVG, PNG_ASM_FLAG_MMX_READ_FILTER_PAETH, PNG_ASM_FLAG_MMX_READ_FILTER_SUB, PNG_ASM_FLAG_MMX_READ_FILTER_UP, PNG_ASM_FLAG_MMX_READ_INTERLACE, PNG_SELECT_READ, PNG_SELECT_WRITE, and png_uint_32.

png_uint_32 PNGAPI png_get_asm_flags ( png_structp  png_ptr  ) 

Definition at line 834 of file pngget.c.

References png_uint_32.

png_byte PNGAPI png_get_bit_depth ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 66 of file pngget.c.

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

Definition at line 360 of file pngget.c.

References png_debug1, and PNG_INFO_bKGD.

Referenced by test_one_file().

png_byte PNGAPI png_get_channels ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 341 of file pngget.c.

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 377 of file pngget.c.

References png_debug1, PNG_INFO_cHRM, and return.

Referenced by test_one_file().

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 407 of file pngget.c.

References png_debug1, and PNG_INFO_cHRM.

Referenced by test_one_file().

png_byte PNGAPI png_get_color_type ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 76 of file pngget.c.

png_uint_32 PNGAPI png_get_compression_buffer_size ( png_structp  png_ptr  ) 

Definition at line 824 of file pngget.c.

References png_uint_32.

png_byte PNGAPI png_get_compression_type ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 106 of file pngget.c.

png_byte PNGAPI png_get_filter_type ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 86 of file pngget.c.

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

Definition at line 441 of file pngget.c.

References png_debug1, PNG_INFO_gAMA, and return.

Referenced by test_one_file().

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 455 of file pngget.c.

References png_debug1, and PNG_INFO_gAMA.

Referenced by test_one_file().

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

Definition at line 520 of file pngget.c.

References png_debug1, and PNG_INFO_hIST.

Referenced by test_one_file().

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 487 of file pngget.c.

References int, png_debug1, and PNG_INFO_iCCP.

Referenced by test_one_file().

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 534 of file pngget.c.

References png_debug1, png_error(), PNG_UINT_31_MAX, PNG_UINT_32_MAX, and png_warning().

Referenced by test_one_file().

png_uint_32 PNGAPI png_get_image_height ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 56 of file pngget.c.

Referenced by test_one_file().

png_uint_32 PNGAPI png_get_image_width ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 46 of file pngget.c.

Referenced by test_one_file().

png_byte PNGAPI png_get_interlace_type ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 96 of file pngget.c.

png_byte PNGAPI png_get_mmx_bitdepth_threshold ( png_structp  png_ptr  ) 

Definition at line 907 of file pngget.c.

png_uint_32 PNGAPI png_get_mmx_flagmask ( int  flag_select,
int *  compilerID 
)

Definition at line 871 of file pngget.c.

References PNG_ASM_FLAG_MMX_READ_COMBINE_ROW, PNG_ASM_FLAG_MMX_READ_FILTER_AVG, PNG_ASM_FLAG_MMX_READ_FILTER_PAETH, PNG_ASM_FLAG_MMX_READ_FILTER_SUB, PNG_ASM_FLAG_MMX_READ_FILTER_UP, PNG_ASM_FLAG_MMX_READ_INTERLACE, PNG_SELECT_READ, PNG_SELECT_WRITE, and png_uint_32.

png_uint_32 PNGAPI png_get_mmx_rowbytes_threshold ( png_structp  png_ptr  ) 

Definition at line 914 of file pngget.c.

References png_uint_32.

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 581 of file pngget.c.

References int, png_debug1, PNG_INFO_oFFs, and return.

Referenced by test_one_file().

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 599 of file pngget.c.

References int, png_debug1, and PNG_INFO_pCAL.

Referenced by test_one_file().

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 659 of file pngget.c.

References int, png_debug1, PNG_INFO_pHYs, and png_uint_32.

Referenced by test_one_file().

float PNGAPI png_get_pixel_aspect_ratio ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 172 of file pngget.c.

References png_debug1, and PNG_INFO_pHYs.

png_uint_32 PNGAPI png_get_pixels_per_meter ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 152 of file pngget.c.

References png_debug1, PNG_INFO_pHYs, and PNG_RESOLUTION_METER.

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

Definition at line 689 of file pngget.c.

References png_debug1, and PNG_INFO_PLTE.

Referenced by test_one_file().

png_byte PNGAPI png_get_rgb_to_gray_status ( png_structp  png_ptr  ) 

Definition at line 808 of file pngget.c.

png_uint_32 PNGAPI png_get_rowbytes ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 24 of file pngget.c.

Referenced by png_read_png(), and test_one_file().

png_bytepp PNGAPI png_get_rows ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 34 of file pngget.c.

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

Definition at line 706 of file pngget.c.

References png_debug1, and PNG_INFO_sBIT.

Referenced by png_read_png(), and test_one_file().

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

Definition at line 624 of file pngget.c.

References PNG_INFO_sCAL.

Referenced by test_one_file().

png_bytep PNGAPI png_get_signature ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 350 of file pngget.c.

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

Definition at line 509 of file pngget.c.

References png_uint_32.

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

Definition at line 472 of file pngget.c.

References int, png_debug1, PNG_INFO_sRGB, and return.

Referenced by test_one_file().

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 721 of file pngget.c.

References png_const_charp, png_debug1, and png_uint_32.

Referenced by test_one_file().

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

Definition at line 743 of file pngget.c.

References png_debug1, and PNG_INFO_tIME.

Referenced by test_one_file().

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 758 of file pngget.c.

References PNG_COLOR_TYPE_PALETTE, png_debug1, PNG_INFO_tRNS, and png_uint_32.

Referenced by test_one_file().

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

Definition at line 797 of file pngget.c.

References png_uint_32.

Referenced by test_one_file().

png_voidp PNGAPI png_get_user_chunk_ptr ( png_structp  png_ptr  ) 

Definition at line 816 of file pngget.c.

png_uint_32 PNGAPI png_get_user_height_max ( png_structp  png_ptr  ) 

Definition at line 928 of file pngget.c.

png_uint_32 PNGAPI png_get_user_width_max ( png_structp  png_ptr  ) 

Definition at line 923 of file pngget.c.

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

Definition at line 15 of file pngget.c.

Referenced by png_read_png().

png_int_32 PNGAPI png_get_x_offset_microns ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 193 of file pngget.c.

References png_debug1, PNG_INFO_oFFs, and PNG_OFFSET_MICROMETER.

png_int_32 PNGAPI png_get_x_offset_pixels ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 229 of file pngget.c.

References png_debug1, PNG_INFO_oFFs, and PNG_OFFSET_PIXEL.

png_uint_32 PNGAPI png_get_x_pixels_per_meter ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 116 of file pngget.c.

References png_debug1, PNG_INFO_pHYs, and PNG_RESOLUTION_METER.

png_int_32 PNGAPI png_get_y_offset_microns ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 211 of file pngget.c.

References png_debug1, PNG_INFO_oFFs, and PNG_OFFSET_MICROMETER.

png_int_32 PNGAPI png_get_y_offset_pixels ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 247 of file pngget.c.

References png_debug1, PNG_INFO_oFFs, and PNG_OFFSET_PIXEL.

png_uint_32 PNGAPI png_get_y_pixels_per_meter ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 134 of file pngget.c.

References png_debug1, PNG_INFO_pHYs, and PNG_RESOLUTION_METER.


Generated on Fri Nov 28 00:07:13 2008 for elphel by  doxygen 1.5.1