Defines | Functions | Variables
VFWCapture.cpp File Reference
#include "VFWCapture.h"
#include "Image/ByteImage.h"
#include "Image/ImageProcessor.h"
#include "Helpers/helpers.h"
#include <vfw.h>
#include <wingdi.h>
Include dependency graph for VFWCapture.cpp:

Go to the source code of this file.

Defines

#define BI_I420   0x30323449
#define BI_YUY2   0x32595559
#define myClip(x)   (((x) > 255) ? 255 : ((x) < 0) ? 0 : (unsigned char) (x))

Functions

static LRESULT CALLBACK CallbackProc (HWND hWnd, LPVIDEOHDR lpVHdr)
static void yuv2rgb (unsigned char y, unsigned char u, unsigned char v, unsigned char *out)

Variables

CRITICAL_SECTION critical_section
static CByteImagepCapturedImage = 0

Define Documentation

#define BI_I420   0x30323449

Definition at line 61 of file VFWCapture.cpp.

#define BI_YUY2   0x32595559

Definition at line 62 of file VFWCapture.cpp.

#define myClip (   x)    (((x) > 255) ? 255 : ((x) < 0) ? 0 : (unsigned char) (x))

Definition at line 77 of file VFWCapture.cpp.


Function Documentation

static LRESULT CALLBACK CallbackProc ( HWND  hWnd,
LPVIDEOHDR  lpVHdr 
) [static]

Definition at line 94 of file VFWCapture.cpp.

static void yuv2rgb ( unsigned char  y,
unsigned char  u,
unsigned char  v,
unsigned char *  out 
) [inline, static]

Definition at line 78 of file VFWCapture.cpp.


Variable Documentation

CRITICAL_SECTION critical_section

Definition at line 69 of file VFWCapture.cpp.

CByteImage* pCapturedImage = 0 [static]

Definition at line 70 of file VFWCapture.cpp.



asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Thu Jun 6 2019 21:46:58