From a30342a78b9309167c8c8d35a59049ce455b56b8 Mon Sep 17 00:00:00 2001 From: Ayane Date: Tue, 6 May 2025 14:26:35 +0200 Subject: Fix and optimize openjpeg J2C encoder (#4017, #4032) --- indra/llimagej2coj/llimagej2coj.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/llimagej2coj/llimagej2coj.h') 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: -- cgit v1.2.3