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
pngwtran.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 png_do_write_transformations (png_structp png_ptr)
 
void png_do_pack (png_row_infop row_info, png_bytep row, png_uint_32 bit_depth)
 
void png_do_shift (png_row_infop row_info, png_bytep row, png_color_8p bit_depth)
 
void png_do_write_swap_alpha (png_row_infop row_info, png_bytep row)
 
void png_do_write_invert_alpha (png_row_infop row_info, png_bytep row)
 
void png_do_write_intrapixel (png_row_infop row_info, png_bytep row)
 

Macro Definition Documentation

◆ PNG_INTERNAL

#define PNG_INTERNAL

Definition at line 14 of file pngwtran.c.

◆ PNG_NO_PEDANTIC_WARNINGS

#define PNG_NO_PEDANTIC_WARNINGS

Definition at line 15 of file pngwtran.c.

Function Documentation

◆ png_do_pack()

void png_do_pack ( png_row_infop  row_info,
png_bytep  row,
png_uint_32  bit_depth 
)

Definition at line 92 of file pngwtran.c.

References i, NULL, and png_debug.

◆ png_do_shift()

void png_do_shift ( png_row_infop  row_info,
png_bytep  row,
png_color_8p  bit_depth 
)

Definition at line 219 of file pngwtran.c.

References if(), NULL, PNG_COLOR_MASK_ALPHA, PNG_COLOR_TYPE_PALETTE, and png_debug.

◆ png_do_write_intrapixel()

void png_do_write_intrapixel ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 524 of file pngwtran.c.

References i, NULL, PNG_COLOR_MASK_COLOR, PNG_COLOR_TYPE_RGB, PNG_COLOR_TYPE_RGB_ALPHA, png_debug, red, s1, and s2.

◆ png_do_write_invert_alpha()

void png_do_write_invert_alpha ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 433 of file pngwtran.c.

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

◆ png_do_write_swap_alpha()

void png_do_write_swap_alpha ( png_row_infop  row_info,
png_bytep  row 
)

Definition at line 344 of file pngwtran.c.

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

◆ png_do_write_transformations()

void png_do_write_transformations ( png_structp  png_ptr)

Definition at line 23 of file pngwtran.c.