summaryrefslogtreecommitdiff
path: root/indra/llimagej2coj/llimagej2coj.h
diff options
context:
space:
mode:
authorAyane <chanayane83@gmail.com>2025-05-06 14:26:35 +0200
committerGitHub <noreply@github.com>2025-05-06 15:26:35 +0300
commita30342a78b9309167c8c8d35a59049ce455b56b8 (patch)
tree3a290382cd7fbb642cd80752706049f367ecbcfb /indra/llimagej2coj/llimagej2coj.h
parentefdb86dcbb467232803c370a635c2bf12729361f (diff)
Fix and optimize openjpeg J2C encoder (#4017, #4032)
Diffstat (limited to 'indra/llimagej2coj/llimagej2coj.h')
-rw-r--r--indra/llimagej2coj/llimagej2coj.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llimagej2coj/llimagej2coj.h b/indra/llimagej2coj/llimagej2coj.h
index 498502451a..da49597302 100644
--- a/indra/llimagej2coj/llimagej2coj.h
+++ b/indra/llimagej2coj/llimagej2coj.h
@@ -29,6 +29,8 @@
#include "llimagej2c.h"
+const F32 LAST_TCP_RATE = 1.f/DEFAULT_COMPRESSION_RATE; // should be 8, giving a 1:8 ratio
+
class LLImageJ2COJ : public LLImageJ2CImpl
{
public: