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.

43 lines
1.3 KiB

  1. #pragma once
  2. //==========================================================================;
  3. //
  4. // CWDMVBICaptureStream - VBI Capture Stream class declarations
  5. //
  6. // $Date: 05 Aug 1998 11:22:46 $
  7. // $Revision: 1.0 $
  8. // $Author: Tashjian $
  9. //
  10. // $Copyright: (c) 1997 - 1998 ATI Technologies Inc. All Rights Reserved. $
  11. //
  12. //==========================================================================;
  13. #include "i2script.h"
  14. #include "aticonfg.h"
  15. #include "CapStrm.h"
  16. class CWDMVBICaptureStream : public CWDMCaptureStream
  17. {
  18. public:
  19. CWDMVBICaptureStream(PHW_STREAM_OBJECT pStreamObject,
  20. CWDMVideoDecoder * pCWDMVideoDecoder,
  21. PKSDATAFORMAT pKSDataFormat,
  22. PUINT puiErrorCode);
  23. ~CWDMVBICaptureStream();
  24. void * operator new(size_t size, void * pAllocation) { return(pAllocation);}
  25. void operator delete(void * pAllocation) {}
  26. private:
  27. PKS_VBIINFOHEADER m_pVBIInfoHeader; //
  28. KS_VBI_FRAME_INFO m_VBIFrameInfo;
  29. BOOL m_bVBIinitialized;
  30. void ResetFrameCounters();
  31. ULONG GetFrameSize() { return m_pVBIInfoHeader->BufferSize; }
  32. void GetDroppedFrames(PKSPROPERTY_DROPPEDFRAMES_CURRENT_S pDroppedFrames);
  33. BOOL GetCaptureHandle();
  34. VOID SetFrameInfo(PHW_STREAM_REQUEST_BLOCK);
  35. ULONG GetFieldInterval() { return 1; }
  36. };