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.
44 lines
1.3 KiB
44 lines
1.3 KiB
#pragma once
|
|
|
|
//==========================================================================;
|
|
//
|
|
// CWDMVBICaptureStream - VBI Capture Stream class declarations
|
|
//
|
|
// $Date: 05 Aug 1998 11:22:46 $
|
|
// $Revision: 1.0 $
|
|
// $Author: Tashjian $
|
|
//
|
|
// $Copyright: (c) 1997 - 1998 ATI Technologies Inc. All Rights Reserved. $
|
|
//
|
|
//==========================================================================;
|
|
|
|
#include "i2script.h"
|
|
#include "aticonfg.h"
|
|
|
|
#include "CapStrm.h"
|
|
|
|
|
|
class CWDMVBICaptureStream : public CWDMCaptureStream
|
|
{
|
|
public:
|
|
CWDMVBICaptureStream(PHW_STREAM_OBJECT pStreamObject,
|
|
CWDMVideoDecoder * pCWDMVideoDecoder,
|
|
PKSDATAFORMAT pKSDataFormat,
|
|
PUINT puiErrorCode);
|
|
~CWDMVBICaptureStream();
|
|
|
|
void * operator new(size_t size, void * pAllocation) { return(pAllocation);}
|
|
void operator delete(void * pAllocation) {}
|
|
|
|
private:
|
|
PKS_VBIINFOHEADER m_pVBIInfoHeader; //
|
|
KS_VBI_FRAME_INFO m_VBIFrameInfo;
|
|
BOOL m_bVBIinitialized;
|
|
|
|
void ResetFrameCounters();
|
|
ULONG GetFrameSize() { return m_pVBIInfoHeader->BufferSize; }
|
|
void GetDroppedFrames(PKSPROPERTY_DROPPEDFRAMES_CURRENT_S pDroppedFrames);
|
|
BOOL GetCaptureHandle();
|
|
VOID SetFrameInfo(PHW_STREAM_REQUEST_BLOCK);
|
|
ULONG GetFieldInterval() { return 1; }
|
|
};
|