#include <stdio.h>
#include "dfd.h"
#define TESTRGB565 1
int main()
{
#ifdef TESTRGBA8888
uint32_t *DFD = createDFDUnpacked(0, 4, 1, 1, s_UNORM);
#endif
#ifdef TESTRG16
uint32_t *DFD = createDFDUnpacked(1, 2, 2, 0, s_UNORM);
#endif
#ifdef TESTRG64
uint32_t *DFD = createDFDUnpacked(0, 2, 8, 0, s_UNORM);
#endif
#ifdef TESTRGBA4444
int bits[] = {4,4,4,4};
int channels[] = {3,2,1,0};
uint32_t *DFD = createDFDPacked(1, 2, bits, channels, s_UNORM);
#endif
#ifdef TESTRGBA1010102
int bits[] = {10,10,10,2};
int channels[] = {0,1,2,3};
uint32_t *DFD = createDFDPacked(0, 4, bits, channels, s_UNORM);
#endif
#ifdef TESTRGB565
int bits[] = {5,6,5};
int channels[] = {0,1,2};
uint32_t *DFD = createDFDPacked(1, 3, bits, channels, s_UNORM);
#endif
printDFD(DFD);
return 0;
}