diff options
author | Jeff Ames | 2008-12-30 01:08:07 +0000 |
---|---|---|
committer | Jeff Ames | 2008-12-30 01:08:07 +0000 |
commit | 2be0f7a6f0b66e25b0d7e0e6cfee93f0c41b562b (patch) | |
tree | c39317267e7f1d634fc1a922ded51c6e48e329d1 /OpenSim/Framework/OpenJpeg/pi.cs | |
parent | Changing the default Comms module to be RESTComms, in case none is specified ... (diff) | |
download | opensim-SC_OLD-2be0f7a6f0b66e25b0d7e0e6cfee93f0c41b562b.zip opensim-SC_OLD-2be0f7a6f0b66e25b0d7e0e6cfee93f0c41b562b.tar.gz opensim-SC_OLD-2be0f7a6f0b66e25b0d7e0e6cfee93f0c41b562b.tar.bz2 opensim-SC_OLD-2be0f7a6f0b66e25b0d7e0e6cfee93f0c41b562b.tar.xz |
Update svn properties, minor formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/OpenJpeg/pi.cs | 119 |
1 files changed, 71 insertions, 48 deletions
diff --git a/OpenSim/Framework/OpenJpeg/pi.cs b/OpenSim/Framework/OpenJpeg/pi.cs index f7e211f..7da7d71 100644 --- a/OpenSim/Framework/OpenJpeg/pi.cs +++ b/OpenSim/Framework/OpenJpeg/pi.cs | |||
@@ -1,48 +1,71 @@ | |||
1 | using System; | 1 | /* |
2 | using System.Collections.Generic; | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | using System.Text; | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | 4 | * | |
5 | namespace OpenSim.Framework.OpenJpeg | 5 | * Redistribution and use in source and binary forms, with or without |
6 | { | 6 | * modification, are permitted provided that the following conditions are met: |
7 | public static class pi | 7 | * * Redistributions of source code must retain the above copyright |
8 | { | 8 | * notice, this list of conditions and the following disclaimer. |
9 | } | 9 | * * Redistributions in binary form must reproduce the above copyright |
10 | 10 | * notice, this list of conditions and the following disclaimer in the | |
11 | public struct opj_pi_resolution | 11 | * documentation and/or other materials provided with the distribution. |
12 | { | 12 | * * Neither the name of the OpenSimulator Project nor the |
13 | public int pdx, pdy; | 13 | * names of its contributors may be used to endorse or promote products |
14 | public int pw, ph; | 14 | * derived from this software without specific prior written permission. |
15 | } | 15 | * |
16 | 16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | |
17 | public struct opj_pi_comp | 17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
18 | { | 18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
19 | public int dx, dy; | 19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY |
20 | public int numresolutions; | 20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
21 | public opj_pi_resolution resolutions; | 21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
22 | } | 22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
23 | 23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
24 | public struct obj_pi_iterator | 24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
25 | { | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | public sbyte tp_on; | 26 | */ |
27 | public short include; | 27 | |
28 | public int step_l; | 28 | using System; |
29 | public int step_r; | 29 | using System.Collections.Generic; |
30 | public int step_c; | 30 | using System.Text; |
31 | public int step_p; | 31 | |
32 | public int compno; | 32 | namespace OpenSim.Framework.OpenJpeg |
33 | public int resno; | 33 | { |
34 | public int precno; | 34 | public static class pi |
35 | public int layno; | 35 | { |
36 | public int first; | 36 | } |
37 | public opj_poc poc; | 37 | |
38 | public int numcomps; | 38 | public struct opj_pi_resolution |
39 | public opj_pi_comp comps; | 39 | { |
40 | 40 | public int pdx, pdy; | |
41 | public int tx0, ty0, tx1, ty1; | 41 | public int pw, ph; |
42 | public int x, y, dx, dy; | 42 | } |
43 | } | 43 | |
44 | 44 | public struct opj_pi_comp | |
45 | 45 | { | |
46 | 46 | public int dx, dy; | |
47 | 47 | public int numresolutions; | |
48 | } | 48 | public opj_pi_resolution resolutions; |
49 | } | ||
50 | |||
51 | public struct obj_pi_iterator | ||
52 | { | ||
53 | public sbyte tp_on; | ||
54 | public short include; | ||
55 | public int step_l; | ||
56 | public int step_r; | ||
57 | public int step_c; | ||
58 | public int step_p; | ||
59 | public int compno; | ||
60 | public int resno; | ||
61 | public int precno; | ||
62 | public int layno; | ||
63 | public int first; | ||
64 | public opj_poc poc; | ||
65 | public int numcomps; | ||
66 | public opj_pi_comp comps; | ||
67 | |||
68 | public int tx0, ty0, tx1, ty1; | ||
69 | public int x, y, dx, dy; | ||
70 | } | ||
71 | } | ||