#include <stdio.h>#include <math.h>#include <common/Defines.h>#include <common/Logger.h>#include <image/ImagePng.h>#include <png.h>Go to the source code of this file.
Classes | |
| struct | user_read_struct |
| struct | user_write_struct |
Functions | |
| static void | user_png_error (png_structp png_ptr, png_const_charp msg) |
| static void | user_png_warning (png_structp png_ptr, png_const_charp msg) |
| static void | user_read_fn (png_structp png_ptr, png_bytep data, png_size_t length) |
| static void | user_write_fn (png_structp png_ptr, png_bytep data, png_size_t length) |
| static void user_png_error | ( | png_structp | png_ptr, | |
| png_const_charp | msg | |||
| ) | [static] |
Definition at line 151 of file ImagePng.cpp.
Referenced by ImagePng::loadFromBuffer(), and ImagePng::writeToBuffer().
| static void user_png_warning | ( | png_structp | png_ptr, | |
| png_const_charp | msg | |||
| ) | [static] |
Definition at line 156 of file ImagePng.cpp.
Referenced by ImagePng::loadFromBuffer(), and ImagePng::writeToBuffer().
| static void user_read_fn | ( | png_structp | png_ptr, | |
| png_bytep | data, | |||
| png_size_t | length | |||
| ) | [static] |
Definition at line 160 of file ImagePng.cpp.
References user_read_struct::buffer, NetBuffer::getBuffer(), NetBuffer::getBufferUsed(), MIN, and user_read_struct::position.
Referenced by ImagePng::loadFromBuffer(), and ImagePng::writeToBuffer().
| static void user_write_fn | ( | png_structp | png_ptr, | |
| png_bytep | data, | |||
| png_size_t | length | |||
| ) | [static] |
Definition at line 289 of file ImagePng.cpp.
References NetBuffer::addDataToBuffer(), and user_write_struct::buffer.
Referenced by ImagePng::writeToBuffer().
1.5.3