libavformat/rawdec.c File Reference

#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"
#include "rawdec.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"

Go to the source code of this file.

Defines

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

Functions

int ff_raw_read_header (AVFormatContext *s, AVFormatParameters *ap)
int ff_raw_read_partial_packet (AVFormatContext *s, AVPacket *pkt)
int ff_raw_audio_read_header (AVFormatContext *s, AVFormatParameters *ap)
int ff_raw_video_read_header (AVFormatContext *s, AVFormatParameters *ap)

Variables

const AVOption ff_rawvideo_options []


Define Documentation

#define DEC   AV_OPT_FLAG_DECODING_PARAM

Definition at line 179 of file rawdec.c.

#define OFFSET (  )     offsetof(FFRawVideoDemuxerContext, x)

Definition at line 178 of file rawdec.c.

#define RAW_PACKET_SIZE   1024

Definition at line 107 of file rawdec.c.

Referenced by ff_raw_read_partial_packet(), and rm_read_packet().


Function Documentation

int ff_raw_audio_read_header ( AVFormatContext s,
AVFormatParameters ap 
)

Definition at line 129 of file rawdec.c.

int ff_raw_read_header ( AVFormatContext s,
AVFormatParameters ap 
)

Definition at line 32 of file rawdec.c.

int ff_raw_read_partial_packet ( AVFormatContext s,
AVPacket pkt 
)

Definition at line 109 of file rawdec.c.

int ff_raw_video_read_header ( AVFormatContext s,
AVFormatParameters ap 
)

Definition at line 145 of file rawdec.c.


Variable Documentation

Initial value:

 {
    { "framerate", "", OFFSET(framerate), AV_OPT_TYPE_STRING, {.str = "25"}, 0, 0, DEC},
    { NULL },
}

Definition at line 180 of file rawdec.c.


Generated on Fri Oct 26 02:43:49 2012 for FFmpeg by  doxygen 1.5.8