The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MPEyeFinderFilter.cpp File Reference

#include <streams.h>
#include <initguid.h>
#include <olectlid.h>
#include "DirectShow/MPUFilter_uids.h"
#include "iMPEyeFinderFilter.h"
#include "MPEyeFinderFilter.h"
#include "resource.h"
#include <ctime>

Include dependency graph for MPEyeFinderFilter.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define READIN(var)
#define WRITEOUT(var)

Functions

STDAPI DllRegisterServer ()
STDAPI DllUnregisterServer ()

Variables

int g_cTemplates = sizeof(g_Templates) / sizeof(g_Templates[0])
CFactoryTemplate g_Templates []
const AMOVIESETUP_FILTER sudMPEyeFinderFilter
const AMOVIESETUP_MEDIATYPE sudPinTypes
const AMOVIESETUP_PIN sudpPins []


Define Documentation

#define READIN var   ) 
 

Value:

hr = pStream->Read(&var, sizeof(var), NULL); \
if (FAILED(hr)) return hr;

Definition at line 428 of file MPEyeFinderFilter.cpp.

#define WRITEOUT var   ) 
 

Value:

hr = pStream->Write(&var, sizeof(var), NULL); \
if (FAILED(hr)) return hr;

Definition at line 425 of file MPEyeFinderFilter.cpp.


Function Documentation

STDAPI DllRegisterServer  ) 
 

Definition at line 81 of file MPEyeFinderFilter.cpp.

References TRUE.

00082 {
00083         return AMovieDllRegisterServer2( TRUE );
00084         
00085 } // DllRegisterServer

STDAPI DllUnregisterServer  ) 
 

Definition at line 92 of file MPEyeFinderFilter.cpp.

References FALSE.

00093 {
00094         return AMovieDllRegisterServer2( FALSE );
00095 } // DllUnregisterServer


Variable Documentation

int g_cTemplates = sizeof(g_Templates) / sizeof(g_Templates[0])
 

Definition at line 72 of file MPEyeFinderFilter.cpp.

CFactoryTemplate g_Templates[]
 

Initial value:

 {
        { L"MPEyeFinderFilter"
                , &CLSID_MPEyeFinderFilter
                , MPEyeFinderFilter::CreateInstance
                , NULL
                , &sudMPEyeFinderFilter }
}

Definition at line 65 of file MPEyeFinderFilter.cpp.

const AMOVIESETUP_FILTER sudMPEyeFinderFilter
 

Initial value:

{
        &CLSID_MPEyeFinderFilter, 
                L"MPEyeFinderFilter",      
                MERIT_DO_NOT_USE,      
                2,                      
                sudpPins                
}

Definition at line 51 of file MPEyeFinderFilter.cpp.

const AMOVIESETUP_MEDIATYPE sudPinTypes
 

Initial value:

{
        &MEDIATYPE_Video,      
                &MEDIASUBTYPE_NULL      
}

Definition at line 17 of file MPEyeFinderFilter.cpp.

const AMOVIESETUP_PIN sudpPins[]
 

Initial value:

{
        { L"Input",            
                FALSE,                
                FALSE,                
                FALSE,                
                FALSE,                
                &CLSID_NULL,          
                NULL,                
                1,                    
                &sudPinTypes          
        },
        { L"Output",            
        FALSE,                
        TRUE,                
        FALSE,                
        FALSE,                
        &CLSID_NULL,          
        NULL,                
        1,                    
        &sudPinTypes          
        }
}

Definition at line 25 of file MPEyeFinderFilter.cpp.


Generated on Mon Nov 8 17:08:13 2004 for MPT by  doxygen 1.3.9.1