*/\r
typedef struct sVideo_IOCtl_Bitmap\r
{\r
- Sint16 W; //!< Width of image\r
- Sint16 H; //!< Height of image\r
+ Uint16 W; //!< Width of image\r
+ Uint16 H; //!< Height of image\r
Sint16 XOfs; //!< X Offset of center\r
Sint16 YOfs; //!< Y Offset of center\r
Uint32 Data[]; //!< Image data (ARGB array)\r
-} tVideo_IOCtl_Bitmap;\r
+} PACKED tVideo_IOCtl_Bitmap;\r
\r
/**\r
* \brief Virtual Terminal Representation of a character\r
* easing the driver development and reducing code duplication.\r
*/\r
extern void VT_Font_Render(Uint32 Codepoint, void *Buffer, int Depth, int Pitch, Uint32 BGC, Uint32 FGC);\r
+/**\r
+ * \brief Convert a colour from 24bpp 8:8:8 to 12bpp 4:4:4\r
+ */\r
+extern Uint16 VT_Colour24to12(Uint32 Col24);\r
/**\r
* \fn Uint32 VT_Colour12to24(Uint16 Col12)\r
* \brief Converts a colour from 12bpp to 24bpp\r