20 lines
531 B
C++
20 lines
531 B
C++
#ifndef IDATDECODER_HPP
|
|
#define IDATDECODER_HPP
|
|
|
|
#include "include/array/GrowableObjectArray.hpp"
|
|
#include "include/array/GrowableByteArray.hpp"
|
|
#include "include/png/PNGChunkIDAT.hpp"
|
|
#include "include/png/PNGChunkIHDR.hpp"
|
|
|
|
class IDATDecoder{
|
|
|
|
public:
|
|
|
|
static unsigned char* decompressIDATChunks(GrowableObjectArray* idatchunks, unsigned long* resultLength);
|
|
|
|
static unsigned char** decodeIDATChunks(GrowableObjectArray* idatchunks ,unsigned long* resultLength, PNGChunkIHDR* imgInfo);
|
|
|
|
};
|
|
|
|
#endif // IDATDECODER_HPP
|