org.ogre4j
Interface IDDSCodec
- All Superinterfaces:
- IAllocatedObject<IGeneralAllocPolicy>, ICodec, IGeneralAllocatedObject, IImageCodec, INativeObject
- All Known Implementing Classes:
- DDSCodec
public interface IDDSCodec
- extends INativeObject, IImageCodec
code
void code(IDataStreamPtr returnValue,
IMemoryDataStreamPtr input,
ICodec.ICodecDataPtr pData)
- Description copied from interface:
ICodec
- Codes the data in the input stream and saves the result in the output stream.
- Specified by:
code in interface ICodec
codeToFile
void codeToFile(IMemoryDataStreamPtr input,
java.lang.String outFileName,
ICodec.ICodecDataPtr pData)
- Description copied from interface:
ICodec
- Codes the data in the input chunk and saves the result in the output filename provided. Provided for efficiency since coding to memory is progressive therefore memory required is unknown leading to reallocations.
- Specified by:
codeToFile in interface ICodec
decode
void decode(ICodec.IDecodeResult returnValue,
IDataStreamPtr input)
- Description copied from interface:
ICodec
- Codes the data from the input chunk into the output chunk.
- Specified by:
decode in interface ICodec
magicNumberToFileExt
java.lang.String magicNumberToFileExt(java.lang.String magicNumberPtr,
int maxbytes)
- Description copied from interface:
ICodec
- Maps a magic number header to a file extension, if this codec recognises it.
- Specified by:
magicNumberToFileExt in interface ICodec
getType
java.lang.String getType()
- Description copied from interface:
ICodec
- Returns the type of the codec as a String
- Specified by:
getType in interface ICodec
Copyright © 2007 netAllied GmbH. All Rights Reserved.