diff options
author | Oz Linden <oz@lindenlab.com> | 2011-01-06 14:31:17 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-01-06 14:31:17 -0500 |
commit | a9686db3e606ec45d23265fd34a1a35498f39857 (patch) | |
tree | b20758ac0beda679834eafbcdd203780449be334 /indra/llimagej2coj/llimagej2coj.h | |
parent | 7105d98e24185f9ce31be1fe1b26c3ae1552e71f (diff) | |
parent | 1034db639462d95e54e9bf9e4d63500b745bb0a2 (diff) |
merge changes for storm-438
Diffstat (limited to 'indra/llimagej2coj/llimagej2coj.h')
-rw-r--r-- | indra/llimagej2coj/llimagej2coj.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/llimagej2coj/llimagej2coj.h b/indra/llimagej2coj/llimagej2coj.h index 7edacbe97c..9476665ccb 100644 --- a/indra/llimagej2coj/llimagej2coj.h +++ b/indra/llimagej2coj/llimagej2coj.h @@ -34,17 +34,11 @@ class LLImageJ2COJ : public LLImageJ2CImpl public: LLImageJ2COJ(); virtual ~LLImageJ2COJ(); - 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); - int ceildivpow2(int a, int b) - { - // Divide a by b to the power of 2 and round upwards. - return (a + (1 << b) - 1) >> b; - } }; #endif |