videosource/dshowcb.cpp File Reference

#include "stdafx.h"
#include <atlbase.h>
#include <windows.h>
#include <dshow.h>
#include <qedit.h>
#include <objbase.h>
#include <stdio.h>
#include <stdlib.h>
#include "dshowcb.h"
#include "iniparser.h"

Include dependency graph for dshowcb.cpp:

Go to the source code of this file.

Classes

class  SampleGrabberCB

Defines

#define _WIN32_WINNT   0x400

Functions

int GrabBitmaps (TCHAR *szFile)
HRESULT GetPin (IBaseFilter *pFilter, PIN_DIRECTION dirrequired, int iNum, IPin **ppPin)
IPin * GetInPin (IBaseFilter *pFilter, int Num)
IPin * GetOutPin (IBaseFilter *pFilter, int Num)
static void deinterlaceAndResize (IplImage *image, IplImage *realDst)

Variables

const LONGLONG MILLISECONDS = (1000)
const LONGLONG NANOSECONDS = (1000000000)
const LONGLONG UNITS = (NANOSECONDS / 100)
SampleGrabberCB CB


Define Documentation

#define _WIN32_WINNT   0x400

Definition at line 4 of file dshowcb.cpp.


Function Documentation

static void deinterlaceAndResize ( IplImage *  image,
IplImage *  realDst 
) [static]

Definition at line 369 of file dshowcb.cpp.

Referenced by DShowCB::getFrame().

IPin * GetInPin ( IBaseFilter *  pFilter,
int  Num 
)

Definition at line 353 of file dshowcb.cpp.

References GetPin().

Referenced by DShowFile::initialize(), and DShowCB::initialize().

IPin * GetOutPin ( IBaseFilter *  pFilter,
int  Num 
)

Definition at line 361 of file dshowcb.cpp.

References GetPin().

Referenced by DShowFile::initialize(), and DShowCB::initialize().

HRESULT GetPin ( IBaseFilter *  pFilter,
PIN_DIRECTION  dirrequired,
int  iNum,
IPin **  ppPin 
)

Definition at line 317 of file dshowcb.cpp.

Referenced by GetInPin(), and GetOutPin().

int GrabBitmaps ( TCHAR *  szFile  ) 


Variable Documentation

Definition at line 106 of file dshowcb.cpp.

const LONGLONG MILLISECONDS = (1000)

Definition at line 19 of file dshowcb.cpp.

const LONGLONG NANOSECONDS = (1000000000)

Definition at line 20 of file dshowcb.cpp.

const LONGLONG UNITS = (NANOSECONDS / 100)

Definition at line 21 of file dshowcb.cpp.


Generated on Tue Mar 30 15:53:24 2010 for Polyora by  doxygen 1.5.9