vfw_pb_interface.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /****************************************************************************
  2. *
  3. * Module Title : VFW_PB_INTERFACE.H
  4. *
  5. * Description : Interface to video codec demo decompressor DLL
  6. *
  7. * AUTHOR : Paul Wilkins
  8. *
  9. *****************************************************************************
  10. * Revision History
  11. *
  12. * 1.03 YWX 17/Dec/02 Added enum for setup DeInteralcedMode
  13. * 1.02 JBB 25 AUG 00 Versioning
  14. * 1.01 PGW 29/06/99 Interface to DecodeFrame() changed.
  15. * 1.00 PGW 07/06/99 Baseline code.
  16. *
  17. *****************************************************************************
  18. */
  19. #ifndef VFW_PB_INTERFACE
  20. #define VFW_PB_INTERFACE
  21. #include "codec_common_interface.h"
  22. #include "type_aliases.h"
  23. typedef struct PB_INSTANCE * xPB_INST;
  24. //#include "pbdll.h"
  25. // Settings Control
  26. typedef enum
  27. {
  28. PBC_SET_POSTPROC,
  29. PBC_SET_CPUFREE,
  30. PBC_MAX_PARAM,
  31. PBC_SET_TESTMODE,
  32. PBC_SET_PBSTRUCT,
  33. PBC_SET_BLACKCLAMP,
  34. PBC_SET_WHITECLAMP,
  35. PBC_SET_REFERENCEFRAME,
  36. PBC_SET_DEINTERLACEMODE
  37. } PB_COMMAND_TYPE;
  38. #ifdef __cplusplus
  39. extern "C"
  40. {
  41. #endif
  42. extern BOOL CCONV VP5_StartDecoder( xPB_INST *pbi, UINT32 ImageWidth, UINT32 ImageHeight );
  43. extern void CCONV VP5_GetPbParam( xPB_INST, PB_COMMAND_TYPE Command, UINT32 *Parameter );
  44. extern void CCONV VP5_SetPbParam( xPB_INST, PB_COMMAND_TYPE Command, UINT32 Parameter );
  45. extern void CCONV VP5_GetYUVConfig( xPB_INST, YUV_BUFFER_CONFIG * YuvConfig );
  46. extern const char * CCONV VP31D_GetVersionNumber(void);
  47. extern int CCONV VP5_DecodeFrameToYUV( xPB_INST, char * VideoBufferPtr, unsigned int ByteCount,
  48. UINT32 ImageWidth, UINT32 ImageHeight );
  49. extern BOOL CCONV VP5_StopDecoder(xPB_INST *pbi);
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53. #endif