summaryrefslogtreecommitdiff
path: root/indra/llimage/llimagejpeg.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-07-22 11:35:23 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-07-22 11:35:23 -0400
commitacdb050ce5e672a6e5c83ef6e95257ce68934d1b (patch)
tree813b9eed2014e311fd4d0a0c0a219feff73151d5 /indra/llimage/llimagejpeg.h
parentab07b1a46150aaf04e7fd80c141bc9c95656b065 (diff)
MAINT-6584: Convert LLImage class hierarchy to standard 'bool'
instead of legacy BOOL.
Diffstat (limited to 'indra/llimage/llimagejpeg.h')
-rw-r--r--indra/llimage/llimagejpeg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llimage/llimagejpeg.h b/indra/llimage/llimagejpeg.h
index 2142660c81..7a849a8421 100644
--- a/indra/llimage/llimagejpeg.h
+++ b/indra/llimage/llimagejpeg.h
@@ -51,9 +51,9 @@ public:
LLImageJPEG(S32 quality = 75);
/*virtual*/ std::string getExtension() { return std::string("jpg"); }
- /*virtual*/ BOOL updateData();
- /*virtual*/ BOOL decode(LLImageRaw* raw_image, F32 decode_time);
- /*virtual*/ BOOL encode(const LLImageRaw* raw_image, F32 encode_time);
+ /*virtual*/ bool updateData();
+ /*virtual*/ bool decode(LLImageRaw* raw_image, F32 decode_time);
+ /*virtual*/ bool encode(const LLImageRaw* raw_image, F32 encode_time);
void setEncodeQuality( S32 q ) { mEncodeQuality = q; } // on a scale from 1 to 100
S32 getEncodeQuality() { return mEncodeQuality; }
@@ -73,7 +73,7 @@ public:
static void errorEmitMessage(j_common_ptr cinfo, int msg_level);
static void errorOutputMessage(j_common_ptr cinfo);
- static BOOL decompress(LLImageJPEG* imagep);
+ static bool decompress(LLImageJPEG* imagep);
protected:
U8* mOutputBuffer; // temp buffer used during encoding