Libav 0.7.1
Data Structures | Defines | Typedefs | Functions | Variables
libavdevice/libdc1394.c File Reference
#include "config.h"
#include "libavformat/avformat.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"

Go to the source code of this file.

Data Structures

struct  dc1394_data
struct  dc1394_frame_format
struct  dc1394_frame_rate

Defines

#define OFFSET(x)   offsetof(dc1394_data, x)
#define DEC   AV_OPT_FLAG_DECODING_PARAM

Typedefs

typedef struct dc1394_data dc1394_data

Functions

static int dc1394_read_common (AVFormatContext *c, AVFormatParameters *ap, struct dc1394_frame_format **select_fmt, struct dc1394_frame_rate **select_fps)

Variables

struct dc1394_frame_format dc1394_frame_formats []
struct dc1394_frame_rate dc1394_frame_rates []
static const AVOption options []
static const AVClass libdc1394_class

Define Documentation

#define DEC   AV_OPT_FLAG_DECODING_PARAM

Definition at line 99 of file libdc1394.c.

#define OFFSET (   x)    offsetof(dc1394_data, x)

Definition at line 98 of file libdc1394.c.


Typedef Documentation

typedef struct dc1394_data dc1394_data

Function Documentation

static int dc1394_read_common ( AVFormatContext c,
AVFormatParameters ap,
struct dc1394_frame_format **  select_fmt,
struct dc1394_frame_rate **  select_fps 
) [inline, static]

Definition at line 118 of file libdc1394.c.


Variable Documentation

Referenced by dc1394_read_common().

Referenced by dc1394_read_common().

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 110 of file libdc1394.c.

const AVOption options[] [static]
Initial value:
 {



    { "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(video_size), FF_OPT_TYPE_STRING, {.str = "qvga"}, 0, 0, DEC },
    { "pixel_format", "", OFFSET(pixel_format), FF_OPT_TYPE_STRING, {.str = "uyvy422"}, 0, 0, DEC },
    { "framerate", "", OFFSET(framerate), FF_OPT_TYPE_STRING, {.str = "ntsc"}, 0, 0, DEC },
    { NULL },
}

Definition at line 100 of file libdc1394.c.