28 static constexpr u32 ENCODE_LEVEL_DEFAULT = 7;
30 static constexpr u32 ENCODE_LEVEL_MAX = 9;
32 static constexpr u32 FOURCC_CODE_ZLIB = GX_FOURCC(
'Z',
'L',
'I',
'B');
73 RESULT encode(
GxStreamWriter& writer,
void* pInput, u32 inputSize, u32 level = ENCODE_LEVEL_DEFAULT);
96 static void* createDecoderHandle(u32 chunkSizeByte);
98 static b32 decodeByHandle(
void* pHandle,
GxStreamReader* pStreamReader,
void* pOutput, u32 outputSize, u32& encodeSize);
100 static b32 deleteDecoderHandle(
void* pHandle);
108 b32 _isRequestCancel;