#include "config.h"
#include "libavformat/internal.h"
#include "libavutil/log.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "avdevice.h"
#include <stdlib.h>
#include <string.h>
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include <dc1394/dc1394.h>
Go to the source code of this file.
Data Structures | |
struct | dc1394_data |
struct | dc1394_color_coding |
struct | dc1394_frame_rate |
Defines | |
#define | OFFSET(x) offsetof(dc1394_data, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static int | dc1394_read_header (AVFormatContext *c, AVFormatParameters *ap) |
static int | dc1394_read_packet (AVFormatContext *c, AVPacket *pkt) |
static int | dc1394_close (AVFormatContext *context) |
Variables | |
struct dc1394_color_coding | dc1394_color_codings [] |
struct dc1394_frame_rate | dc1394_frame_rates [] |
static const AVOption | options [] |
static const AVClass | libdc1394_class |
AVInputFormat | ff_libdc1394_demuxer |
#define DEC AV_OPT_FLAG_DECODING_PARAM |
Definition at line 87 of file libdc1394.c.
#define OFFSET | ( | x | ) | offsetof(dc1394_data, x) |
Definition at line 86 of file libdc1394.c.
static int dc1394_close | ( | AVFormatContext * | context | ) | [static] |
Definition at line 351 of file libdc1394.c.
static int dc1394_read_header | ( | AVFormatContext * | c, | |
AVFormatParameters * | ap | |||
) | [static] |
Definition at line 102 of file libdc1394.c.
static int dc1394_read_packet | ( | AVFormatContext * | c, | |
AVPacket * | pkt | |||
) | [static] |
Definition at line 325 of file libdc1394.c.
struct dc1394_color_coding dc1394_color_codings[] |
Referenced by dc1394_read_header().
struct dc1394_frame_rate dc1394_frame_rates[] |
Referenced by dc1394_read_header().
Initial value:
{ .name = "libdc1394", .long_name = NULL_IF_CONFIG_SMALL("dc1394 A/V grab"), .priv_data_size = sizeof(struct dc1394_data), .read_header = dc1394_read_header, .read_packet = dc1394_read_packet, .read_close = dc1394_close, .flags = AVFMT_NOFILE, .priv_class = &libdc1394_class, }
Definition at line 363 of file libdc1394.c.
const AVClass libdc1394_class [static] |
Initial value:
{ .class_name = "libdc1394 indev", .item_name = av_default_item_name, .option = options, .version = LIBAVUTIL_VERSION_INT, }
Definition at line 95 of file libdc1394.c.
Initial value:
{ { "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(video_size), AV_OPT_TYPE_STRING, {.str = "qvga"}, 0, 0, DEC }, { "pixel_format", "", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str = "uyvy422"}, 0, 0, DEC }, { "framerate", "", OFFSET(framerate), AV_OPT_TYPE_STRING, {.str = "ntsc"}, 0, 0, DEC }, { NULL }, }
Definition at line 88 of file libdc1394.c.