summaryrefslogtreecommitdiff
path: root/indra/llkdu/llimagej2ckdu.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2010-12-24 11:36:15 -0800
committerMerov Linden <merov@lindenlab.com>2010-12-24 11:36:15 -0800
commit0c5bd3675babb0cbe6f3c7312350b71b8229e5d3 (patch)
treef5827f0e6d0222c2cc7d9ef908a6106f603a8ca3 /indra/llkdu/llimagej2ckdu.h
parente874b156c5861226fcca9d7bfa7f6131790eaf0d (diff)
STORM-744 : Took code review into account, moving stuff back in protected or even private, fix things to work in debug mode, some clean up in j2coj also
Diffstat (limited to 'indra/llkdu/llimagej2ckdu.h')
-rw-r--r--indra/llkdu/llimagej2ckdu.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/llkdu/llimagej2ckdu.h b/indra/llkdu/llimagej2ckdu.h
index 86ca54491e..5628f69eeb 100644
--- a/indra/llkdu/llimagej2ckdu.h
+++ b/indra/llkdu/llimagej2ckdu.h
@@ -50,18 +50,16 @@ public:
MODE_RESILIENT = 1,
MODE_FUSSY = 2
};
-
-public:
LLImageJ2CKDU();
virtual ~LLImageJ2CKDU();
-
-public:
+
+protected:
/*virtual*/ BOOL getMetadata(LLImageJ2C &base);
/*virtual*/ BOOL decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decode_time, S32 first_channel, S32 max_channel_count);
/*virtual*/ BOOL encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, const char* comment_text, F32 encode_time=0.0,
BOOL reversible=FALSE);
-protected:
+private:
void setupCodeStream(LLImageJ2C &base, BOOL keep_codestream, ECodeStreamMode mode);
void cleanupCodeStream();
BOOL initDecode(LLImageJ2C &base, LLImageRaw &raw_image, F32 decode_time, ECodeStreamMode mode, S32 first_channel, S32 max_channel_count );