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.

224 lines
6.5 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. #ifdef USE_BILINEAR_MSH26X
  68. DWORD PASCAL CompressBegin(LPINST, LPBITMAPINFOHEADER ,
  69. LPBITMAPINFOHEADER );
  70. DWORD PASCAL CompressQuery(LPINST, LPBITMAPINFOHEADER ,
  71. LPBITMAPINFOHEADER );
  72. DWORD PASCAL CompressFramesInfo( LPCODINST, ICCOMPRESSFRAMES *, int);
  73. DWORD PASCAL CompressGetFormat(LPINST, LPBITMAPINFOHEADER ,
  74. LPBITMAPINFOHEADER );
  75. DWORD PASCAL Compress(LPINST, ICCOMPRESS FAR *, DWORD );
  76. DWORD PASCAL CompressGetSize(LPINST, LPBITMAPINFOHEADER,
  77. LPBITMAPINFOHEADER);
  78. #else
  79. DWORD PASCAL CompressBegin(LPCODINST, LPBITMAPINFOHEADER ,
  80. LPBITMAPINFOHEADER );
  81. DWORD PASCAL CompressQuery(LPCODINST, LPBITMAPINFOHEADER ,
  82. LPBITMAPINFOHEADER );
  83. DWORD PASCAL CompressFramesInfo( LPCODINST, ICCOMPRESSFRAMES *, int);
  84. DWORD PASCAL CompressGetFormat(LPCODINST, LPBITMAPINFOHEADER ,
  85. LPBITMAPINFOHEADER );
  86. DWORD PASCAL Compress(LPCODINST, ICCOMPRESS FAR *, DWORD );
  87. DWORD PASCAL CompressGetSize(LPCODINST, LPBITMAPINFOHEADER,
  88. LPBITMAPINFOHEADER);
  89. #endif
  90. DWORD PASCAL CompressEnd(LPCODINST);
  91. DWORD PASCAL DecompressQuery(LPDECINST, ICDECOMPRESSEX FAR *, BOOL);
  92. DWORD PASCAL DecompressGetPalette(LPDECINST, LPBITMAPINFOHEADER, LPBITMAPINFOHEADER);
  93. DWORD PASCAL DecompressSetPalette(LPDECINST, LPBITMAPINFOHEADER, LPBITMAPINFOHEADER);
  94. #ifdef USE_BILINEAR_MSH26X
  95. DWORD PASCAL DecompressGetFormat(LPINST, LPBITMAPINFOHEADER, LPBITMAPINFOHEADER);
  96. #else
  97. DWORD PASCAL DecompressGetFormat(LPDECINST, LPBITMAPINFOHEADER, LPBITMAPINFOHEADER);
  98. #endif
  99. DWORD PASCAL DecompressBegin(LPDECINST, ICDECOMPRESSEX FAR *, BOOL);
  100. DWORD PASCAL Decompress(LPDECINST, ICDECOMPRESSEX FAR *, DWORD, BOOL);
  101. DWORD PASCAL DecompressEnd(LPDECINST);
  102. VOID MakeCode32(U16);
  103. BOOL PASCAL DrvLoad(VOID);
  104. VOID PASCAL DrvFree(VOID);
  105. LPINST PASCAL DrvOpen(ICOPEN FAR *);
  106. DWORD PASCAL DrvClose(LPINST);
  107. DWORD PASCAL DrvGetState(LPINST, LPVOID, DWORD);
  108. DWORD PASCAL DrvSetState(LPINST, LPVOID, DWORD);
  109. DWORD PASCAL DrvGetInfo(LPINST, ICINFO FAR *, DWORD);
  110. #ifdef WIN32
  111. LRESULT WINAPI DriverProc(DWORD, HDRVR, UINT, LPARAM, LPARAM);
  112. #else
  113. LRESULT FAR PASCAL _loadds DriverProc(DWORD, HDRVR, UINT, LPARAM, LPARAM);
  114. #endif
  115. LPCODINST PASCAL CompressOpen(VOID);
  116. DWORD PASCAL CompressEnd(LPCODINST);
  117. DWORD PASCAL CompressClose(DWORD);
  118. // controls.c
  119. #ifdef QUARTZ
  120. LRESULT __cdecl CustomChangeBrightness(LPDECINST, BYTE);
  121. LRESULT __cdecl CustomChangeContrast(LPDECINST, BYTE);
  122. LRESULT __cdecl CustomChangeSaturation(LPDECINST, BYTE);
  123. LRESULT __cdecl CustomGetBrightness(LPDECINST, BYTE *);
  124. LRESULT __cdecl CustomGetContrast(LPDECINST, BYTE *);
  125. LRESULT __cdecl CustomGetSaturation(LPDECINST, BYTE *);
  126. LRESULT __cdecl CustomResetBrightness(LPDECINST);
  127. LRESULT __cdecl CustomResetContrast(LPDECINST);
  128. LRESULT __cdecl CustomResetSaturation(LPDECINST);
  129. #else
  130. LRESULT CustomChangeBrightness(LPDECINST, BYTE);
  131. LRESULT CustomChangeContrast(LPDECINST, BYTE);
  132. LRESULT CustomChangeSaturation(LPDECINST, BYTE);
  133. LRESULT CustomResetBrightness(LPDECINST);
  134. LRESULT CustomResetContrast(LPDECINST);
  135. LRESULT CustomResetSaturation(LPDECINST);
  136. #endif
  137. #ifdef WIN32
  138. //BOOL DriverDialogProc(HWND, UINT, UINT, LONG);
  139. BOOL APIENTRY DllMain(HINSTANCE , DWORD , LPVOID );
  140. #else
  141. INT WINAPI LibMain(HANDLE, WORD, LPSTR);
  142. //BOOL FAR PASCAL _loadds _export DriverDialogProc(HWND, UINT, UINT, LONG);
  143. #endif
  144. ;// D3DEC.CPP
  145. LRESULT H263InitDecoderGlobal(void);
  146. LRESULT H263InitDecoderInstance(LPDECINST, int);
  147. #if defined(DECODE_TIMINGS_ON) || defined(DETAILED_DECODE_TIMINGS_ON) // { #if defined(DECODE_TIMINGS_ON) || defined(DETAILED_DECODE_TIMINGS_ON)
  148. LRESULT H263Decompress(LPDECINST, ICDECOMPRESSEX FAR *, BOOL, BOOL);
  149. LRESULT H263TermDecoderInstance(LPDECINST, BOOL);
  150. #else // }{ #if defined(DECODE_TIMINGS_ON) || defined(DETAILED_DECODE_TIMINGS_ON)
  151. LRESULT H263Decompress(LPDECINST, ICDECOMPRESSEX FAR *, BOOL);
  152. LRESULT H263TermDecoderInstance(LPDECINST);
  153. #endif // } #if defined(DECODE_TIMINGS_ON) || defined(DETAILED_DECODE_TIMINGS_ON)
  154. void FAR H26332BitEncoderCodeSegment (void);
  155. void FAR H26332BitDecoderCodeSegment (void);
  156. void FAR H26332BitColorConvertCodeSegment (void);
  157. ;// E3ENC.CPP
  158. LRESULT H263InitEncoderGlobal(void);
  159. #ifdef USE_BILINEAR_MSH26X
  160. LRESULT H263Compress(LPINST, ICCOMPRESS FAR *);
  161. LRESULT H263InitEncoderInstance(LPBITMAPINFOHEADER, LPCODINST);
  162. #else
  163. LRESULT H263Compress(LPCODINST, ICCOMPRESS FAR *);
  164. #if defined(H263P)
  165. LRESULT H263InitEncoderInstance(LPBITMAPINFOHEADER, LPCODINST);
  166. #else
  167. LRESULT H263InitEncoderInstance(LPCODINST);
  168. #endif
  169. #endif
  170. LRESULT H263TermEncoderInstance(LPCODINST);
  171. ;// D3COLOR.C
  172. LRESULT H263InitColorConvertorGlobal (void);
  173. LRESULT H263InitColorConvertor(LPDECINST, UINT);
  174. LRESULT H263TermColorConvertor(LPDECINST);
  175. #endif /* multi-inclusion protection */