- switch(color_model)
- {
- case BC_RGB888:
- DUSTS(uint8_t, 3, 0x10, 0);
- break;
-
- case BC_RGB_FLOAT:
- DUSTS(float, 3, (float)0x10 / 0xff, 0);
- break;
-
- case BC_YUV888:
- DUSTS(uint8_t, 3, 0x10, 0x80);
- break;
-
- case BC_RGBA_FLOAT:
- DUSTS(float, 4, (float)0x10 / 0xff, 0);
- break;
-
- case BC_RGBA8888:
- DUSTS(uint8_t, 4, 0x10, 0);
- break;
-
- case BC_YUVA8888:
- DUSTS(uint8_t, 4, 0x10, 0x80);
- break;
-
- case BC_RGB161616:
- DUSTS(uint16_t, 3, 0x1000, 0);
- break;
-
- case BC_YUV161616:
- DUSTS(uint16_t, 3, 0x1000, 0x8000);
- break;
-
- case BC_RGBA16161616:
- DUSTS(uint16_t, 4, 0x1000, 0);
- break;
-
- case BC_YUVA16161616:
- DUSTS(uint16_t, 4, 0x1000, 0x8000);
- break;
+ switch( color_model ) {
+ case BC_RGB888:
+ DUSTS(uint8_t, 3, 0x10, 0);
+ break;
+
+ case BC_RGB_FLOAT:
+ DUSTS(float, 3, (float)0x10 / 0xff, 0);
+ break;
+
+ case BC_YUV888:
+ DUSTS(uint8_t, 3, 0x10, 0x80);
+ break;
+
+ case BC_RGBA_FLOAT:
+ DUSTS(float, 4, (float)0x10 / 0xff, 0);
+ break;
+
+ case BC_RGBA8888:
+ DUSTS(uint8_t, 4, 0x10, 0);
+ break;
+
+ case BC_YUVA8888:
+ DUSTS(uint8_t, 4, 0x10, 0x80);
+ break;
+
+ case BC_RGB161616:
+ DUSTS(uint16_t, 3, 0x1000, 0);
+ break;
+
+ case BC_YUV161616:
+ DUSTS(uint16_t, 3, 0x1000, 0x8000);
+ break;
+
+ case BC_RGBA16161616:
+ DUSTS(uint16_t, 4, 0x1000, 0);
+ break;
+
+ case BC_YUVA16161616:
+ DUSTS(uint16_t, 4, 0x1000, 0x8000);
+ break;