diff options
Diffstat (limited to 'linden/indra/llimagej2coj')
-rw-r--r-- | linden/indra/llimagej2coj/llimagej2coj.cpp | 2 | ||||
-rw-r--r-- | linden/indra/llimagej2coj/llimagej2coj.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/llimagej2coj/llimagej2coj.cpp b/linden/indra/llimagej2coj/llimagej2coj.cpp index 9366a62..be6a087 100644 --- a/linden/indra/llimagej2coj/llimagej2coj.cpp +++ b/linden/indra/llimagej2coj/llimagej2coj.cpp | |||
@@ -193,7 +193,7 @@ BOOL LLImageJ2COJ::decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decod | |||
193 | } | 193 | } |
194 | 194 | ||
195 | 195 | ||
196 | BOOL LLImageJ2COJ::encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, const char* comment_text, F32 encode_time) | 196 | BOOL LLImageJ2COJ::encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, const char* comment_text, F32 encode_time, BOOL reversible) |
197 | { | 197 | { |
198 | const S32 MAX_COMPS = 5; | 198 | const S32 MAX_COMPS = 5; |
199 | opj_cparameters_t parameters; /* compression parameters */ | 199 | opj_cparameters_t parameters; /* compression parameters */ |
diff --git a/linden/indra/llimagej2coj/llimagej2coj.h b/linden/indra/llimagej2coj/llimagej2coj.h index 822ebc2..e896b0a 100644 --- a/linden/indra/llimagej2coj/llimagej2coj.h +++ b/linden/indra/llimagej2coj/llimagej2coj.h | |||
@@ -40,7 +40,8 @@ public: | |||
40 | protected: | 40 | protected: |
41 | /*virtual*/ BOOL getMetadata(LLImageJ2C &base); | 41 | /*virtual*/ BOOL getMetadata(LLImageJ2C &base); |
42 | /*virtual*/ BOOL decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decode_time, S32 first_channel, S32 max_channel_count); | 42 | /*virtual*/ BOOL decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decode_time, S32 first_channel, S32 max_channel_count); |
43 | /*virtual*/ BOOL encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, const char* comment_text, F32 encode_time=0.0); | 43 | /*virtual*/ BOOL encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, const char* comment_text, F32 encode_time=0.0, |
44 | BOOL reversible = FALSE); | ||
44 | int ceildivpow2(int a, int b) | 45 | int ceildivpow2(int a, int b) |
45 | { | 46 | { |
46 | // Divide a by b to the power of 2 and round upwards. | 47 | // Divide a by b to the power of 2 and round upwards. |