Source code of Windows XP (NT5)
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.

40 lines
869 B

  1. // $Header: G:/SwDev/WDM/Video/bt848/rcs/Colfrmat.h 1.4 1998/04/29 22:43:30 tomz Exp $
  2. #ifndef __COLFRMAT_H
  3. #define __COLFRMAT_H
  4. /* Type: ColorFormat
  5. * Purpose: Enumerates all possible color formats that BtPisces can produce
  6. */
  7. #ifdef DOCUMENTATION
  8. Color Format Register Settings
  9. 0000 = RGB32
  10. 0001 = RGB24
  11. 0010 = RGB16
  12. 0011 = RGB15
  13. 0100 = YUY2 4:2:2
  14. 0101 = BtYUV 4:1:1
  15. 0110 = Y8
  16. 0111 = RGB8 (Dithered)
  17. 1000 = YCrCb 4:2:2 Planar
  18. 1001 = YCrCb 4:1:1 Planar
  19. 1010 = Reserved
  20. 1011 = Reserved
  21. 1100 = Reserved
  22. 1101 = Reserved
  23. 1110 = Raw 8X Data
  24. 1111 = Reserved
  25. #endif
  26. typedef enum
  27. {
  28. CF_BelowRange = -1, CF_RGB32, CF_RGB24, CF_RGB16, CF_RGB15, CF_YUY2,
  29. CF_BTYUV, CF_Y8, CF_RGB8, CF_PL_422, CF_PL_411, CF_YUV9, CF_YUV12, CF_VBI,
  30. CF_UYVY, CF_RAW = 0x0E, CF_I420, CF_AboveRange
  31. } ColFmt;
  32. #endif // __COLFRMAT_H