libavformat/rawvideodec.c File Reference

#include "avformat.h"
#include "rawdec.h"

Go to the source code of this file.

Defines

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

Functions

static int rawvideo_read_packet (AVFormatContext *s, AVPacket *pkt)

Variables

static const AVOption rawvideo_options []
static const AVClass rawvideo_demuxer_class
AVInputFormat ff_rawvideo_demuxer


Define Documentation

#define DEC   AV_OPT_FLAG_DECODING_PARAM

Definition at line 48 of file rawvideodec.c.

#define OFFSET (  )     offsetof(FFRawVideoDemuxerContext, x)

Definition at line 47 of file rawvideodec.c.


Function Documentation

static int rawvideo_read_packet ( AVFormatContext s,
AVPacket pkt 
) [static]

Definition at line 25 of file rawvideodec.c.


Variable Documentation

Initial value:

 {
    .name           = "rawvideo",
    .long_name      = NULL_IF_CONFIG_SMALL("raw video"),
    .priv_data_size = sizeof(FFRawVideoDemuxerContext),
    .read_header    = ff_raw_read_header,
    .read_packet    = rawvideo_read_packet,
    .flags          = AVFMT_GENERIC_INDEX,
    .extensions     = "yuv,cif,qcif,rgb",
    .raw_codec_id   = AV_CODEC_ID_RAWVIDEO,
    .priv_class     = &rawvideo_demuxer_class,
}

Definition at line 63 of file rawvideodec.c.

Initial value:

 {
    .class_name = "rawvideo demuxer",
    .item_name  = av_default_item_name,
    .option     = rawvideo_options,
    .version    = LIBAVUTIL_VERSION_INT,
}

Definition at line 56 of file rawvideodec.c.

const AVOption rawvideo_options[] [static]

Initial value:

 {
    { "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(video_size), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC },
    { "pixel_format", "", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str = "yuv420p"}, 0, 0, DEC },
    { "framerate", "", OFFSET(framerate), AV_OPT_TYPE_STRING, {.str = "25"}, 0, 0, DEC },
    { NULL },
}

Definition at line 49 of file rawvideodec.c.


Generated on Fri Oct 26 02:50:11 2012 for FFmpeg by  doxygen 1.5.8