Gnash  0.8.11dev
Classes | Namespaces | Enumerations | Functions
GnashImage.h File Reference
#include <boost/noncopyable.hpp>
#include <cstdint>
#include <memory>
#include "GnashEnums.h"
#include "log.h"
#include "dsodefs.h"

Go to the source code of this file.

Classes

class  gnash::image::GnashImage
 Base class for different types of bitmaps. More...
 
class  gnash::image::ImageRGB
 24-bit RGB bitmap More...
 
class  gnash::image::ImageRGBA
 32-bit RGBA bitmap More...
 
class  gnash::image::Input
 The base class for reading image data. More...
 
class  gnash::image::Output
 

Namespaces

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

Enumerations

enum  gnash::image::ImageType { gnash::image::GNASH_IMAGE_INVALID, gnash::image::TYPE_RGB, gnash::image::TYPE_RGBA }
 The types of images handled in Gnash. More...
 
enum  gnash::image::ImageLocation { gnash::image::GNASH_IMAGE_CPU = 1, gnash::image::GNASH_IMAGE_GPU }
 The locations of images handled in Gnash. More...
 

Functions

size_t gnash::image::numChannels (ImageType t)
 
GnashImage::iterator gnash::image::scanline (GnashImage &im, size_t row)
 Get a pointer to a given row of any image. More...
 
GnashImage::const_iterator gnash::image::scanline (const GnashImage &im, size_t row)
 Get a read-only pointer to a given row of any image. More...
 
void gnash::image::mergeAlpha (ImageRGBA &im, GnashImage::const_iterator alphaData, const size_t bufferLength)