Libav
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/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)
 

Variables

const AVOption ff_rawvideo_options []
 

Macro Definition Documentation

§ RAW_PACKET_SIZE

#define RAW_PACKET_SIZE   1024

Definition at line 32 of file rawdec.c.

Referenced by ff_raw_read_partial_packet().

§ OFFSET

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

Definition at line 105 of file rawdec.c.

§ DEC

#define DEC   AV_OPT_FLAG_DECODING_PARAM

Definition at line 106 of file rawdec.c.

Function Documentation

§ ff_raw_read_partial_packet()

int ff_raw_read_partial_packet ( AVFormatContext s,
AVPacket pkt 
)

Definition at line 34 of file rawdec.c.

Referenced by ac3_eac3_probe(), and raw_read_packet().

§ ff_raw_audio_read_header()

int ff_raw_audio_read_header ( AVFormatContext s)

Definition at line 58 of file rawdec.c.

Referenced by ac3_eac3_probe().

§ ff_raw_video_read_header()

int ff_raw_video_read_header ( AVFormatContext s)

Definition at line 73 of file rawdec.c.

Variable Documentation

§ ff_rawvideo_options

const AVOption ff_rawvideo_options[]
Initial value:
= {
{ "framerate", "", OFFSET(framerate), AV_OPT_TYPE_STRING, {.str = "25"}, 0, 0, DEC},
{ NULL },
}
#define OFFSET(x)
Definition: rawdec.c:105
NULL
Definition: eval.c:55
#define DEC
Definition: rawdec.c:106

Definition at line 107 of file rawdec.c.