rawdec.h File Reference
#include "avformat.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
Include dependency graph for rawdec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  FFRawVideoDemuxerContext
 

Macros

#define FF_RAWVIDEO_DEMUXER_CLASS(name)
 
#define FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id)
 

Typedefs

typedef struct FFRawVideoDemuxerContext FFRawVideoDemuxerContext
 

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

#define FF_DEF_RAWVIDEO_DEMUXER (   shortname,
  longname,
  probe,
  ext,
  id 
)
Value:
AVInputFormat ff_ ## shortname ## _demuxer = {\
.name = #shortname,\
.long_name = NULL_IF_CONFIG_SMALL(longname),\
.read_probe = probe,\
.read_header = ff_raw_video_read_header,\
.read_packet = ff_raw_read_partial_packet,\
.extensions = ext,\
.raw_codec_id = id,\
.priv_data_size = sizeof(FFRawVideoDemuxerContext),\
.priv_class = &shortname ## _demuxer_class,\
};
#define FF_RAWVIDEO_DEMUXER_CLASS(name)
Definition: rawdec.h:44
struct AVInputFormat AVInputFormat
enum AVCodecID id
Definition: mxfenc.c:89
struct FFRawVideoDemuxerContext FFRawVideoDemuxerContext
int ff_raw_video_read_header(AVFormatContext *s)
static int probe(AVProbeData *p)
Definition: act.c:36
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:353
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
const char * name
A comma separated list of short names for the format.
Definition: avformat.h:461

Definition at line 52 of file rawdec.h.

Referenced by cavsvideo_probe(), dirac_probe(), dnxhd_probe(), h261_probe(), h263_probe(), h264_probe(), mpeg4video_probe(), and mpegvideo_probe().

#define FF_RAWVIDEO_DEMUXER_CLASS (   name)
Value:
static const AVClass name ## _demuxer_class = {\
.class_name = #name " demuxer",\
.item_name = av_default_item_name,\
.option = ff_rawvideo_options,\
.version = LIBAVUTIL_VERSION_INT,\
};
const char * name
Definition: avisynth_c.h:675
av_default_item_name
const AVOption ff_rawvideo_options[]
LIBAVUTIL_VERSION_INT
Definition: eval.c:55
Describe the class of an AVClass context structure.
Definition: log.h:50

Definition at line 44 of file rawdec.h.

Referenced by ingenient_read_packet().

Typedef Documentation

Function Documentation

int ff_raw_audio_read_header ( AVFormatContext s)

Definition at line 54 of file libavformat/rawdec.c.

Referenced by ac3_eac3_probe().

int ff_raw_read_partial_packet ( AVFormatContext s,
AVPacket pkt 
)

Definition at line 34 of file libavformat/rawdec.c.

Referenced by ac3_eac3_probe(), and raw_read_packet().

int ff_raw_video_read_header ( AVFormatContext s)

Definition at line 69 of file libavformat/rawdec.c.

Variable Documentation

const AVOption ff_rawvideo_options[]

Definition at line 97 of file libavformat/rawdec.c.