#include <OgreBMPCodec.h>
Inheritance diagram for Ogre::BMPCodec:
Public Methods | |
void | code (const DataChunk &input, DataChunk *output,...) const |
Codes the data in the input chunk and saves the result in the output chunk. | |
CodecData * | decode (const DataChunk &input, DataChunk *output,...) const |
Codes the data from the input chunk into the output chunk. | |
String | getType () const |
Returns the type of the codec as a String. | |
unsigned int | getILType (void) const |
void | codeToFile (const DataChunk &input, const String &outFileName, CodecData *pData) const |
Encodes data to a file. | |
void | initialiseIL (void) |
Static Public Methods | |
void | registerCodec (Codec *pCodec) |
Registers a new codec in the database. | |
Codec * | getCodec (const String &extension) |
Gets the codec registered for the passed in file extension. | |
Protected Types | |
typedef std::map< String, Codec * > | CodecList |
Static Protected Attributes | |
CodecList | ms_mapCodecs |
A map that contains all the registered codecs. |
Definition at line 67 of file OgreBMPCodec.h.
|
Definition at line 44 of file OgreCodec.h. |
|
Codes the data in the input chunk and saves the result in the output chunk.
Implements Ogre::ILImageCodec. Definition at line 75 of file OgreBMPCodec.cpp. References Except, OgreGuard, and OgreUnguard. |
|
Encodes data to a file.
Implements Ogre::ImageCodec. |
|
Codes the data from the input chunk into the output chunk.
Reimplemented from Ogre::ILImageCodec. Definition at line 97 of file OgreBMPCodec.cpp. References Ogre::DataChunk::allocate(), Except, getILType(), Ogre::DataChunk::getPtr(), Ogre::DataChunk::getSize(), Ogre::ilFormat2OgreFormat(), OgreGuard, OgreUnguardRet, and Ogre::uint. |
|
Gets the codec registered for the passed in file extension.
Definition at line 35 of file OgreCodec.cpp. References Except, Ogre::Codec::ms_mapCodecs, and Ogre::String::toLowerCase(). |
|
Implements Ogre::ILImageCodec. Definition at line 196 of file OgreBMPCodec.cpp. Referenced by decode(). |
|
Returns the type of the codec as a String.
Implements Ogre::ILImageCodec. Definition at line 79 of file OgreBMPCodec.h. |
|
Definition at line 114 of file OgreILImageCodec.cpp. References Ogre::ILImageCodec::_is_initialised. |
|
Registers a new codec in the database.
Definition at line 63 of file OgreCodec.h. References Ogre::Codec::getType(). |
|
A map that contains all the registered codecs.
Definition at line 32 of file OgreCodec.cpp. Referenced by Ogre::Codec::getCodec(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:25:54 2004