AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
CBaseStreamControl Class Reference

#include <strmctl.h>

Inheritance diagram for CBaseStreamControl:
[legend]
Collaboration diagram for CBaseStreamControl:
[legend]

Public Types

enum  StreamControlState { STREAM_FLOWING = 0x1000, STREAM_DISCARDING }
 

Public Member Functions

 CBaseStreamControl (__inout_opt HRESULT *phr=NULL)
 
 ~CBaseStreamControl ()
 
void SetSyncSource (IReferenceClock *pRefClock)
 
void SetFilterGraph (IMediaEventSink *pSink)
 
void NotifyFilterState (FILTER_STATE new_state, REFERENCE_TIME tStart=0)
 
void Flushing (BOOL bInProgress)
 
STDMETHODIMP StopAt (const REFERENCE_TIME *ptStop=NULL, BOOL bSendExtra=FALSE, DWORD dwCookie=0)
 
STDMETHODIMP StartAt (const REFERENCE_TIME *ptStart=NULL, DWORD dwCookie=0)
 
STDMETHODIMP GetInfo (__out AM_STREAM_INFO *pInfo)
 
enum StreamControlState CheckStreamState (IMediaSample *pSample)
 

Detailed Description

Definition at line 13 of file strmctl.h.

Member Enumeration Documentation

◆ StreamControlState

Enumerator
STREAM_FLOWING 
STREAM_DISCARDING 

Definition at line 17 of file strmctl.h.

Constructor & Destructor Documentation

◆ CBaseStreamControl()

CBaseStreamControl::CBaseStreamControl ( __inout_opt HRESULT *  phr = NULL)

Definition at line 13 of file strmctl.cpp.

◆ ~CBaseStreamControl()

CBaseStreamControl::~CBaseStreamControl ( )

Definition at line 27 of file strmctl.cpp.

Member Function Documentation

◆ CheckStreamState()

enum CBaseStreamControl::StreamControlState CBaseStreamControl::CheckStreamState ( IMediaSample *  pSample)

Definition at line 276 of file strmctl.cpp.

◆ Flushing()

void CBaseStreamControl::Flushing ( BOOL  bInProgress)

Definition at line 397 of file strmctl.cpp.

◆ GetInfo()

STDMETHODIMP CBaseStreamControl::GetInfo ( __out AM_STREAM_INFO *  pInfo)

Definition at line 124 of file strmctl.cpp.

◆ NotifyFilterState()

void CBaseStreamControl::NotifyFilterState ( FILTER_STATE  new_state,
REFERENCE_TIME  tStart = 0 
)

Definition at line 345 of file strmctl.cpp.

◆ SetFilterGraph()

void CBaseStreamControl::SetFilterGraph ( IMediaEventSink *  pSink)
inline

Definition at line 111 of file strmctl.h.

◆ SetSyncSource()

void CBaseStreamControl::SetSyncSource ( IReferenceClock *  pRefClock)
inline

Definition at line 99 of file strmctl.h.

◆ StartAt()

STDMETHODIMP CBaseStreamControl::StartAt ( const REFERENCE_TIME *  ptStart = NULL,
DWORD  dwCookie = 0 
)

Definition at line 83 of file strmctl.cpp.

◆ StopAt()

STDMETHODIMP CBaseStreamControl::StopAt ( const REFERENCE_TIME *  ptStop = NULL,
BOOL  bSendExtra = FALSE,
DWORD  dwCookie = 0 
)

Definition at line 35 of file strmctl.cpp.


The documentation for this class was generated from the following files: