OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Region.Framework.Interfaces.IJ2KDecoder Interface Reference
Inheritance diagram for OpenSim.Region.Framework.Interfaces.IJ2KDecoder:
Inheritance graph
[legend]

Public Member Functions

void BeginDecode (UUID assetID, byte[] j2kData, DecodedCallback callback)
 
bool Decode (UUID assetID, byte[] j2kData)
 Provides a synchronous decode so that caller can be assured that this executes before the next line More...
 
bool Decode (UUID assetID, byte[] j2kData, out OpenJPEG.J2KLayerInfo[] layers, out int components)
 Provides a synchronous decode so that caller can be assured that this executes before the next line More...
 
Image DecodeToImage (byte[] j2kData)
 Provides a synchronous decode direct to an image object More...
 

Detailed Description

Definition at line 36 of file IJ2KDecoder.cs.

Member Function Documentation

void OpenSim.Region.Framework.Interfaces.IJ2KDecoder.BeginDecode ( UUID  assetID,
byte[]  j2kData,
DecodedCallback  callback 
)
bool OpenSim.Region.Framework.Interfaces.IJ2KDecoder.Decode ( UUID  assetID,
byte[]  j2kData 
)

Provides a synchronous decode so that caller can be assured that this executes before the next line

Parameters
assetID
j2kData
Returns
true if decode was successful. false otherwise.

Implemented in OpenSim.Region.CoreModules.Agent.TextureSender.J2KDecoderModule.

bool OpenSim.Region.Framework.Interfaces.IJ2KDecoder.Decode ( UUID  assetID,
byte[]  j2kData,
out OpenJPEG.J2KLayerInfo[]  layers,
out int  components 
)

Provides a synchronous decode so that caller can be assured that this executes before the next line

Parameters
assetID
j2kData
layerslayer data
componentsnumber of components
Returns
true if decode was successful. false otherwise.

Implemented in OpenSim.Region.CoreModules.Agent.TextureSender.J2KDecoderModule.

Image OpenSim.Region.Framework.Interfaces.IJ2KDecoder.DecodeToImage ( byte[]  j2kData)

Provides a synchronous decode direct to an image object

Parameters
j2kData
Returns
decoded image or 'null' of unsuccessful

Implemented in OpenSim.Region.CoreModules.Agent.TextureSender.J2KDecoderModule.


The documentation for this interface was generated from the following file: