Lines Matching refs:col
44 #define DLO_RGB_GETRED(col) (uint8_t)((col) & 0xFF) argument
47 #define DLO_RGB_GETGRN(col) (uint8_t)(((col) >> 8) & 0xFF) argument
50 #define DLO_RGB_GETBLU(col) (uint8_t)(((col) >> 16) & 0xFF) argument
62 static uint8_t rgb8(uint32_t col)
64 uint8_t red = DLO_RGB_GETRED(col);
65 uint8_t grn = DLO_RGB_GETGRN(col);
66 uint8_t blu = DLO_RGB_GETBLU(col);
71 static uint16_t rgb16(uint32_t col)
73 uint8_t red = DLO_RGB_GETRED(col);
74 uint8_t grn = DLO_RGB_GETGRN(col);
75 uint8_t blu = DLO_RGB_GETBLU(col);