#include <GnashImageGif.h>


Public Member Functions | |
| GifInput (boost::shared_ptr< IOChannel > in) | |
| Construct a GifInput object to read from an IOChannel. | |
| ~GifInput () | |
| void | read () |
| Begin processing the image data. | |
| size_t | getHeight () const |
| Get the image's height in pixels. | |
| size_t | getWidth () const |
| Get the image's width in pixels. | |
| size_t | getComponents () const |
| Get number of components (channels). | |
| void | readScanline (unsigned char *rgb_data) |
| Read a scanline's worth of image data into the given buffer. | |
Static Public Member Functions | |
| static DSOEXPORT std::auto_ptr < Input > | create (boost::shared_ptr< IOChannel > in) |
| Create a GifInput and transfer ownership to the caller. | |
| gnash::image::GifInput::GifInput | ( | boost::shared_ptr< IOChannel > | in | ) |
| gnash::image::GifInput::~GifInput | ( | ) |
| static DSOEXPORT std::auto_ptr<Input> gnash::image::GifInput::create | ( | boost::shared_ptr< IOChannel > | in | ) | [inline, static] |
Create a GifInput and transfer ownership to the caller.
| in | The IOChannel to read GIF data from. |
References GifInput().
| size_t gnash::image::GifInput::getComponents | ( | ) | const [inline, virtual] |
Get number of components (channels).
Implements gnash::image::Input.
| size_t gnash::image::GifInput::getHeight | ( | ) | const [virtual] |
Get the image's height in pixels.
Implements gnash::image::Input.
| size_t gnash::image::GifInput::getWidth | ( | ) | const [virtual] |
Get the image's width in pixels.
Implements gnash::image::Input.
| void gnash::image::GifInput::read | ( | ) | [virtual] |
Begin processing the image data.
Implements gnash::image::Input.
| void gnash::image::GifInput::readScanline | ( | unsigned char * | rgb_data | ) | [virtual] |
Read a scanline's worth of image data into the given buffer.
The amount of data read is getWidth() * getComponents().
| rgbData | The buffer for writing raw RGB data to. |
Implements gnash::image::Input.
1.7.1