Lines Matching refs:col
40 #define DLO_RGB_GETRED(col) (uint8_t)((col) & 0xFF) argument
43 #define DLO_RGB_GETGRN(col) (uint8_t)(((col) >> 8) & 0xFF) argument
46 #define DLO_RGB_GETBLU(col) (uint8_t)(((col) >> 16) & 0xFF) argument
58 static uint8_t rgb8(uint32_t col)
60 uint8_t red = DLO_RGB_GETRED(col);
61 uint8_t grn = DLO_RGB_GETGRN(col);
62 uint8_t blu = DLO_RGB_GETBLU(col);
67 static uint16_t rgb16(uint32_t col)
69 uint8_t red = DLO_RGB_GETRED(col);
70 uint8_t grn = DLO_RGB_GETGRN(col);
71 uint8_t blu = DLO_RGB_GETBLU(col);