Gnash  0.8.10
Namespaces | Functions
GnashImagePng.cpp File Reference
#include "GnashImagePng.h"
#include <sstream>
#include <boost/scoped_array.hpp>
#include "GnashImage.h"
#include "utility.h"
#include "log.h"
#include "GnashException.h"
#include "IOChannel.h"

Namespaces

namespace  gnash
 

Anonymous namespace for callbacks, local functions, event handlers etc.


namespace  gnash::image
 

Image handling functions and classes.


Functions

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

Variable Documentation

size_t _currentRow
png_infop _infoPtr
boost::scoped_array<png_byte> _pixelData
png_structp _pngPtr

Libpng structures for image and output state.

boost::scoped_array<png_bytep> _rowPtrs