From 215f423cbe18fe9ca14a26caef918d303bad28ff Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:11 -0500 Subject: Second Life viewer sources 1.18.4.0-RC --- linden/indra/llimagej2coj/llimagej2coj.cpp | 10 +++++++++- linden/indra/llimagej2coj/llimagej2coj.h | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'linden/indra/llimagej2coj') diff --git a/linden/indra/llimagej2coj/llimagej2coj.cpp b/linden/indra/llimagej2coj/llimagej2coj.cpp index be6a087..7a323c8 100644 --- a/linden/indra/llimagej2coj/llimagej2coj.cpp +++ b/linden/indra/llimagej2coj/llimagej2coj.cpp @@ -2,6 +2,8 @@ * @file llimagej2coj.cpp * @brief This is an implementation of JPEG2000 encode/decode using OpenJPEG. * + * $LicenseInfo:firstyear=2006&license=viewergpl$ + * * Copyright (c) 2006-2007, Linden Research, Inc. * * Second Life Viewer Source Code @@ -24,18 +26,24 @@ * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, * COMPLETENESS OR PERFORMANCE. + * $/LicenseInfo$ */ #include "linden_common.h" #include "llimagej2coj.h" // this is defined so that we get static linking. -#define OPJ_STATIC #include "openjpeg/openjpeg.h" #include "lltimer.h" #include "llmemory.h" +const char* fallbackEngineInfoLLImageJ2CImpl() +{ + return (std::string("OpenJPEG: " OPENJPEG_VERSION ", Runtime: ") + + opj_version()).c_str(); +} + LLImageJ2CImpl* fallbackCreateLLImageJ2CImpl() { return new LLImageJ2COJ(); diff --git a/linden/indra/llimagej2coj/llimagej2coj.h b/linden/indra/llimagej2coj/llimagej2coj.h index e896b0a..2922c4a 100644 --- a/linden/indra/llimagej2coj/llimagej2coj.h +++ b/linden/indra/llimagej2coj/llimagej2coj.h @@ -2,6 +2,8 @@ * @file llimagej2coj.h * @brief This is an implementation of JPEG2000 encode/decode using OpenJPEG. * + * $LicenseInfo:firstyear=2006&license=viewergpl$ + * * Copyright (c) 2006-2007, Linden Research, Inc. * * Second Life Viewer Source Code @@ -24,6 +26,7 @@ * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, * COMPLETENESS OR PERFORMANCE. + * $/LicenseInfo$ */ #ifndef LL_LLIMAGEJ2COJ_H -- cgit v1.1