summaryrefslogtreecommitdiff
path: root/indra/llimage/llimage.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-04-04 18:58:34 -0700
committerMerov Linden <merov@lindenlab.com>2012-04-04 18:58:34 -0700
commit782981866a70f4a33a298c93ee80aaf138fdf459 (patch)
tree61a15a6a262bc6052750b6ca63049f3e97e70539 /indra/llimage/llimage.h
parentc6511d9c857c079e0360f88c05328feb70a8bc0d (diff)
SH-3060 : New byte range implementation. Intermediate (not working) state.
Diffstat (limited to 'indra/llimage/llimage.h')
-rw-r--r--indra/llimage/llimage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llimage/llimage.h b/indra/llimage/llimage.h
index 18f8ae2fbb..c5a7d6262e 100644
--- a/indra/llimage/llimage.h
+++ b/indra/llimage/llimage.h
@@ -320,6 +320,8 @@ public:
S8 getDiscardLevel() const { return mDiscardLevel; }
S8 getLevels() const { return mLevels; }
void setLevels(S8 nlevels) { mLevels = nlevels; }
+ S32 getLayers() const { return mLayers; }
+ void setLayers(S32 nlayers) { mLayers = nlayers; }
// setLastError needs to be deferred for J2C images since it may be called from a DLL
virtual void resetLastError();
@@ -334,6 +336,7 @@ protected:
S8 mDecoded; // unused, but changing LLImage layout requires recompiling static Mac/Linux libs. 2009-01-30 JC
S8 mDiscardLevel; // Current resolution level worked on. 0 = full res, 1 = half res, 2 = quarter res, etc...
S8 mLevels; // Number of resolution levels in that image. Min is 1. 0 means unknown.
+ S32 mLayers; // Number of quality layers in that image. Min is 1. 0 means unknown.
public:
static S32 sGlobalFormattedMemory;