From 9d3309f6847a7406b2094201174cfa718cd60aa9 Mon Sep 17 00:00:00 2001 From: Adam Moss Date: Fri, 16 Mar 2007 11:39:49 +0000 Subject: SL-35314 - fix many openjpeg woes. QA'd. svn merge svn+ssh://svn.lindenlab.com/svn/linden/release@58887 svn+ssh://svn.lindenlab.com/svn/linden/branches/moss/SL-35314-based-on-r58887 --> release --- indra/llimage/llimagej2c.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'indra/llimage') diff --git a/indra/llimage/llimagej2c.h b/indra/llimage/llimagej2c.h index 1181ae2bb8..8a832677a3 100644 --- a/indra/llimage/llimagej2c.h +++ b/indra/llimage/llimagej2c.h @@ -68,7 +68,17 @@ class LLImageJ2CImpl public: virtual ~LLImageJ2CImpl(); protected: + // Find out the image size and number of channels. + // Return value: + // true: image size and number of channels was determined + // false: error on decode virtual BOOL getMetadata(LLImageJ2C &base) = 0; + // Decode the raw image optionally aborting (to continue later) after + // decode_time seconds. Decode at most max_channel_count and start + // decoding channel first_channel. + // Return value: + // true: decoding complete (even if it failed) + // false: time expired while decoding virtual BOOL decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decode_time, S32 first_channel, S32 max_channel_count) = 0; virtual BOOL encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, const char* comment_text, F32 encode_time=0.0) = 0; -- cgit v1.2.3