#include "libavformat/timefilter.h"#include "avdevice.h"#include "dshow.h"Go to the source code of this file.
Data Structures | |
| struct | dshow_ctx |
Functions | |
| static enum PixelFormat | dshow_pixfmt (DWORD biCompression, WORD biBitCount) |
| static enum CodecID | dshow_codecid (DWORD biCompression) |
| static int | dshow_read_close (AVFormatContext *s) |
| static char * | dup_wchar_to_utf8 (wchar_t *w) |
| static int | shall_we_drop (AVFormatContext *s) |
| static void | callback (void *priv_data, int index, uint8_t *buf, int buf_size, int64_t time) |
| static int | dshow_open_device (AVFormatContext *avctx, ICreateDevEnum *devenum, enum dshowDeviceType devtype) |
| static enum CodecID | waveform_codec_id (enum AVSampleFormat sample_fmt) |
| static enum SampleFormat | sample_fmt_bits_per_sample (int bits) |
| static int | dshow_add_device (AVFormatContext *avctx, AVFormatParameters *ap, enum dshowDeviceType devtype) |
| static int | parse_device_name (AVFormatContext *avctx) |
| static int | dshow_read_header (AVFormatContext *avctx, AVFormatParameters *ap) |
| static int | dshow_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
| AVInputFormat | ff_dshow_demuxer |
| static void callback | ( | void * | priv_data, | |
| int | index, | |||
| uint8_t * | buf, | |||
| int | buf_size, | |||
| int64_t | time | |||
| ) | [static] |
Definition at line 170 of file dshow.c.
Referenced by dshow_open_device().
| static int dshow_add_device | ( | AVFormatContext * | avctx, | |
| AVFormatParameters * | ap, | |||
| enum dshowDeviceType | devtype | |||
| ) | [static] |
Definition at line 396 of file dshow.c.
Referenced by dshow_read_header().
| static enum CodecID dshow_codecid | ( | DWORD | biCompression | ) | [static] |
Definition at line 77 of file dshow.c.
Referenced by dshow_add_device().
| static int dshow_open_device | ( | AVFormatContext * | avctx, | |
| ICreateDevEnum * | devenum, | |||
| enum dshowDeviceType | devtype | |||
| ) | [static] |
Definition at line 211 of file dshow.c.
Referenced by dshow_read_header().
| static enum PixelFormat dshow_pixfmt | ( | DWORD | biCompression, | |
| WORD | biBitCount | |||
| ) | [static] |
Definition at line 49 of file dshow.c.
Referenced by dshow_add_device().
| static int dshow_read_close | ( | AVFormatContext * | s | ) | [static] |
Definition at line 90 of file dshow.c.
Referenced by dshow_add_device(), and dshow_read_header().
| static int dshow_read_header | ( | AVFormatContext * | avctx, | |
| AVFormatParameters * | ap | |||
| ) | [static] |
| static int dshow_read_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static char* dup_wchar_to_utf8 | ( | wchar_t * | w | ) | [static] |
Definition at line 143 of file dshow.c.
Referenced by dshow_open_device().
| static int parse_device_name | ( | AVFormatContext * | avctx | ) | [static] |
Definition at line 482 of file dshow.c.
Referenced by dshow_read_header().
| static enum SampleFormat sample_fmt_bits_per_sample | ( | int | bits | ) | [static] |
Definition at line 385 of file dshow.c.
Referenced by dshow_add_device().
| static int shall_we_drop | ( | AVFormatContext * | s | ) | [static] |
Definition at line 153 of file dshow.c.
Referenced by callback().
| static enum CodecID waveform_codec_id | ( | enum AVSampleFormat | sample_fmt | ) | [static] |
Definition at line 375 of file dshow.c.
Referenced by dshow_add_device().
{
"dshow",
NULL_IF_CONFIG_SMALL("DirectShow capture"),
sizeof(struct dshow_ctx),
NULL,
dshow_read_header,
dshow_read_packet,
dshow_read_close,
.flags = AVFMT_NOFILE,
}
1.7.1