C# 클래스 WhiteCore.Modules.Agent.J2KDecoder.J2KDecoderModule

상속: IService, IJ2KDecoder
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

BeginDecode() 공개 메소드

public BeginDecode ( UUID assetID, byte j2kData, DecodedCallback callback ) : void
assetID UUID
j2kData byte
callback DecodedCallback
리턴 void

Decode() 공개 메소드

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
리턴 bool

DecodeToImage() 공개 메소드

public DecodeToImage ( byte j2kData ) : Image
j2kData byte
리턴 Image

FinishedStartup() 공개 메소드

public FinishedStartup ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void

Start() 공개 메소드

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
리턴 void