C# Class WhiteCore.Modules.Agent.J2KDecoder.J2KDecoderModule

Inheritance: IService, IJ2KDecoder
Afficher le fichier Open project: WhiteCoreSim/WhiteCore-Dev

Méthodes publiques

Méthode Description
BeginDecode ( UUID assetID, byte j2kData, DecodedCallback callback ) : void
Decode ( UUID assetID, byte j2kData ) : bool

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

DecodeToImage ( byte j2kData ) : Image
FinishedStartup ( ) : void
Initialize ( IConfigSource config, IRegistryCore registry ) : void
Start ( IConfigSource config, IRegistryCore registry ) : void

Private Methods

Méthode Description
CreateDefaultLayers ( int j2kLength ) : OpenMetaverse.Imaging.OpenJPEG.J2KLayerInfo[]
DoJ2KDecode ( UUID assetID, byte j2kData ) : bool

Decode Jpeg2000 Asset Data

DoJ2KDecode ( UUID assetID, byte j2kData, bool useCSJ2K ) : bool
SaveFileCacheForAsset ( UUID assetId, OpenJPEG layers ) : void
TryLoadCacheForAsset ( UUID assetId, OpenJPEG &layers ) : bool

Method Details

BeginDecode() public méthode

public BeginDecode ( UUID assetID, byte j2kData, DecodedCallback callback ) : void
assetID UUID
j2kData byte
callback DecodedCallback
Résultat void

Decode() public méthode

Provides a synchronous decode so that caller can be assured that this executes before the next line
public Decode ( UUID assetID, byte j2kData ) : bool
assetID UUID
j2kData byte
Résultat bool

DecodeToImage() public méthode

public DecodeToImage ( byte j2kData ) : Image
j2kData byte
Résultat Image

FinishedStartup() public méthode

public FinishedStartup ( ) : void
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

Start() public méthode

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void