diff options
author | BlueWall | 2012-01-05 17:54:51 -0500 |
---|---|---|
committer | BlueWall | 2012-01-05 17:54:51 -0500 |
commit | f252161941f10e1d303b372b946945fb6b548019 (patch) | |
tree | 6037b7ddcb488dc17258f60cfb52756b86f718d6 /OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs | |
parent | Merge branch 'new_modules' (diff) | |
parent | Add a "j2k decode" region console command that allows a manual request for a ... (diff) | |
download | opensim-SC_OLD-f252161941f10e1d303b372b946945fb6b548019.zip opensim-SC_OLD-f252161941f10e1d303b372b946945fb6b548019.tar.gz opensim-SC_OLD-f252161941f10e1d303b372b946945fb6b548019.tar.bz2 opensim-SC_OLD-f252161941f10e1d303b372b946945fb6b548019.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IJ2KDecoder.cs')
-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 | } |