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.

69 lines
1.8 KiB

  1. //==========================================================================;
  2. //
  3. // Default values
  4. //
  5. // $Date: 18 Mar 1999 14:30:18 $
  6. // $Revision: 1.1 $
  7. // $Author: KLEBANOV $
  8. //
  9. // $Copyright: (c) 1997 - 1998 ATI Technologies Inc. All Rights Reserved. $
  10. //
  11. //==========================================================================;
  12. const int NumBuffers = 8;
  13. // Hardcoded for NTSC for now
  14. const int SamplingFrequency = 28636363;
  15. const int NTSCFrameDuration = 333667;
  16. const int NTSCFieldDuration = NTSCFrameDuration/2;
  17. const int NTSCFrameRate = 30;
  18. const int PALFrameDuration = 400000;
  19. const int PALFieldDuration = PALFrameDuration/2;
  20. const int PALFrameRate = 25;
  21. const int DefWidth = 320;
  22. const int DefHeight = 240;
  23. const int QCIFWidth = 176;
  24. const int QCIFHeight = 144;
  25. const int NTSCMaxInWidth = 720;
  26. const int NTSCMinInWidth = 80;
  27. const int NTSCMaxInHeight = 480;
  28. const int NTSCMinInHeight = 60;
  29. const int NTSCMaxOutWidth = 720; // 320
  30. const int NTSCMinOutWidth = 80;
  31. const int NTSCMaxOutHeight = 240; // 240
  32. const int NTSCMinOutHeight = 60;
  33. const int PALMaxInWidth = 720;
  34. const int PALMinInWidth = 80;//90;
  35. const int PALMaxInHeight = 480;//576;
  36. const int PALMinInHeight = 60;//72;
  37. const int PALMaxOutWidth = 720; // 320
  38. const int PALMinOutWidth = 80;//90;
  39. const int PALMaxOutHeight = 240;//288; // 240
  40. const int PALMinOutHeight = 30;//72;
  41. const int VBISamples = 800 * 2;
  42. // hack
  43. const int VREFDiscard = 8;
  44. const int NTSCVBIStart = 10; // inclusive
  45. const int NTSCVBIEnd = 21; // inclusive
  46. const int NTSCVBILines = (NTSCVBIEnd - NTSCVBIStart) + 1;
  47. const int PALVBIStart = 10; // Paultest
  48. const int PALVBIEnd = 25; // Paultest
  49. const int PALVBILines = (PALVBIEnd - PALVBIStart) + 1;