aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llimagej2coj/llimagej2coj.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llimagej2coj/llimagej2coj.h')
-rw-r--r--linden/indra/llimagej2coj/llimagej2coj.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/llimagej2coj/llimagej2coj.h b/linden/indra/llimagej2coj/llimagej2coj.h
index 3fbf495..c3e3d52 100644
--- a/linden/indra/llimagej2coj/llimagej2coj.h
+++ b/linden/indra/llimagej2coj/llimagej2coj.h
@@ -40,6 +40,11 @@ protected:
40 /*virtual*/ BOOL getMetadata(LLImageJ2C &base); 40 /*virtual*/ BOOL getMetadata(LLImageJ2C &base);
41 /*virtual*/ BOOL decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decode_time, S32 first_channel, S32 max_channel_count); 41 /*virtual*/ BOOL decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decode_time, S32 first_channel, S32 max_channel_count);
42 /*virtual*/ BOOL encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, const char* comment_text, F32 encode_time=0.0); 42 /*virtual*/ BOOL encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, const char* comment_text, F32 encode_time=0.0);
43 int ceildivpow2(int a, int b)
44 {
45 // Divide a by b to the power of 2 and round upwards.
46 return (a + (1 << b) - 1) >> b;
47 }
43 48
44 // Temporary variables for in-progress decodes... 49 // Temporary variables for in-progress decodes...
45 LLImageRaw *mRawImagep; 50 LLImageRaw *mRawImagep;