Gnash  0.8.11dev
Namespaces | Functions
GnashImagePng.cpp File Reference
#include "GnashImagePng.h"
#include <sstream>
#include "GnashImage.h"
#include "utility.h"
#include "log.h"
#include "GnashException.h"
#include "IOChannel.h"

Namespaces

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 
 gnash::image
 Image handling functions and classes.
 

Functions

std::unique_ptr< Input > gnash::image::createPngInput (std::shared_ptr< IOChannel > in)
 Create a PngInput and transfer ownership to the caller. More...
 
std::unique_ptr< Output > gnash::image::createPngOutput (std::shared_ptr< IOChannel > o, size_t width, size_t height, int quality)
 

Variable Documentation

size_t _currentRow
png_infop _infoPtr
std::unique_ptr<png_byte[]> _pixelData
png_structp _pngPtr

Libpng structures for image and output state.

std::unique_ptr<png_bytep[]> _rowPtrs