Classes | Macros | Typedefs | Functions | Variables
pngrtran.c File Reference
#include "png.h"
Include dependency graph for pngrtran.c:

Go to the source code of this file.

Classes

struct  png_dsort_struct
 

Macros

#define PNG_INTERNAL
 

Typedefs

typedef struct png_dsort_struct png_dsort
 
typedef png_dsort FARpng_dsortp
 
typedef png_dsort FAR *FARpng_dsortpp
 

Functions

void png_build_gamma_table (png_structp png_ptr)
 
void PNGAPI png_build_grayscale_palette (int bit_depth, png_colorp palette)
 
void png_do_background (png_row_infop row_info, png_bytep row, png_color_16p trans_values, png_color_16p background, png_color_16p background_1, png_bytep gamma_table, png_bytep gamma_from_1, png_bytep gamma_to_1, png_uint_16pp gamma_16, png_uint_16pp gamma_16_from_1, png_uint_16pp gamma_16_to_1, int gamma_shift)
 
void png_do_chop (png_row_infop row_info, png_bytep row)
 
void png_do_dither (png_row_infop row_info, png_bytep row, png_bytep palette_lookup, png_bytep dither_lookup)
 
void png_do_expand (png_row_infop row_info, png_bytep row, png_color_16p trans_value)
 
void png_do_expand_palette (png_row_infop row_info, png_bytep row, png_colorp palette, png_bytep trans, int num_trans)
 
void png_do_gamma (png_row_infop row_info, png_bytep row, png_bytep gamma_table, png_uint_16pp gamma_16_table, int gamma_shift)
 
void png_do_gray_to_rgb (png_row_infop row_info, png_bytep row)
 
void png_do_read_filler (png_row_infop row_info, png_bytep row, png_uint_32 filler, png_uint_32 flags)
 
void png_do_read_intrapixel (png_row_infop row_info, png_bytep row)
 
void png_do_read_invert_alpha (png_row_infop row_info, png_bytep row)
 
void png_do_read_swap_alpha (png_row_infop row_info, png_bytep row)
 
void png_do_read_transformations (png_structp png_ptr)
 
int png_do_rgb_to_gray (png_structp png_ptr, png_row_infop row_info, png_bytep row)
 
void png_do_unpack (png_row_infop row_info, png_bytep row)
 
void png_do_unshift (png_row_infop row_info, png_bytep row, png_color_8p sig_bits)
 
void png_init_read_transformations (png_structp png_ptr)
 
void png_read_transform_info (png_structp png_ptr, png_infop info_ptr)
 
void PNGAPI png_set_background (png_structp png_ptr, png_color_16p background_color, int background_gamma_code, int need_expand, double background_gamma)
 
void PNGAPI png_set_crc_action (png_structp png_ptr, int crit_action, int ancil_action)
 
void PNGAPI png_set_dither (png_structp png_ptr, png_colorp palette, int num_palette, int maximum_colors, png_uint_16p histogram, int full_dither)
 
void PNGAPI png_set_expand (png_structp png_ptr)
 
void PNGAPI png_set_expand_gray_1_2_4_to_8 (png_structp png_ptr)
 
void PNGAPI png_set_gamma (png_structp png_ptr, double scrn_gamma, double file_gamma)
 
void PNGAPI png_set_gray_1_2_4_to_8 (png_structp png_ptr)
 
void PNGAPI png_set_gray_to_rgb (png_structp png_ptr)
 
void PNGAPI png_set_palette_to_rgb (png_structp png_ptr)
 
void PNGAPI png_set_read_user_transform_fn (png_structp png_ptr, png_user_transform_ptr read_user_transform_fn)
 
void PNGAPI png_set_rgb_to_gray (png_structp png_ptr, int error_action, double red, double green)
 
void PNGAPI png_set_rgb_to_gray_fixed (png_structp png_ptr, int error_action, png_fixed_point red, png_fixed_point green)
 
void PNGAPI png_set_strip_16 (png_structp png_ptr)
 
void PNGAPI png_set_strip_alpha (png_structp png_ptr)
 
void PNGAPI png_set_tRNS_to_alpha (png_structp png_ptr)
 

Variables

static PNG_CONST int png_gamma_shift []
 

Macro Definition Documentation

◆ PNG_INTERNAL

#define PNG_INTERNAL

Definition at line 16 of file pngrtran.c.

Typedef Documentation

◆ png_dsort

typedef struct png_dsort_struct png_dsort

◆ png_dsortp

Definition at line 137 of file pngrtran.c.

◆ png_dsortpp

Definition at line 138 of file pngrtran.c.

Function Documentation

◆ png_build_gamma_table()

void png_build_gamma_table ( png_structp  png_ptr)

Definition at line 4026 of file pngrtran.c.

◆ png_build_grayscale_palette()

void PNGAPI png_build_grayscale_palette ( int  bit_depth,
png_colorp  palette 
)

Definition at line 2474 of file pngrtran.c.

◆ png_do_background()

void png_do_background ( png_row_infop  row_info,
png_bytep  row,
png_color_16p  trans_values,
png_color_16p  background,
png_color_16p  background_1,
png_bytep  gamma_table,
png_bytep  gamma_from_1,
png_bytep  gamma_to_1,
png_uint_16pp  gamma_16,
png_uint_16pp  gamma_16_from_1,
png_uint_16pp  gamma_16_to_1,
int  gamma_shift 
)

Definition at line 2705 of file pngrtran.c.

◆ png_do_chop()

void png_do_chop ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 1711 of file pngrtran.c.

◆ png_do_dither()

void png_do_dither ( png_row_infop  row_info,
png_bytep  row,
png_bytep  palette_lookup,
png_bytep  dither_lookup 
)

Definition at line 3926 of file pngrtran.c.

◆ png_do_expand()

void png_do_expand ( png_row_infop  row_info,
png_bytep  row,
png_color_16p  trans_value 
)

Definition at line 3719 of file pngrtran.c.

◆ png_do_expand_palette()

void png_do_expand_palette ( png_row_infop  row_info,
png_bytep  row,
png_colorp  palette,
png_bytep  trans,
int  num_trans 
)

Definition at line 3576 of file pngrtran.c.

◆ png_do_gamma()

void png_do_gamma ( png_row_infop  row_info,
png_bytep  row,
png_bytep  gamma_table,
png_uint_16pp  gamma_16_table,
int  gamma_shift 
)

Definition at line 3394 of file pngrtran.c.

◆ png_do_gray_to_rgb()

void png_do_gray_to_rgb ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 2132 of file pngrtran.c.

◆ png_do_read_filler()

void png_do_read_filler ( png_row_infop  row_info,
png_bytep  row,
png_uint_32  filler,
png_uint_32  flags 
)

Definition at line 1956 of file pngrtran.c.

◆ png_do_read_intrapixel()

void png_do_read_intrapixel ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 4239 of file pngrtran.c.

◆ png_do_read_invert_alpha()

void png_do_read_invert_alpha ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 1857 of file pngrtran.c.

◆ png_do_read_swap_alpha()

void png_do_read_swap_alpha ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 1765 of file pngrtran.c.

◆ png_do_read_transformations()

void png_do_read_transformations ( png_structp  png_ptr)

Definition at line 1269 of file pngrtran.c.

◆ png_do_rgb_to_gray()

int png_do_rgb_to_gray ( png_structp  png_ptr,
png_row_infop  row_info,
png_bytep  row 
)

Definition at line 2235 of file pngrtran.c.

◆ png_do_unpack()

void png_do_unpack ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 1515 of file pngrtran.c.

◆ png_do_unshift()

void png_do_unshift ( png_row_infop  row_info,
png_bytep  row,
png_color_8p  sig_bits 
)

Definition at line 1605 of file pngrtran.c.

◆ png_init_read_transformations()

void png_init_read_transformations ( png_structp  png_ptr)

Definition at line 718 of file pngrtran.c.

◆ png_read_transform_info()

void png_read_transform_info ( png_structp  png_ptr,
png_infop  info_ptr 
)

Definition at line 1125 of file pngrtran.c.

◆ png_set_background()

void PNGAPI png_set_background ( png_structp  png_ptr,
png_color_16p  background_color,
int  background_gamma_code,
int  need_expand,
double  background_gamma 
)

Definition at line 79 of file pngrtran.c.

◆ png_set_crc_action()

void PNGAPI png_set_crc_action ( png_structp  png_ptr,
int  crit_action,
int  ancil_action 
)

Definition at line 22 of file pngrtran.c.

◆ png_set_dither()

void PNGAPI png_set_dither ( png_structp  png_ptr,
png_colorp  palette,
int  num_palette,
int  maximum_colors,
png_uint_16p  histogram,
int  full_dither 
)

Definition at line 141 of file pngrtran.c.

◆ png_set_expand()

void PNGAPI png_set_expand ( png_structp  png_ptr)

Definition at line 546 of file pngrtran.c.

◆ png_set_expand_gray_1_2_4_to_8()

void PNGAPI png_set_expand_gray_1_2_4_to_8 ( png_structp  png_ptr)

Definition at line 584 of file pngrtran.c.

◆ png_set_gamma()

void PNGAPI png_set_gamma ( png_structp  png_ptr,
double  scrn_gamma,
double  file_gamma 
)

Definition at line 527 of file pngrtran.c.

◆ png_set_gray_1_2_4_to_8()

void PNGAPI png_set_gray_1_2_4_to_8 ( png_structp  png_ptr)

Definition at line 597 of file pngrtran.c.

◆ png_set_gray_to_rgb()

void PNGAPI png_set_gray_to_rgb ( png_structp  png_ptr)

Definition at line 618 of file pngrtran.c.

◆ png_set_palette_to_rgb()

void PNGAPI png_set_palette_to_rgb ( png_structp  png_ptr)

Definition at line 573 of file pngrtran.c.

◆ png_set_read_user_transform_fn()

void PNGAPI png_set_read_user_transform_fn ( png_structp  png_ptr,
png_user_transform_ptr  read_user_transform_fn 
)

Definition at line 697 of file pngrtran.c.

◆ png_set_rgb_to_gray()

void PNGAPI png_set_rgb_to_gray ( png_structp  png_ptr,
int  error_action,
double  red,
double  green 
)

Definition at line 633 of file pngrtran.c.

◆ png_set_rgb_to_gray_fixed()

void PNGAPI png_set_rgb_to_gray_fixed ( png_structp  png_ptr,
int  error_action,
png_fixed_point  red,
png_fixed_point  green 
)

Definition at line 644 of file pngrtran.c.

◆ png_set_strip_16()

void PNGAPI png_set_strip_16 ( png_structp  png_ptr)

Definition at line 103 of file pngrtran.c.

◆ png_set_strip_alpha()

void PNGAPI png_set_strip_alpha ( png_structp  png_ptr)

Definition at line 113 of file pngrtran.c.

◆ png_set_tRNS_to_alpha()

void PNGAPI png_set_tRNS_to_alpha ( png_structp  png_ptr)

Definition at line 608 of file pngrtran.c.

Variable Documentation

◆ png_gamma_shift

PNG_CONST int png_gamma_shift[]
static
Initial value:
=
{0x10, 0x21, 0x42, 0x84, 0x110, 0x248, 0x550, 0xff0, 0x00}

Definition at line 4017 of file pngrtran.c.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:06