X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fapi_drv_video.h;h=4607b855de2bf8073dba520230290d15f24f0374;hb=3612a6ef234e1928762239d4f47d0f04b0aa15a6;hp=0d681feefc22e6fe19363243779f2162d6e4cb05;hpb=3a9ef7ac5cfc8cb086efee3aa01df781ba54aa30;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/api_drv_video.h b/KernelLand/Kernel/include/api_drv_video.h index 0d681fee..4607b855 100644 --- a/KernelLand/Kernel/include/api_drv_video.h +++ b/KernelLand/Kernel/include/api_drv_video.h @@ -273,6 +273,10 @@ extern int giVT_CharHeight; * easing the driver development and reducing code duplication. */ extern void VT_Font_Render(Uint32 Codepoint, void *Buffer, int Depth, int Pitch, Uint32 BGC, Uint32 FGC); +/** + * \brief Convert a colour from 24bpp 8:8:8 to 12bpp 4:4:4 + */ +extern Uint16 VT_Colour24to12(Uint32 Col24); /** * \fn Uint32 VT_Colour12to24(Uint16 Col12) * \brief Converts a colour from 12bpp to 24bpp