int status;
BYTE* pSrcData;
UINT32 SrcSize;
- UINT32 DstSize;
BYTE* pDstData = NULL;
CLEAR_CONTEXT* clear;
SrcSize = sizeof(TEST_CLEAR_EXAMPLE_1) - 1;
pSrcData = (BYTE*) TEST_CLEAR_EXAMPLE_1;
- status = clear_decompress(clear, pSrcData, SrcSize, &pDstData, &DstSize);
+ status = clear_decompress(clear, pSrcData, SrcSize, &pDstData, PIXEL_FORMAT_XRGB32, 0, 0, 0, 0, 0);
printf("clear_decompress example 1 status: %d\n", status);
int status;
BYTE* pSrcData;
UINT32 SrcSize;
- UINT32 DstSize;
BYTE* pDstData = NULL;
CLEAR_CONTEXT* clear;
SrcSize = sizeof(TEST_CLEAR_EXAMPLE_2) - 1;
pSrcData = (BYTE*) TEST_CLEAR_EXAMPLE_2;
- status = clear_decompress(clear, pSrcData, SrcSize, &pDstData, &DstSize);
+ status = clear_decompress(clear, pSrcData, SrcSize, &pDstData, PIXEL_FORMAT_XRGB32, 0, 0, 0, 0, 0);
printf("clear_decompress example 2 status: %d\n", status);
int status;
BYTE* pSrcData;
UINT32 SrcSize;
- UINT32 DstSize;
BYTE* pDstData = NULL;
CLEAR_CONTEXT* clear;
SrcSize = sizeof(TEST_CLEAR_EXAMPLE_3) - 1;
pSrcData = (BYTE*) TEST_CLEAR_EXAMPLE_3;
- status = clear_decompress(clear, pSrcData, SrcSize, &pDstData, &DstSize);
+ status = clear_decompress(clear, pSrcData, SrcSize, &pDstData, PIXEL_FORMAT_XRGB32, 0, 0, 0, 0, 0);
printf("clear_decompress example 3 status: %d\n", status);
int status;
BYTE* pSrcData;
UINT32 SrcSize;
- UINT32 DstSize;
BYTE* pDstData = NULL;
CLEAR_CONTEXT* clear;
SrcSize = sizeof(TEST_CLEAR_EXAMPLE_4) - 1;
pSrcData = (BYTE*) TEST_CLEAR_EXAMPLE_4;
- status = clear_decompress(clear, pSrcData, SrcSize, &pDstData, &DstSize);
+ status = clear_decompress(clear, pSrcData, SrcSize, &pDstData, PIXEL_FORMAT_XRGB32, 0, 0, 0, 0, 0);
printf("clear_decompress example 4 status: %d\n", status);