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.

67 lines
2.1 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. // $Author: KLILLEVO $
  16. // $Date: 30 Aug 1996 08:41:42 $
  17. // $Archive: S:\h26x\src\dec\dxfm.h_v $
  18. // $Header: S:\h26x\src\dec\dxfm.h_v 1.6 30 Aug 1996 08:41:42 KLILLEVO $
  19. // $Log: S:\h26x\src\dec\dxfm.h_v $
  20. ;//
  21. ;// Rev 1.6 30 Aug 1996 08:41:42 KLILLEVO
  22. ;// changed bias in ClampTbl from 128 to CLAMP_BIAS (defined to 128)
  23. ;//
  24. ;// Rev 1.5 17 Jul 1996 15:34:14 AGUPTA2
  25. ;// Increased the size of clamping table ClampTbl to 128+256+128.
  26. ;//
  27. ;// Rev 1.4 08 Mar 1996 16:46:34 AGUPTA2
  28. ;// Modified the definition of CLIP_RANGE. Commented out decls for
  29. ;// ClipPixIntra and ClipPixInter.
  30. ;//
  31. ;//
  32. ;// Rev 1.3 27 Dec 1995 14:36:20 RMCKENZX
  33. ;// Added copyright notice
  34. //
  35. // Rev 1.2 12 Sep 1995 13:40:40 AKASAI
  36. //
  37. // Changed ClipPix to ClipPixIntra and added ClipPixInter.
  38. //
  39. // Rev 1.1 22 Aug 1995 10:29:32 CZHU
  40. //
  41. // Added #define to prevent multiple inclusion.
  42. //
  43. // Rev 1.0 21 Aug 1995 14:38:48 CZHU
  44. // Initial revision.
  45. #ifndef _DXFMIDCT_
  46. #define _DXFMIDCT_
  47. #define NUM_ELEM 64 // Number of elements in the block (8x8)
  48. #define KERNEL_SIZE 16 // Number of elements needed in kernel
  49. #define CLAMP_BIAS 128 // Bias in clamping table
  50. #define CLIP_RANGE CLAMP_BIAS + 256 + CLAMP_BIAS
  51. #define SCALER 13
  52. extern const I32 ROUNDER;
  53. extern const I8 Unique[];
  54. extern const I8 PClass[];
  55. extern const I32 KernelCoeff[NUM_ELEM][10];
  56. extern const I8 MapMatrix[NUM_ELEM][KERNEL_SIZE];
  57. extern const U8 ClampTbl[CLIP_RANGE];
  58. #endif //_DXFMIDCT_