aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces
diff options
context:
space:
mode:
authorBlueWall2012-01-05 17:55:24 -0500
committerBlueWall2012-01-05 17:55:24 -0500
commitb06d8787906483b47bb02e8a5500dba6c3922cc1 (patch)
treea923322948d620994c07a2fcb266b4120ac4fe03 /OpenSim/Region/Framework/Interfaces
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
parentImprove "j2k decode" command to tell us how many layers and components were d... (diff)
downloadopensim-SC_OLD-b06d8787906483b47bb02e8a5500dba6c3922cc1.zip
opensim-SC_OLD-b06d8787906483b47bb02e8a5500dba6c3922cc1.tar.gz
opensim-SC_OLD-b06d8787906483b47bb02e8a5500dba6c3922cc1.tar.bz2
opensim-SC_OLD-b06d8787906483b47bb02e8a5500dba6c3922cc1.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs b/OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs
index 0964276..46d03b3 100644
--- a/OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs
+++ b/OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs
@@ -43,5 +43,15 @@ namespace OpenSim.Region.Framework.Interfaces
43 /// <param name="j2kData"></param> 43 /// <param name="j2kData"></param>
44 /// <returns>true if decode was successful. false otherwise.</returns> 44 /// <returns>true if decode was successful. false otherwise.</returns>
45 bool Decode(UUID assetID, byte[] j2kData); 45 bool Decode(UUID assetID, byte[] j2kData);
46
47 /// <summary>
48 /// Provides a synchronous decode so that caller can be assured that this executes before the next line
49 /// </summary>
50 /// <param name="assetID"></param>
51 /// <param name="j2kData"></param>
52 /// <param name="layers">layer data</param>
53 /// <param name="components">number of components</param>
54 /// <returns>true if decode was successful. false otherwise.</returns>
55 bool Decode(UUID assetID, byte[] j2kData, out OpenJPEG.J2KLayerInfo[] layers, out int components);
46 } 56 }
47} 57}