FFmpeg
Macros | Functions | Variables
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"
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Macros

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

Functions

int ff_raw_read_partial_packet (AVFormatContext *s, AVPacket *pkt)
 
int ff_raw_audio_read_header (AVFormatContext *s)
 
int ff_raw_video_read_header (AVFormatContext *s)
 
int ff_raw_subtitle_read_header (AVFormatContext *s)
 
int ff_raw_data_read_header (AVFormatContext *s)
 

Variables

const AVOption ff_rawvideo_options []
 
const AVOption ff_raw_options []
 

Macro Definition Documentation

#define RAW_PACKET_SIZE   1024

Definition at line 33 of file rawdec.c.

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

Definition at line 119 of file rawdec.c.

#define DEC   AV_OPT_FLAG_DECODING_PARAM

Definition at line 120 of file rawdec.c.

Function Documentation

int ff_raw_read_partial_packet ( AVFormatContext s,
AVPacket pkt 
)

Definition at line 35 of file rawdec.c.

Referenced by ac3_eac3_probe(), flac_read_timestamp(), mlp_thd_probe(), and raw_read_packet().

int ff_raw_audio_read_header ( AVFormatContext s)

Definition at line 56 of file rawdec.c.

Referenced by ac3_eac3_probe(), and mlp_thd_probe().

int ff_raw_video_read_header ( AVFormatContext s)

Definition at line 71 of file rawdec.c.

int ff_raw_subtitle_read_header ( AVFormatContext s)

Definition at line 95 of file rawdec.c.

int ff_raw_data_read_header ( AVFormatContext s)

Definition at line 106 of file rawdec.c.

Variable Documentation

const AVOption ff_rawvideo_options[]
Initial value:
= {
{ "framerate", "", OFFSET(framerate), AV_OPT_TYPE_VIDEO_RATE, {.str = "25"}, 0, INT_MAX, DEC},
{ "raw_packet_size", "", OFFSET(raw_packet_size), AV_OPT_TYPE_INT, {.i64 = RAW_PACKET_SIZE }, 1, INT_MAX, DEC},
{ NULL },
}
#define NULL
Definition: coverity.c:32
int framerate
Definition: h264_levels.c:65
#define RAW_PACKET_SIZE
Definition: rawdec.c:33
#define OFFSET(x)
Definition: rawdec.c:119
offset must point to AVRational
Definition: opt.h:236
#define DEC
Definition: rawdec.c:120

Definition at line 121 of file rawdec.c.

const AVOption ff_raw_options[]
Initial value:
= {
{ "raw_packet_size", "", OFFSET(raw_packet_size), AV_OPT_TYPE_INT, {.i64 = RAW_PACKET_SIZE }, 1, INT_MAX, DEC},
{ NULL },
}
#define NULL
Definition: coverity.c:32
#define RAW_PACKET_SIZE
Definition: rawdec.c:33
#define OFFSET(x)
Definition: rawdec.c:119
#define DEC
Definition: rawdec.c:120

Definition at line 126 of file rawdec.c.