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.

194 lines
5.4 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: MDUDA $
  17. // $Date: 30 Dec 1996 19:59:06 $
  18. // $Archive: S:\h26x\src\common\cproto.h_v $
  19. // $Header: S:\h26x\src\common\cproto.h_v 1.9 30 Dec 1996 19:59:06 MDUDA $
  20. // $Log: S:\h26x\src\common\cproto.h_v $
  21. ;//
  22. ;// Rev 1.9 30 Dec 1996 19:59:06 MDUDA
  23. ;// Modified H263InitEncoderInstance prototype.
  24. ;//
  25. ;// Rev 1.8 25 Sep 1996 17:23:28 BECHOLS
  26. ;// Added Snapshot declaration.
  27. ;//
  28. ;// Rev 1.7 24 Sep 1996 13:49:06 BECHOLS
  29. ;// Added Snapshot() prototype.
  30. ;//
  31. ;// Rev 1.6 10 Jul 1996 08:26:42 SCDAY
  32. ;// H261 Quartz merge
  33. ;//
  34. ;// Rev 1.5 02 Feb 1996 18:52:56 TRGARDOS
  35. ;// Added code to enable ICM_COMPRESS_FRAMES_INFO message.
  36. ;//
  37. ;// Rev 1.4 27 Dec 1995 14:11:58 RMCKENZX
  38. ;//
  39. ;// Added copyright notice
  40. //
  41. ////////////////////////////////////////////////////////////////////////////
  42. /*
  43. * Prototypes for Low Bitrate VFW Codec
  44. */
  45. #ifndef LB3PROTOIZE_H
  46. #define LB3PROTOIZE_H
  47. #ifndef VOID
  48. #define VOID void
  49. #endif
  50. #ifndef WIN32
  51. #ifndef FAR
  52. #define FAR __far
  53. #endif
  54. #endif
  55. #ifndef INLINE
  56. #define INLINE __inline
  57. #endif
  58. #ifndef STATIC
  59. #define STATIC static
  60. #endif
  61. #ifndef SHORT
  62. #define SHORT short
  63. #endif
  64. #ifndef S8
  65. #define S8 signed char
  66. #endif
  67. DWORD PASCAL CompressBegin(LPCODINST, LPBITMAPINFOHEADER ,
  68. LPBITMAPINFOHEADER );
  69. DWORD PASCAL CompressQuery(LPCODINST, LPBITMAPINFOHEADER ,
  70. LPBITMAPINFOHEADER );
  71. DWORD PASCAL CompressFramesInfo( LPCODINST, ICCOMPRESSFRAMES *, int);
  72. DWORD PASCAL CompressGetFormat(LPCODINST, LPBITMAPINFOHEADER ,
  73. LPBITMAPINFOHEADER );
  74. DWORD PASCAL Compress(LPCODINST, ICCOMPRESS FAR *, DWORD );
  75. DWORD PASCAL CompressGetSize(LPCODINST, LPBITMAPINFOHEADER,
  76. LPBITMAPINFOHEADER);
  77. DWORD PASCAL CompressEnd(LPCODINST);
  78. DWORD PASCAL DecompressQuery(LPDECINST, ICDECOMPRESSEX FAR *, BOOL);
  79. DWORD PASCAL DecompressGetPalette(LPDECINST, LPBITMAPINFOHEADER, LPBITMAPINFOHEADER);
  80. DWORD PASCAL DecompressSetPalette(LPDECINST, LPBITMAPINFOHEADER, LPBITMAPINFOHEADER);
  81. DWORD PASCAL DecompressGetFormat(LPDECINST, LPBITMAPINFOHEADER, LPBITMAPINFOHEADER);
  82. DWORD PASCAL DecompressBegin(LPDECINST, ICDECOMPRESSEX FAR *, BOOL);
  83. DWORD PASCAL Decompress(LPDECINST, ICDECOMPRESSEX FAR *, DWORD, BOOL);
  84. DWORD PASCAL DecompressEnd(LPDECINST);
  85. DWORD PASCAL Snapshot(LPDECINST, LPVOID, DWORD);
  86. VOID MakeCode32(U16);
  87. BOOL PASCAL DrvLoad(VOID);
  88. VOID PASCAL DrvFree(VOID);
  89. LPINST PASCAL DrvOpen(ICOPEN FAR *);
  90. DWORD PASCAL DrvClose(LPINST);
  91. DWORD PASCAL DrvGetState(LPINST, LPVOID, DWORD);
  92. DWORD PASCAL DrvSetState(LPINST, LPVOID, DWORD);
  93. DWORD PASCAL DrvGetInfo(LPINST, ICINFO FAR *, DWORD);
  94. #ifdef WIN32
  95. LRESULT WINAPI DriverProc(DWORD, HDRVR, UINT, LPARAM, LPARAM);
  96. #else
  97. LRESULT FAR PASCAL _loadds DriverProc(DWORD, HDRVR, UINT, LPARAM, LPARAM);
  98. #endif
  99. LPCODINST PASCAL CompressOpen(VOID);
  100. DWORD PASCAL CompressEnd(LPCODINST);
  101. DWORD PASCAL CompressClose(DWORD);
  102. // controls.c
  103. #ifdef QUARTZ
  104. LRESULT __cdecl CustomChangeBrightness(LPDECINST, BYTE);
  105. LRESULT __cdecl CustomChangeContrast(LPDECINST, BYTE);
  106. LRESULT __cdecl CustomChangeSaturation(LPDECINST, BYTE);
  107. LRESULT __cdecl CustomGetBrightness(LPDECINST, BYTE *);
  108. LRESULT __cdecl CustomGetContrast(LPDECINST, BYTE *);
  109. LRESULT __cdecl CustomGetSaturation(LPDECINST, BYTE *);
  110. LRESULT __cdecl CustomResetBrightness(LPDECINST);
  111. LRESULT __cdecl CustomResetContrast(LPDECINST);
  112. LRESULT __cdecl CustomResetSaturation(LPDECINST);
  113. #else
  114. LRESULT CustomChangeBrightness(LPDECINST, BYTE);
  115. LRESULT CustomChangeContrast(LPDECINST, BYTE);
  116. LRESULT CustomChangeSaturation(LPDECINST, BYTE);
  117. LRESULT CustomResetBrightness(LPDECINST);
  118. LRESULT CustomResetContrast(LPDECINST);
  119. LRESULT CustomResetSaturation(LPDECINST);
  120. #endif
  121. #ifdef WIN32
  122. //BOOL DriverDialogProc(HWND, UINT, UINT, LONG);
  123. BOOL APIENTRY DllMain(HINSTANCE , DWORD , LPVOID );
  124. #else
  125. INT WINAPI LibMain(HANDLE, WORD, LPSTR);
  126. //BOOL FAR PASCAL _loadds _export DriverDialogProc(HWND, UINT, UINT, LONG);
  127. #endif
  128. ;// D3DEC.CPP
  129. LRESULT H263InitDecoderGlobal(void);
  130. LRESULT H263Decompress(LPDECINST, ICDECOMPRESSEX FAR *, BOOL);
  131. LRESULT H263InitDecoderInstance(LPDECINST, int);
  132. LRESULT H263TermDecoderInstance(LPDECINST);
  133. void FAR H26332BitEncoderCodeSegment (void);
  134. void FAR H26332BitDecoderCodeSegment (void);
  135. void FAR H26332BitColorConvertCodeSegment (void);
  136. ;// E3ENC.CPP
  137. LRESULT H263InitEncoderGlobal(void);
  138. LRESULT H263Compress(LPCODINST, ICCOMPRESS FAR *);
  139. #if defined(H263P)
  140. LRESULT H263InitEncoderInstance(LPBITMAPINFOHEADER, LPCODINST);
  141. #else
  142. LRESULT H263InitEncoderInstance(LPCODINST);
  143. #endif
  144. LRESULT H263TermEncoderInstance(LPCODINST);
  145. ;// D3COLOR.C
  146. LRESULT H263InitColorConvertorGlobal (void);
  147. LRESULT H263InitColorConvertor(LPDECINST, UINT);
  148. LRESULT H263TermColorConvertor(LPDECINST);
  149. #endif /* multi-inclusion protection */