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.

73 lines
1.8 KiB

  1. /******************************************************************************\
  2. * *
  3. * HEADERS.H - Hardware abstraction level library. *
  4. * *
  5. * Copyright (c) C-Cube Microsystems 1996 *
  6. * All Rights Reserved. *
  7. * *
  8. * Use of C-Cube Microsystems code is governed by terms and conditions *
  9. * stated in the accompanying licensing statement. *
  10. * *
  11. \******************************************************************************/
  12. // STREAM_NUMBER_CONTROL
  13. #define SELECT_STREAM_NUMBER
  14. //#define ZERO_STREAM_NUMBER
  15. // MICROCODE
  16. //#define MICROCODE_ACCEPTS_ANY_STREAM
  17. #ifdef DEBUG
  18. #ifndef _DEBUG
  19. #define _DEBUG
  20. #endif
  21. #if !defined( DBG ) || DBG != 1
  22. #ifdef DBG
  23. #undef DBG
  24. #endif
  25. #define DBG 1
  26. #endif
  27. #ifdef NDEBUG
  28. #error NDEBUG shouldn't be defined
  29. #endif
  30. #else // #ifdef DEBUG
  31. #ifdef _DEBUG
  32. #undef _DEBUG
  33. #endif
  34. #ifdef DBG
  35. #undef DBG
  36. #endif
  37. #ifndef NDEBUG
  38. #define NDEBUG
  39. #endif
  40. #endif // #ifdef DEBUG
  41. #ifdef USE_MONOCHROMEMONITOR
  42. #if USE_MONOCHROMEMONITOR != 1
  43. #undef USE_MONOCHROMEMONITOR
  44. #endif
  45. #endif
  46. #include <strmini.h>
  47. #if defined(ENCORE)
  48. enum ColorKeyType
  49. {
  50. CK_NOCOLORKEY = 0,
  51. CK_INDEX = 0x1,
  52. CK_RGB = 0x2
  53. };
  54. typedef struct tagCOLORKEY
  55. {
  56. DWORD KeyType;
  57. DWORD PaletteIndex;
  58. COLORREF LowColorValue;
  59. COLORREF HighColorValue;
  60. } COLORKEY;
  61. #endif
  62. #include <ksmedia.h>
  63. #include "zivawdm.h"
  64. #include "adapter.h"
  65. #include "monovxd.h"