X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fapi_drv_video.h;h=4607b855de2bf8073dba520230290d15f24f0374;hb=986a763a1f3ee23b2fe3e809e2b5f023d9df6898;hp=0d681feefc22e6fe19363243779f2162d6e4cb05;hpb=e7a76b0d8a0cc6aa77966509780973a6f8216ef7;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