#include <JPEGImageDecoder.h>

Public Member Functions | |
| BCJPEGImageDecoder () | |
| virtual | ~BCJPEGImageDecoder () |
| virtual void | setData (const Vector< char > *data, bool allDataReceived) |
| All specific decoder plugins must do something with the data they are given. | |
| virtual bool | isSizeAvailable () const |
| Whether or not the size information has been decoded yet. | |
| virtual BAL::RGBA32Buffer * | frameBufferAtIndex (size_t index) |
| Called to obtain the RGBA32Buffer full of decoded data for rendering. | |
| virtual bool | supportsAlpha () const |
| Whether or not the underlying image format even supports alpha transparency. | |
| virtual IntSize | size () const |
| Requests the size. | |
| virtual int | frameCount () |
| The total number of frames for the image. | |
| virtual int | repetitionCount () const |
| The number of repetitions to perform for an animation loop. | |
| void | decode (bool sizeOnly=false) const |
| JPEGImageReader * | reader () |
| void | setSize (int width, int height) |
| bool | outputScanlines () |
| void | jpegComplete () |
| BCJPEGImageDecoder () | |
| virtual | ~BCJPEGImageDecoder () |
| virtual void | setData (const Vector< char > *data, bool allDataReceived) |
| All specific decoder plugins must do something with the data they are given. | |
| virtual bool | isSizeAvailable () const |
| Whether or not the size information has been decoded yet. | |
| virtual BAL::RGBA32Buffer * | frameBufferAtIndex (size_t index) |
| Called to obtain the RGBA32Buffer full of decoded data for rendering. | |
| virtual bool | supportsAlpha () const |
| Whether or not the underlying image format even supports alpha transparency. | |
| virtual IntSize | size () const |
| Requests the size. | |
| virtual int | frameCount () |
| The total number of frames for the image. | |
| virtual int | repetitionCount () const |
| The number of repetitions to perform for an animation loop. | |
| void | decode (bool sizeOnly=false) const |
| JPEGImageReader * | reader () |
| void | setSize (int width, int height) |
| bool | outputScanlines () |
| void | jpegComplete () |
This class decodes the JPEG image format.
| BC::BCJPEGImageDecoder::BCJPEGImageDecoder | ( | ) |
| BC::BCJPEGImageDecoder::~BCJPEGImageDecoder | ( | ) | [virtual] |
| BC::BCJPEGImageDecoder::BCJPEGImageDecoder | ( | ) |
| virtual BC::BCJPEGImageDecoder::~BCJPEGImageDecoder | ( | ) | [virtual] |
| void BC::BCJPEGImageDecoder::setData | ( | const Vector< char > * | data, | |
| bool | allDataReceived | |||
| ) | [virtual] |
All specific decoder plugins must do something with the data they are given.
FIXME : Vector should be passed by ref
Implements BAL::BIImageDecoder.
| bool BC::BCJPEGImageDecoder::isSizeAvailable | ( | ) | const [virtual] |
| RGBA32Buffer * BC::BCJPEGImageDecoder::frameBufferAtIndex | ( | size_t | index | ) | [virtual] |
Called to obtain the RGBA32Buffer full of decoded data for rendering.
The decoder plugin will decode as much of the frame as it can before handing back the buffer.
Implements BAL::BIImageDecoder.
| virtual bool BC::BCJPEGImageDecoder::supportsAlpha | ( | ) | const [inline, virtual] |
Whether or not the underlying image format even supports alpha transparency.
Implements BAL::BIImageDecoder.
| virtual IntSize BC::BCJPEGImageDecoder::size | ( | ) | const [inline, virtual] |
| virtual int BC::BCJPEGImageDecoder::frameCount | ( | ) | [inline, virtual] |
The total number of frames for the image.
Classes that support multiple frames will scan the image data for the answer if they need to (without necessarily decoding all of the individual frames).
Implements BAL::BIImageDecoder.
| virtual int BC::BCJPEGImageDecoder::repetitionCount | ( | ) | const [inline, virtual] |
| void BC::BCJPEGImageDecoder::decode | ( | bool | sizeOnly = false |
) | const |
| JPEGImageReader* BC::BCJPEGImageDecoder::reader | ( | ) | [inline] |
| bool BC::BCJPEGImageDecoder::outputScanlines | ( | ) |
| void BC::BCJPEGImageDecoder::jpegComplete | ( | ) |
| virtual void BC::BCJPEGImageDecoder::setData | ( | const Vector< char > * | data, | |
| bool | allDataReceived | |||
| ) | [virtual] |
All specific decoder plugins must do something with the data they are given.
FIXME : Vector should be passed by ref
Implements BAL::BIImageDecoder.
| virtual bool BC::BCJPEGImageDecoder::isSizeAvailable | ( | ) | const [virtual] |
| virtual BAL::RGBA32Buffer* BC::BCJPEGImageDecoder::frameBufferAtIndex | ( | size_t | index | ) | [virtual] |
Called to obtain the RGBA32Buffer full of decoded data for rendering.
The decoder plugin will decode as much of the frame as it can before handing back the buffer.
Implements BAL::BIImageDecoder.
| virtual bool BC::BCJPEGImageDecoder::supportsAlpha | ( | ) | const [inline, virtual] |
Whether or not the underlying image format even supports alpha transparency.
Implements BAL::BIImageDecoder.
| virtual IntSize BC::BCJPEGImageDecoder::size | ( | ) | const [inline, virtual] |
| virtual int BC::BCJPEGImageDecoder::frameCount | ( | ) | [inline, virtual] |
The total number of frames for the image.
Classes that support multiple frames will scan the image data for the answer if they need to (without necessarily decoding all of the individual frames).
Implements BAL::BIImageDecoder.
| virtual int BC::BCJPEGImageDecoder::repetitionCount | ( | ) | const [inline, virtual] |
| void BC::BCJPEGImageDecoder::decode | ( | bool | sizeOnly = false |
) | const |
| JPEGImageReader* BC::BCJPEGImageDecoder::reader | ( | ) | [inline] |
| bool BC::BCJPEGImageDecoder::outputScanlines | ( | ) |
| void BC::BCJPEGImageDecoder::jpegComplete | ( | ) |