#include "config.h"#include <unistd.h>#include <fcntl.h>#include <errno.h>#include <poll.h>#include <sys/ioctl.h>#include <sys/mman.h>#include <sys/time.h>#include <time.h>#include "libavutil/log.h"#include "libavutil/opt.h"#include "avdevice.h"#include "libavformat/dv.h"#include "dv1394.h"Go to the source code of this file.
Data Structures | |
| struct | dv1394_data |
Functions | |
| static int | dv1394_reset (struct dv1394_data *dv) |
| static int | dv1394_start (struct dv1394_data *dv) |
| static int | dv1394_read_header (AVFormatContext *context) |
| static int | dv1394_read_packet (AVFormatContext *context, AVPacket *pkt) |
| static int | dv1394_close (AVFormatContext *context) |
Variables | |
| static const AVOption | options [] |
| static const AVClass | dv1394_class |
| AVInputFormat | ff_dv1394_demuxer |
| static int dv1394_close | ( | AVFormatContext * | context | ) | [static] |
| static int dv1394_read_header | ( | AVFormatContext * | context | ) | [static] |
| static int dv1394_read_packet | ( | AVFormatContext * | context, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int dv1394_reset | ( | struct dv1394_data * | dv | ) | [static] |
Definition at line 58 of file dv1394.c.
Referenced by dv1394_read_header(), and dv1394_read_packet().
| static int dv1394_start | ( | struct dv1394_data * | dv | ) | [static] |
Definition at line 74 of file dv1394.c.
Referenced by dv1394_read_header(), and dv1394_read_packet().
const AVClass dv1394_class [static] |
Initial value:
{
.class_name = "DV1394 indev",
.item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
}
Initial value:
{
.name = "dv1394",
.long_name = NULL_IF_CONFIG_SMALL("DV1394 A/V grab"),
.priv_data_size = sizeof(struct dv1394_data),
.read_header = dv1394_read_header,
.read_packet = dv1394_read_packet,
.read_close = dv1394_close,
.flags = AVFMT_NOFILE,
.priv_class = &dv1394_class,
}
Initial value:
{
{ "standard", "", 0x42, AV_OPT_TYPE_INT, {.dbl = DV1394_NTSC}, DV1394_PAL, DV1394_NTSC, AV_OPT_FLAG_DECODING_PARAM, "standard" },
{ "PAL", "", 0, AV_OPT_TYPE_CONST, {.dbl = DV1394_PAL}, 0, 0, AV_OPT_FLAG_DECODING_PARAM, "standard" },
{ "NTSC", "", 0, AV_OPT_TYPE_CONST, {.dbl = DV1394_NTSC}, 0, 0, AV_OPT_FLAG_DECODING_PARAM, "standard" },
{ "channel", "", 0x42, AV_OPT_TYPE_INT, {.dbl = DV1394_DEFAULT_CHANNEL}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
{ NULL },
}
1.5.8