pleyo.com

BC::BCPNGImageDecoder Class Reference

#include <PNGImageDecoder.h>

Inheritance diagram for BC::BCPNGImageDecoder:

BAL::BIImageDecoder BAL::BIImageDecoder

List of all members.

Public Member Functions

 BCPNGImageDecoder ()
 ~BCPNGImageDecoder ()
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
PNGImageReaderreader ()
void decodingFailed ()
void headerAvailable ()
void rowAvailable (unsigned char *rowBuffer, unsigned rowIndex, int interlacePass)
void pngComplete ()
 BCPNGImageDecoder ()
 ~BCPNGImageDecoder ()
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
PNGImageReaderreader ()
void decodingFailed ()
void headerAvailable ()
void rowAvailable (unsigned char *rowBuffer, unsigned rowIndex, int interlacePass)
void pngComplete ()


Constructor & Destructor Documentation

BC::BCPNGImageDecoder::BCPNGImageDecoder (  ) 

BC::BCPNGImageDecoder::~BCPNGImageDecoder (  ) 

BC::BCPNGImageDecoder::BCPNGImageDecoder (  ) 

BC::BCPNGImageDecoder::~BCPNGImageDecoder (  ) 


Member Function Documentation

void BC::BCPNGImageDecoder::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::BCPNGImageDecoder::isSizeAvailable (  )  const [virtual]

Whether or not the size information has been decoded yet.

Implements BAL::BIImageDecoder.

RGBA32Buffer * BC::BCPNGImageDecoder::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::BCPNGImageDecoder::supportsAlpha (  )  const [inline, virtual]

Whether or not the underlying image format even supports alpha transparency.

Implements BAL::BIImageDecoder.

virtual IntSize BC::BCPNGImageDecoder::size (  )  const [inline, virtual]

Requests the size.

Implements BAL::BIImageDecoder.

virtual int BC::BCPNGImageDecoder::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::BCPNGImageDecoder::repetitionCount (  )  const [inline, virtual]

The number of repetitions to perform for an animation loop.

Implements BAL::BIImageDecoder.

void BC::BCPNGImageDecoder::decode ( bool  sizeOnly = false  )  const

PNGImageReader* BC::BCPNGImageDecoder::reader (  )  [inline]

void BC::BCPNGImageDecoder::decodingFailed (  )  [inline]

void BC::BCPNGImageDecoder::headerAvailable (  ) 

void BC::BCPNGImageDecoder::rowAvailable ( unsigned char *  rowBuffer,
unsigned  rowIndex,
int  interlacePass 
)

void BC::BCPNGImageDecoder::pngComplete (  ) 

virtual void BC::BCPNGImageDecoder::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::BCPNGImageDecoder::isSizeAvailable (  )  const [virtual]

Whether or not the size information has been decoded yet.

Implements BAL::BIImageDecoder.

virtual BAL::RGBA32Buffer* BC::BCPNGImageDecoder::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::BCPNGImageDecoder::supportsAlpha (  )  const [inline, virtual]

Whether or not the underlying image format even supports alpha transparency.

Implements BAL::BIImageDecoder.

virtual IntSize BC::BCPNGImageDecoder::size (  )  const [inline, virtual]

Requests the size.

Implements BAL::BIImageDecoder.

virtual int BC::BCPNGImageDecoder::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::BCPNGImageDecoder::repetitionCount (  )  const [inline, virtual]

The number of repetitions to perform for an animation loop.

Implements BAL::BIImageDecoder.

void BC::BCPNGImageDecoder::decode ( bool  sizeOnly = false  )  const

PNGImageReader* BC::BCPNGImageDecoder::reader (  )  [inline]

void BC::BCPNGImageDecoder::decodingFailed (  )  [inline]

void BC::BCPNGImageDecoder::headerAvailable (  ) 

void BC::BCPNGImageDecoder::rowAvailable ( unsigned char *  rowBuffer,
unsigned  rowIndex,
int  interlacePass 
)

void BC::BCPNGImageDecoder::pngComplete (  ) 


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 20:04:19 2007 for Origyn Web Browser by Doxygen 1.5.3

pleyo.com
pleyo.com