| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Typedefs | Functions
pngrtran.c File Reference
`#include "pngpriv.h"`

Go to the source code of this file.

## Classes
struct | png_dsort_struct

## Typedefs
typedef struct png_dsort_struct | png_dsort
typedef png_dsort FAR * | png_dsortp
typedef png_dsort FAR *FAR * | png_dsortpp

## Functions
void PNGAPI | png_set_crc_action (png_structp png_ptr, int crit_action, int ancil_action)
void PNGFAPI | png_set_background_fixed (png_structp png_ptr, png_const_color_16p background_color, int background_gamma_code, int need_expand, png_fixed_point background_gamma)
void PNGAPI | png_set_background (png_structp png_ptr, png_const_color_16p background_color, int background_gamma_code, int need_expand, double background_gamma)
void PNGAPI | png_set_strip_16 (png_structp png_ptr)
void PNGAPI | png_set_strip_alpha (png_structp png_ptr)
void PNGAPI | png_set_quantize (png_structp png_ptr, png_colorp palette, int num_palette, int maximum_colors, png_const_uint_16p histogram, int full_quantize)
void PNGFAPI | png_set_gamma_fixed (png_structp png_ptr, png_fixed_point scrn_gamma, png_fixed_point file_gamma)
void PNGAPI | png_set_gamma (png_structp png_ptr, double scrn_gamma, double file_gamma)
void PNGAPI | png_set_expand (png_structp png_ptr)
void PNGAPI | png_set_palette_to_rgb (png_structp png_ptr)
void PNGAPI | png_set_expand_gray_1_2_4_to_8 (png_structp png_ptr)
void PNGAPI | png_set_tRNS_to_alpha (png_structp png_ptr)
void PNGAPI | png_set_gray_to_rgb (png_structp png_ptr)
void PNGFAPI | 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_rgb_to_gray (png_structp png_ptr, int error_action, double red, double green)
void PNGAPI | png_set_read_user_transform_fn (png_structp png_ptr, png_user_transform_ptr read_user_transform_fn)
void | png_init_read_transformations (png_structp png_ptr)
void | png_read_transform_info (png_structp png_ptr, png_infop info_ptr)
void | png_do_read_transformations (png_structp png_ptr)
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_const_color_8p sig_bits)
void | png_do_chop (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_invert_alpha (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_gray_to_rgb (png_row_infop row_info, png_bytep row)
int | png_do_rgb_to_gray (png_structp png_ptr, png_row_infop row_info, png_bytep row)
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_const_color_16p trans_color, png_const_color_16p background, png_const_color_16p background_1, png_const_bytep gamma_table, png_const_bytep gamma_from_1, png_const_bytep gamma_to_1, png_const_uint_16pp gamma_16, png_const_uint_16pp gamma_16_from_1, png_const_uint_16pp gamma_16_to_1, int gamma_shift)
void | png_do_gamma (png_row_infop row_info, png_bytep row, png_const_bytep gamma_table, png_const_uint_16pp gamma_16_table, int gamma_shift)
void | png_do_expand_palette (png_row_infop row_info, png_bytep row, png_const_colorp palette, png_const_bytep trans_alpha, int num_trans)
void | png_do_expand (png_row_infop row_info, png_bytep row, png_const_color_16p trans_value)
void | png_do_quantize (png_row_infop row_info, png_bytep row, png_const_bytep palette_lookup, png_const_bytep quantize_lookup)
void | png_do_read_intrapixel (png_row_infop row_info, png_bytep row)

## Typedef Documentation

typedef struct png_dsort_struct png_dsort

typedef png_dsort FAR* png_dsortp

Definition at line 172 of file pngrtran.c.

typedef png_dsort FAR* FAR* png_dsortpp

Definition at line 173 of file pngrtran.c.

## Function Documentation

void PNGAPI png_build_grayscale_palette | ( | int | bit_depth,
|  | png_colorp | palette
| ) |  |

Definition at line 2683 of file pngrtran.c.

void png_do_background | ( | png_row_infop | row_info,
|  | png_bytep | row,
|  | png_const_color_16p | trans_color,
|  | png_const_color_16p | background,
|  | png_const_color_16p | background_1,
|  | png_const_bytep | gamma_table,
|  | png_const_bytep | gamma_from_1,
|  | png_const_bytep | gamma_to_1,
|  | png_const_uint_16pp | gamma_16,
|  | png_const_uint_16pp | gamma_16_from_1,
|  | png_const_uint_16pp | gamma_16_to_1,
|  | int | gamma_shift
| ) |  |

Definition at line 2738 of file pngrtran.c.

void png_do_chop | ( | png_row_infop | row_info,
|  | png_bytep | row
| ) |  |

Definition at line 1877 of file pngrtran.c.

void png_do_expand | ( | png_row_infop | row_info,
|  | png_bytep | row,
|  | png_const_color_16p | trans_value
| ) |  |

Definition at line 3842 of file pngrtran.c.

void png_do_expand_palette | ( | png_row_infop | row_info,
|  | png_bytep | row,
|  | png_const_colorp | palette,
|  | png_const_bytep | trans_alpha,
|  | int | num_trans
| ) |  |

Definition at line 3689 of file pngrtran.c.

void png_do_gamma | ( | png_row_infop | row_info,
|  | png_bytep | row,
|  | png_const_bytep | gamma_table,
|  | png_const_uint_16pp | gamma_16_table,
|  | int | gamma_shift
| ) |  |

Definition at line 3491 of file pngrtran.c.

void png_do_gray_to_rgb | ( | png_row_infop | row_info,
|  | png_bytep | row
| ) |  |

Definition at line 2317 of file pngrtran.c.

void png_do_quantize | ( | png_row_infop | row_info,
|  | png_bytep | row,
|  | png_const_bytep | palette_lookup,
|  | png_const_bytep | quantize_lookup
| ) |  |

Definition at line 4069 of file pngrtran.c.

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

Definition at line 2130 of file pngrtran.c.

void png_do_read_intrapixel | ( | png_row_infop | row_info,
|  | png_bytep | row
| ) |  |

Definition at line 4164 of file pngrtran.c.

void png_do_read_invert_alpha | ( | png_row_infop | row_info,
|  | png_bytep | row
| ) |  |

Definition at line 2028 of file pngrtran.c.

void png_do_read_swap_alpha | ( | png_row_infop | row_info,
|  | png_bytep | row
| ) |  |

Definition at line 1931 of file pngrtran.c.

void png_do_read_transformations | ( | png_structp | png_ptr | ) |

Definition at line 1404 of file pngrtran.c.

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

Definition at line 2425 of file pngrtran.c.

void png_do_unpack | ( | png_row_infop | row_info,
|  | png_bytep | row
| ) |  |

Definition at line 1663 of file pngrtran.c.

void png_do_unshift | ( | png_row_infop | row_info,
|  | png_bytep | row,
|  | png_const_color_8p | sig_bits
| ) |  |

Definition at line 1761 of file pngrtran.c.

void png_init_read_transformations | ( | png_structp | png_ptr | ) |

Definition at line 814 of file pngrtran.c.

void png_read_transform_info | ( | png_structp | png_ptr,
|  | png_infop | info_ptr
| ) |  |

Definition at line 1254 of file pngrtran.c.

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

Definition at line 119 of file pngrtran.c.

void PNGFAPI png_set_background_fixed | ( | png_structp | png_ptr,
|  | png_const_color_16p | background_color,
|  | int | background_gamma_code,
|  | int | need_expand,
|  | png_fixed_point | background_gamma
| ) |  |

Definition at line 94 of file pngrtran.c.

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

Definition at line 25 of file pngrtran.c.

void PNGAPI png_set_expand | ( | png_structp | png_ptr | ) |

Definition at line 621 of file pngrtran.c.

void PNGAPI png_set_expand_gray_1_2_4_to_8 | ( | png_structp | png_ptr | ) |

Definition at line 665 of file pngrtran.c.

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

Definition at line 606 of file pngrtran.c.

void PNGFAPI png_set_gamma_fixed | ( | png_structp | png_ptr,
|  | png_fixed_point | scrn_gamma,
|  | png_fixed_point | file_gamma
| ) |  |

Definition at line 588 of file pngrtran.c.

void PNGAPI png_set_gray_to_rgb | ( | png_structp | png_ptr | ) |

Definition at line 691 of file pngrtran.c.

void PNGAPI png_set_palette_to_rgb | ( | png_structp | png_ptr | ) |

Definition at line 652 of file pngrtran.c.

void PNGAPI png_set_quantize | ( | png_structp | png_ptr,
|  | png_colorp | palette,
|  | int | num_palette,
|  | int | maximum_colors,
|  | png_const_uint_16p | histogram,
|  | int | full_quantize
| ) |  |

Definition at line 176 of file pngrtran.c.

void PNGAPI png_set_read_user_transform_fn | ( | png_structp | png_ptr,
|  | png_user_transform_ptr | read_user_transform_fn
| ) |  |

Definition at line 795 of file pngrtran.c.

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

Definition at line 778 of file pngrtran.c.

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

Definition at line 707 of file pngrtran.c.

void PNGAPI png_set_strip_16 | ( | png_structp | png_ptr | ) |

Definition at line 132 of file pngrtran.c.

void PNGAPI png_set_strip_alpha | ( | png_structp | png_ptr | ) |

Definition at line 145 of file pngrtran.c.

void PNGAPI png_set_tRNS_to_alpha | ( | png_structp | png_ptr | ) |

Definition at line 680 of file pngrtran.c.