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

Go to the source code of this file.


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


namespace  gnash

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

namespace  gnash::image

Image handling functions and classes.


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...


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.
GnashImage::const_iterator gnash::image::scanline (const GnashImage &im, size_t row)
 Get a read-only pointer to a given row of any image.
void gnash::image::mergeAlpha (ImageRGBA &im, GnashImage::const_iterator alphaData, const size_t bufferLength)