Old fashion design for PC-104
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.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 25/07/2001
// PROJECT:
// SUBSYSTEM:
// FILE: DSConfiguration.h
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Header file of DSConfiguration.h
//----------------------------------------------------------------------------
#ifndef __DIRECT__SHOW__H__INCLUDED__
#define __DIRECT__SHOW__H__INCLUDED__
#if _MSC_VER > 1000
#pragma once
#endif
#include <dshow.h>
#include "DSVideoProcessor.h"
class CDSConfiguration{ friend class CVideoProcessor;
public: CDSConfiguration(); virtual ~CDSConfiguration();
public: virtual BOOL Create( PWCHAR pFileName ); void Destroy();
public: BOOL Stop(); BOOL Run(); IAMCrossbar* GetCrossbar();
protected: INT FindCrossbar();
protected: BOOL Initialize();// IGraphBuilder *m_pGraphBuilder;
IMediaControl *m_pMediaControl; IAMCrossbar **m_ppAMCrossbar; long m_nAMCrossbar; long m_nPosAMCrossbar;
protected: IGraphBuilder *m_pGraphBuilder; ICaptureGraphBuilder2 *m_pCaptureGraphBuilder;};
#endif
|