summaryrefslogtreecommitdiff
path: root/indra/llimage/llimage.cpp
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2021-03-10 09:27:21 -0700
committerDave Houlton <euclid@lindenlab.com>2021-03-10 09:34:16 -0700
commit303feae305eb526d75b7d9c8b640407cb8003469 (patch)
tree0e322ed210d9600530f0d916fbb18f8330e6aee7 /indra/llimage/llimage.cpp
parent9fdd1582774a928242b7fec91bbd951b123296e8 (diff)
parent88d837c16e768c5262073a7df965066d4bd8842c (diff)
Merge branch 'master' v6.4.17 into DRTVWR-525
Diffstat (limited to 'indra/llimage/llimage.cpp')
-rw-r--r--indra/llimage/llimage.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp
index 350a8eb120..aed8943439 100644
--- a/indra/llimage/llimage.cpp
+++ b/indra/llimage/llimage.cpp
@@ -2219,11 +2219,20 @@ bool LLImageFormatted::save(const std::string &filename)
return true;
}
+// bool LLImageFormatted::save(LLVFS *vfs, const LLUUID &uuid, LLAssetType::EType type)
+// Depricated to remove VFS dependency.
+// Use:
+// LLVFile::writeFile(image->getData(), image->getDataSize(), vfs, uuid, type);
+
+//----------------------------------------------------------------------------
+
S8 LLImageFormatted::getCodec() const
{
return mCodec;
}
+//============================================================================
+
static void avg4_colors4(const U8* a, const U8* b, const U8* c, const U8* d, U8* dst)
{
dst[0] = (U8)(((U32)(a[0]) + b[0] + c[0] + d[0])>>2);