summaryrefslogtreecommitdiff
path: root/indra/llimage/llimagepng.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llimage/llimagepng.h')
-rw-r--r--indra/llimage/llimagepng.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/indra/llimage/llimagepng.h b/indra/llimage/llimagepng.h
new file mode 100644
index 0000000000..e12a5cc1f9
--- /dev/null
+++ b/indra/llimage/llimagepng.h
@@ -0,0 +1,31 @@
+/*
+ * @file llimagepng.h
+ *
+ * Copyright (c) 2007 Peekay Semyorka.
+ * Copyright (c) 2007-$CurrentYear$, Linden Research, Inc.
+ * $License$
+ */
+
+#ifndef LL_LLIMAGEPNG_H
+#define LL_LLIMAGEPNG_H
+
+#include "stdtypes.h"
+#include "llimage.h"
+
+class LLImagePNG : public LLImageFormatted
+{
+protected:
+ ~LLImagePNG();
+
+public:
+ LLImagePNG();
+
+ BOOL updateData();
+ BOOL decode(LLImageRaw* raw_image, F32 decode_time = 0.0);
+ BOOL encode(const LLImageRaw* raw_image, F32 encode_time = 0.0);
+
+private:
+ U8* mTmpWriteBuffer;
+};
+
+#endif