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

MPColorTrackerFilter.cpp File Reference

#include <streams.h>
#include <initguid.h>
#include <olectlid.h>
#include "DirectShow/MPUFilter_uids.h"
#include "iMPColorTrackerFilter.h"
#include "MPColorTrackerFilter.h"
#include "resource.h"
#include <ctime>

Include dependency graph for MPColorTrackerFilter.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 sudMPColorTrackerFilter
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 460 of file MPColorTrackerFilter.cpp.

#define WRITEOUT var   ) 
 

Value:

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

Definition at line 457 of file MPColorTrackerFilter.cpp.


Function Documentation

STDAPI DllRegisterServer  ) 
 

Definition at line 106 of file MPColorTrackerFilter.cpp.

References TRUE.

00107 {
00108         return AMovieDllRegisterServer2( TRUE );
00109         
00110 } // DllRegisterServer

STDAPI DllUnregisterServer  ) 
 

Definition at line 117 of file MPColorTrackerFilter.cpp.

References FALSE.

00118 {
00119         return AMovieDllRegisterServer2( FALSE );
00120 } // DllUnregisterServer


Variable Documentation

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

Definition at line 97 of file MPColorTrackerFilter.cpp.

CFactoryTemplate g_Templates[]
 

Initial value:

 {
        { L"MPLab Color Tracker Filter"
                , &CLSID_MPColorTrackerFilter
                , MPColorTrackerFilter::CreateInstance
                , NULL
                , &sudMPColorTrackerFilter },


}

Definition at line 88 of file MPColorTrackerFilter.cpp.

const AMOVIESETUP_FILTER sudMPColorTrackerFilter
 

Initial value:

{
        &CLSID_MPColorTrackerFilter, 
                L"MPColorTrackerFilter",      
                MERIT_DO_NOT_USE,      
                2,                      
                sudpPins                
}

Definition at line 74 of file MPColorTrackerFilter.cpp.

const AMOVIESETUP_MEDIATYPE sudPinTypes
 

Initial value:

{
        &MEDIATYPE_Video,      
                &MEDIASUBTYPE_NULL      
}

Definition at line 40 of file MPColorTrackerFilter.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 48 of file MPColorTrackerFilter.cpp.


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