#include "VFWCapture.h"#include "Image/ByteImage.h"#include "Image/ImageProcessor.h"#include "Helpers/helpers.h"#include <vfw.h>#include <wingdi.h>
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 CByteImage * | pCapturedImage = 0 |
| #define BI_I420 0x30323449 |
Definition at line 61 of file VFWCapture.cpp.
| #define BI_YUY2 0x32595559 |
Definition at line 62 of file VFWCapture.cpp.
Definition at line 77 of file VFWCapture.cpp.
| 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.
| CRITICAL_SECTION critical_section |
Definition at line 69 of file VFWCapture.cpp.
CByteImage* pCapturedImage = 0 [static] |
Definition at line 70 of file VFWCapture.cpp.