#include <OgreILCodecs.h>
Inheritance diagram for Ogre::JPEGCodec:
Public Methods | |
String | getType () const |
Returns the type of the codec as a String. | |
unsigned int | getILType (void) const |
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. | |
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. | |
void | unRegisterCodec (Codec *pCodec) |
Unregisters a codec from 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 69 of file OgreILCodecs.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::ImageCodec. Definition at line 42 of file OgreILImageCodec.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.
Implements Ogre::ImageCodec. Definition at line 80 of file OgreILImageCodec.cpp. References Ogre::DataChunk::allocate(), Except, Ogre::ILImageCodec::getILType(), Ogre::DataChunk::getPtr(), Ogre::DataChunk::getSize(), Ogre::IF_COMPRESSED, Ogre::IF_CUBEMAP, Ogre::ilFormat2OgreFormat(), OgreGuard, OgreUnguardRet, Ogre::RSC_TEXTURE_COMPRESSION_DXT, and Ogre::uint. |
|
Gets the codec registered for the passed in file extension.
Definition at line 37 of file OgreCodec.cpp. References Except, Ogre::Codec::ms_mapCodecs, and Ogre::String. |
|
Implements Ogre::ILImageCodec. Definition at line 82 of file OgreILCodecs.cpp. |
|
Returns the type of the codec as a String.
Implements Ogre::ILImageCodec. Reimplemented in Ogre::JPGCodec. Definition at line 72 of file OgreILCodecs.h. References Ogre::String. |
|
Definition at line 189 of file OgreILImageCodec.cpp. References Ogre::ILImageCodec::_is_initialised. |
|
Registers a new codec in the database.
Definition at line 65 of file OgreCodec.h. References Ogre::Codec::getType(). |
|
Unregisters a codec from the database.
Definition at line 72 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 Sun Nov 28 19:51:08 2004