home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warptlk3.zip / TOOLKIT / H / FOURCC.H < prev    next >
C/C++ Source or Header  |  1995-08-24  |  2KB  |  37 lines

  1. /***************************************************************************\
  2. *
  3. * Module Name: FOURCC.H
  4. *
  5. * OS/2 2.1 Multimedia Extensions Color space definitions
  6. *
  7. * Copyright (c) International Business Machines Corporation 1993, 1994
  8. *                         All Rights Reserved
  9. *
  10. *
  11. \****************************************************************************/
  12.  
  13. #ifndef _FOURCC_H_
  14. #define _FOURCC_H_
  15.  
  16. /* define the new color spaces - these actually map to FOURCC values */
  17. #define FOURCC_SCRN  0                                /* Use screen format.                  */
  18. #define FOURCC_GREY  mmioFOURCC( 'G', 'R', 'E', 'Y' ) /* Y8 (greyscale)                      */
  19. #define FOURCC_LUT8  mmioFOURCC( 'L', 'U', 'T', '8' ) /* 8-bit palettized                    */
  20. #define FOURCC_R565  mmioFOURCC( 'R', '5', '6', '5' ) /* RGB 565                             */
  21. #define FOURCC_R555  mmioFOURCC( 'R', '5', '5', '5' ) /* RGB 555                             */
  22. #define FOURCC_R664  mmioFOURCC( 'R', '6', '6', '4' ) /* RGB 664                             */
  23. #define FOURCC_RGB3  mmioFOURCC( 'R', 'G', 'B', '3' ) /* RGB 24                              */
  24. #define FOURCC_BGR3  mmioFOURCC( 'B', 'G', 'R', '3' ) /* BGR 24                              */
  25. #define FOURCC_RGB4  mmioFOURCC( 'R', 'G', 'B', '4' ) /* RGB 32  Includes extra padding byte */
  26. #define FOURCC_BGR4  mmioFOURCC( 'B', 'G', 'R', '4' ) /* BGR 32  Includes extra padding byte */
  27. #define FOURCC_Y888  mmioFOURCC( 'Y', '8', '8', '8' ) /* Y888                                */
  28. #define FOURCC_Y411  mmioFOURCC( 'Y', '4', '1', '1' ) /* YUV 411 interleaved 4x1 subsampled  */
  29. #define FOURCC_Y422  mmioFOURCC( 'Y', '4', '2', '2' ) /* YUV 422 (CCIR601) interleaved       */
  30. #define FOURCC_YUV9  mmioFOURCC( 'Y', 'U', 'V', '9' ) /* Indeo YUV multiplane                */
  31. #define FOURCC_Y2X2  mmioFOURCC( 'Y', '2', 'X', '2' ) /* YUV 2x2 subsampled multiplane       */
  32. #define FOURCC_Y4X4  mmioFOURCC( 'Y', '4', 'X', '4' ) /* YUV 4x4 subsampled multiplane       */
  33. #define FOURCC_Y644  mmioFOURCC( 'Y', '6', '4', '4' ) /* YUV 4x4 subsampled 2-plane.         */
  34. #define FOURCC_VGA   mmioFOURCC( 'V', 'G', 'A', ' ' ) /* VGA 16 Color mode multibit plane    */
  35.  
  36. #endif
  37.