#include <OgreILImageCodec.h>
Inheritance diagram for Ogre::ILImageCodec:
Public Methods | |
ILImageCodec () | |
virtual | ~ILImageCodec () |
virtual void | code (const DataChunk &input, DataChunk *output,...) const=0 |
Codes the data in the input chunk and saves the result in the output chunk. | |
virtual CodecData * | decode (const DataChunk &input, DataChunk *output,...) const |
Codes the data from the input chunk into the output chunk. | |
void | codeToFile (const DataChunk &input, const String &outFileName, CodecData *pData) const |
Encodes data to a file. | |
virtual String | getType () const=0 |
Returns the type of the codec as a String. | |
virtual unsigned int | getILType (void) const=0 |
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. | |
Static Private Attributes | |
bool | _is_initialised = false |
Definition at line 37 of file OgreILImageCodec.h.
|
Definition at line 44 of file OgreCodec.h. |
|
Definition at line 43 of file OgreILImageCodec.h. |
|
Definition at line 47 of file OgreILImageCodec.h. |
|
Codes the data in the input chunk and saves the result in the output chunk.
Implements Ogre::ImageCodec. Implemented in Ogre::BMPCodec, Ogre::DDSCodec, Ogre::JPEGCodec, Ogre::PNGCodec, and Ogre::TGACodec. |
|
Encodes data to a file.
Implements Ogre::ImageCodec. |
|
Codes the data from the input chunk into the output chunk.
Implements Ogre::ImageCodec. Reimplemented in Ogre::BMPCodec, Ogre::DDSCodec, Ogre::JPEGCodec, and Ogre::TGACodec. Definition at line 64 of file OgreILImageCodec.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(). |
|
Implemented in Ogre::BMPCodec, Ogre::DDSCodec, Ogre::JPEGCodec, Ogre::PNGCodec, and Ogre::TGACodec. Referenced by decode(). |
|
Returns the type of the codec as a String.
Implements Ogre::ImageCodec. Implemented in Ogre::BMPCodec, Ogre::DDSCodec, Ogre::JPEGCodec, Ogre::JPGCodec, Ogre::PNGCodec, and Ogre::TGACodec. |
|
Definition at line 114 of file OgreILImageCodec.cpp. References _is_initialised. |
|
Registers a new codec in the database.
Definition at line 63 of file OgreCodec.h. References Ogre::Codec::getType(). |
|
Definition at line 37 of file OgreILImageCodec.cpp. Referenced by initialiseIL(). |
|
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 Wed Jan 21 00:17:55 2004