FFmpeg
|
#include "libavformat/internal.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include <windows.h>
#include <vfw.h>
#include "avdevice.h"
Go to the source code of this file.
Data Structures | |
struct | vfw_ctx |
Macros | |
#define | HWND_MESSAGE ((HWND) -3) |
#define | dstruct(pctx, sname, var, type) av_log(pctx, AV_LOG_DEBUG, #var":\t%"type"\n", sname->var) |
#define | OFFSET(x) offsetof(struct vfw_ctx, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static enum AVPixelFormat | vfw_pixfmt (DWORD biCompression, WORD biBitCount) |
static enum AVCodecID | 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) |
static int | vfw_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
static const AVOption | options [] |
static const AVClass | vfw_class |
AVInputFormat | ff_vfwcap_demuxer |
#define HWND_MESSAGE ((HWND) -3) |
Definition at line 32 of file vfwcap.c.
Referenced by vfw_read_header().
#define dstruct | ( | pctx, | |
sname, | |||
var, | |||
type | |||
) | av_log(pctx, AV_LOG_DEBUG, #var":\t%"type"\n", sname->var) |
Definition at line 87 of file vfwcap.c.
Referenced by dump_bih(), dump_captureparms(), and dump_videohdr().
#define DEC AV_OPT_FLAG_DECODING_PARAM |
|
static |
Definition at line 47 of file vfwcap.c.
Referenced by vfw_read_header().
Definition at line 75 of file vfwcap.c.
Referenced by vfw_read_header().
|
static |
Definition at line 90 of file vfwcap.c.
Referenced by vfw_read_header().
|
static |
Definition at line 119 of file vfwcap.c.
Referenced by videostream_cb().
|
static |
Definition at line 136 of file vfwcap.c.
Referenced by ff_print_AM_MEDIA_TYPE(), and vfw_read_header().
|
static |
Definition at line 154 of file vfwcap.c.
Referenced by videostream_cb().
Definition at line 170 of file vfwcap.c.
Referenced by vfw_read_header().
|
static |
Definition at line 212 of file vfwcap.c.
Referenced by vfw_read_header().
|
static |
|
static |
|
static |
|
static |
AVInputFormat ff_vfwcap_demuxer |