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.

72 lines
2.8 KiB

  1. /* *************************************************************************
  2. ** INTEL Corporation Proprietary Information
  3. **
  4. ** This listing is supplied under the terms of a license
  5. ** agreement with INTEL Corporation and may not be copied
  6. ** nor disclosed except in accordance with the terms of
  7. ** that agreement.
  8. **
  9. ** Copyright (c) 1995 Intel Corporation.
  10. ** All Rights Reserved.
  11. **
  12. ** *************************************************************************
  13. */
  14. ;////////////////////////////////////////////////////////////////////////////
  15. ;//
  16. ;// $Author: AKASAI $
  17. ;// $Date: 09 Jan 1996 09:41:56 $
  18. ;// $Archive: S:\h26x\src\dec\d1const.h_v $
  19. ;// $Header: S:\h26x\src\dec\d1const.h_v 1.1 09 Jan 1996 09:41:56 AKASAI $
  20. ;// $Log: S:\h26x\src\dec\d1const.h_v $
  21. ;//
  22. ;// Rev 1.1 09 Jan 1996 09:41:56 AKASAI
  23. ;// Updated copyright notice.
  24. ;//
  25. ;// Rev 1.0 11 Sep 1995 13:51:06 SCDAY
  26. ;// Initial revision.
  27. ;//
  28. ;// Rev 1.0 31 Jul 1995 13:00:02 DBRUCKS
  29. ;// Initial revision.
  30. ;//
  31. ;// Rev 1.0 17 Jul 1995 14:46:20 CZHU
  32. ;// Initial revision.
  33. ;//
  34. ;// Rev 1.0 17 Jul 1995 14:14:26 CZHU
  35. ;// Initial revision.
  36. ;////////////////////////////////////////////////////////////////////////////
  37. #ifndef __DECCONST_H__
  38. #define __DECCONST_H__
  39. /*
  40. This file declares symbolic constants used by the MRV decoder, post filtering
  41. functions, and color convertors.
  42. */
  43. #define BEFTRIGGER 143 /* See bef.asm for the magic behind these values.*/
  44. #define BEFWILLING 125
  45. #define BEFUNWILLING 10
  46. #define BEFENDOFLINE 21
  47. #define BEFENDOFFRAME 246
  48. #define INVALIDINTERBLOCK 0
  49. #define INVALIDCOPYBLOCK 1
  50. #define NOMOREBLOCKS 2
  51. // Already defined in e1enc.h
  52. //#define INTRABLOCK 3
  53. //#define INTERBLOCK 4
  54. #define COPYBLOCK 5
  55. #define OFFSETTOYARCHIVE 311688L /* Distance from FrmPost to FrmArch in Y.
  56. That's 648 * 481. 648 to allow maximum
  57. width of 640, plus 1 column for some useful
  58. zoom-by-2 color convertors. 8 instead of
  59. 1 to stay longword aligned, and instead of
  60. 4 to stay quadword aligned for possible
  61. benefit of future processors. 481 to allow
  62. extra line for some useful zoom-by-2 color
  63. convertors. */
  64. #define VPITCH 336 /* U & V interleaved, with constant pitch of */
  65. /* 336. This makes color conversion easier. */
  66. #define OFFSETV2U 168 /* Distance from V pel to corresponding U */
  67. #endif