blob: e12a5cc1f9df69d0b3e9357faee1515022d9aabc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
|