libavdevice/vfwcap.c File Reference
#include "libavformat/avformat.h"
#include <windows.h>
#include <vfw.h>
Go to the source code of this file.
|
Data Structures |
struct | vfw_ctx |
Defines |
#define | HWND_MESSAGE ((HWND)-3) |
#define | BI_RGB 0 |
#define | dstruct(pctx, sname, var, type) av_log(pctx, AV_LOG_DEBUG, #var":\t%"type"\n", sname->var) |
Functions |
static enum PixelFormat | vfw_pixfmt (DWORD biCompression, WORD biBitCount) |
static enum CodecID | vfw_codecid (DWORD biCompression) |
static void | dump_captureparms (AVFormatContext *s, CAPTUREPARMS *cparms) |
static void | dump_videohdr (AVFormatContext *s, VIDEOHDR *vhdr) |
static void | dump_bih (AVFormatContext *s, BITMAPINFOHEADER *bih) |
static int | shall_we_drop (AVFormatContext *s) |
static LRESULT CALLBACK | videostream_cb (HWND hwnd, LPVIDEOHDR vdhdr) |
static int | vfw_read_close (AVFormatContext *s) |
static int | vfw_read_header (AVFormatContext *s, AVFormatParameters *ap) |
static int | vfw_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables |
AVInputFormat | vfwcap_demuxer |
Define Documentation
#define dstruct |
( |
pctx, |
|
|
sname, |
|
|
var, |
|
|
type |
|
) |
av_log(pctx, AV_LOG_DEBUG, #var":\t%"type"\n", sname->var) |
#define HWND_MESSAGE ((HWND)-3) |
Function Documentation
static void dump_bih |
( |
AVFormatContext * |
s, |
|
|
BITMAPINFOHEADER * |
bih | |
|
) |
| | [static] |
static void dump_captureparms |
( |
AVFormatContext * |
s, |
|
|
CAPTUREPARMS * |
cparms | |
|
) |
| | [static] |
static void dump_videohdr |
( |
AVFormatContext * |
s, |
|
|
VIDEOHDR * |
vhdr | |
|
) |
| | [static] |
static enum CodecID vfw_codecid |
( |
DWORD |
biCompression |
) |
[static] |
static enum PixelFormat vfw_pixfmt |
( |
DWORD |
biCompression, |
|
|
WORD |
biBitCount | |
|
) |
| | [static] |
static LRESULT CALLBACK videostream_cb |
( |
HWND |
hwnd, |
|
|
LPVIDEOHDR |
vdhdr | |
|
) |
| | [static] |
Variable Documentation
Initial value:
Definition at line 439 of file vfwcap.c.