diff options
author | Justin Clark-Casey (justincc) | 2012-01-05 22:40:49 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-05 22:40:49 +0000 |
commit | 5ea9740f1b2cc98601cfb15c19e190471c4c42ed (patch) | |
tree | 62c37ecf7740044fa01ebf99f0c3f36fef9be8a2 /OpenSim/Region/Framework | |
parent | Make "show asset" command available simulator side. Actually make the servic... (diff) | |
download | opensim-SC_OLD-5ea9740f1b2cc98601cfb15c19e190471c4c42ed.zip opensim-SC_OLD-5ea9740f1b2cc98601cfb15c19e190471c4c42ed.tar.gz opensim-SC_OLD-5ea9740f1b2cc98601cfb15c19e190471c4c42ed.tar.bz2 opensim-SC_OLD-5ea9740f1b2cc98601cfb15c19e190471c4c42ed.tar.xz |
Add a "j2k decode" region console command that allows a manual request for a JPEG2000 decode of an asset
For debugging purposes.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs b/OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs index 856eb11..0964276 100644 --- a/OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs +++ b/OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs | |||
@@ -35,6 +35,13 @@ namespace OpenSim.Region.Framework.Interfaces | |||
35 | public interface IJ2KDecoder | 35 | public interface IJ2KDecoder |
36 | { | 36 | { |
37 | void BeginDecode(UUID assetID, byte[] j2kData, DecodedCallback callback); | 37 | void BeginDecode(UUID assetID, byte[] j2kData, DecodedCallback callback); |
38 | void Decode(UUID assetID, byte[] j2kData); | 38 | |
39 | /// <summary> | ||
40 | /// Provides a synchronous decode so that caller can be assured that this executes before the next line | ||
41 | /// </summary> | ||
42 | /// <param name="assetID"></param> | ||
43 | /// <param name="j2kData"></param> | ||
44 | /// <returns>true if decode was successful. false otherwise.</returns> | ||
45 | bool Decode(UUID assetID, byte[] j2kData); | ||
39 | } | 46 | } |
40 | } | 47 | } |