Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
829 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file contains the output color buffer reading routine headers.
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997.
  6. //
  7. //-----------------------------------------------------------------------------
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. // Names are read LSB to MSB, so B5G6R5 means five bits of blue starting
  12. // at the LSB, then six bits of green, then five bits of red.
  13. D3DCOLOR MMX_BufRead_B8G8R8(PUINT8 pBits);
  14. D3DCOLOR MMX_BufRead_B8G8R8X8(PUINT8 pBits);
  15. D3DCOLOR MMX_BufRead_B8G8R8A8(PUINT8 pBits);
  16. D3DCOLOR MMX_BufRead_B5G6R5(PUINT8 pBits);
  17. D3DCOLOR MMX_BufRead_B5G5R5(PUINT8 pBits);
  18. D3DCOLOR MMX_BufRead_B5G5R5A1(PUINT8 pBits);
  19. D3DCOLOR MMX_BufRead_Palette8(PUINT8 pBits);
  20. #ifdef __cplusplus
  21. }
  22. #endif