#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"
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 _WIN32_WINNT 0x400 |
Definition at line 4 of file dshowcb.cpp.
static void deinterlaceAndResize | ( | IplImage * | image, | |
IplImage * | realDst | |||
) | [static] |
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 | |||
) |
int GrabBitmaps | ( | TCHAR * | szFile | ) |
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.