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

Go to the source code of this file.

Macros

#define PNG_INTERNAL
 
#define PNG_NO_PEDANTIC_WARNINGS
 

Functions

void PNGAPI png_set_bgr (png_structp png_ptr)
 
void PNGAPI png_set_swap (png_structp png_ptr)
 
void PNGAPI png_set_packing (png_structp png_ptr)
 
void PNGAPI png_set_packswap (png_structp png_ptr)
 
void PNGAPI png_set_shift (png_structp png_ptr, png_color_8p true_bits)
 
int PNGAPI png_set_interlace_handling (png_structp png_ptr)
 
void PNGAPI png_set_filler (png_structp png_ptr, png_uint_32 filler, int filler_loc)
 
void PNGAPI png_set_add_alpha (png_structp png_ptr, png_uint_32 filler, int filler_loc)
 
void PNGAPI png_set_swap_alpha (png_structp png_ptr)
 
void PNGAPI png_set_invert_alpha (png_structp png_ptr)
 
void PNGAPI png_set_invert_mono (png_structp png_ptr)
 
void png_do_invert (png_row_infop row_info, png_bytep row)
 
void png_do_swap (png_row_infop row_info, png_bytep row)
 
void png_do_packswap (png_row_infop row_info, png_bytep row)
 
void png_do_strip_filler (png_row_infop row_info, png_bytep row, png_uint_32 flags)
 
void png_do_bgr (png_row_infop row_info, png_bytep row)
 
void PNGAPI png_set_user_transform_info (png_structp png_ptr, png_voidp user_transform_ptr, int user_transform_depth, int user_transform_channels)
 
png_voidp PNGAPI png_get_user_transform_ptr (png_structp png_ptr)
 

Macro Definition Documentation

◆ PNG_INTERNAL

#define PNG_INTERNAL

Definition at line 14 of file pngtrans.c.

◆ PNG_NO_PEDANTIC_WARNINGS

#define PNG_NO_PEDANTIC_WARNINGS

Definition at line 15 of file pngtrans.c.

Function Documentation

◆ png_do_bgr()

void png_do_bgr ( png_row_infop  row_info,
png_bytep  row 
)

◆ png_do_invert()

void png_do_invert ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 205 of file pngtrans.c.

References i, NULL, PNG_COLOR_TYPE_GRAY, PNG_COLOR_TYPE_GRAY_ALPHA, and png_debug.

◆ png_do_packswap()

void png_do_packswap ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 393 of file pngtrans.c.

References NULL, and png_debug.

◆ png_do_strip_filler()

void png_do_strip_filler ( png_row_infop  row_info,
png_bytep  row,
png_uint_32  flags 
)

◆ png_do_swap()

void png_do_swap ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 261 of file pngtrans.c.

References i, NULL, PNG_CONST, and png_debug.

◆ png_get_user_transform_ptr()

png_voidp PNGAPI png_get_user_transform_ptr ( png_structp  png_ptr)

Definition at line 689 of file pngtrans.c.

◆ png_set_add_alpha()

void PNGAPI png_set_add_alpha ( png_structp  png_ptr,
png_uint_32  filler,
int  filler_loc 
)

Definition at line 153 of file pngtrans.c.

◆ png_set_bgr()

void PNGAPI png_set_bgr ( png_structp  png_ptr)

Definition at line 22 of file pngtrans.c.

◆ png_set_filler()

void PNGAPI png_set_filler ( png_structp  png_ptr,
png_uint_32  filler,
int  filler_loc 
)

Definition at line 114 of file pngtrans.c.

◆ png_set_interlace_handling()

int PNGAPI png_set_interlace_handling ( png_structp  png_ptr)

Definition at line 93 of file pngtrans.c.

◆ png_set_invert_alpha()

void PNGAPI png_set_invert_alpha ( png_structp  png_ptr)

Definition at line 182 of file pngtrans.c.

◆ png_set_invert_mono()

void PNGAPI png_set_invert_mono ( png_structp  png_ptr)

Definition at line 194 of file pngtrans.c.

◆ png_set_packing()

void PNGAPI png_set_packing ( png_structp  png_ptr)

Definition at line 49 of file pngtrans.c.

◆ png_set_packswap()

void PNGAPI png_set_packswap ( png_structp  png_ptr)

Definition at line 66 of file pngtrans.c.

◆ png_set_shift()

void PNGAPI png_set_shift ( png_structp  png_ptr,
png_color_8p  true_bits 
)

Definition at line 79 of file pngtrans.c.

◆ png_set_swap()

void PNGAPI png_set_swap ( png_structp  png_ptr)

Definition at line 35 of file pngtrans.c.

◆ png_set_swap_alpha()

void PNGAPI png_set_swap_alpha ( png_structp  png_ptr)

Definition at line 169 of file pngtrans.c.

◆ png_set_user_transform_info()

void PNGAPI png_set_user_transform_info ( png_structp  png_ptr,
png_voidp  user_transform_ptr,
int  user_transform_depth,
int  user_transform_channels 
)

Definition at line 664 of file pngtrans.c.