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.

57 lines
1.2 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 25/07/2001
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: DSConfiguration.h
  9. // AUTHOR: Sergey Chizhevskiy
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of DSConfiguration.h
  13. //----------------------------------------------------------------------------
  14. #ifndef __DIRECT__SHOW__H__INCLUDED__
  15. #define __DIRECT__SHOW__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. #include <dshow.h>
  20. #include "DSVideoProcessor.h"
  21. class CDSConfiguration
  22. {
  23. friend class CVideoProcessor;
  24. public:
  25. CDSConfiguration();
  26. virtual ~CDSConfiguration();
  27. public:
  28. virtual BOOL Create( PWCHAR pFileName );
  29. void Destroy();
  30. public:
  31. BOOL Stop();
  32. BOOL Run();
  33. IAMCrossbar* GetCrossbar();
  34. protected:
  35. INT FindCrossbar();
  36. protected:
  37. BOOL Initialize();
  38. // IGraphBuilder *m_pGraphBuilder;
  39. IMediaControl *m_pMediaControl;
  40. IAMCrossbar **m_ppAMCrossbar;
  41. long m_nAMCrossbar;
  42. long m_nPosAMCrossbar;
  43. protected:
  44. IGraphBuilder *m_pGraphBuilder;
  45. ICaptureGraphBuilder2 *m_pCaptureGraphBuilder;
  46. };
  47. #endif