Data Structures | Defines | Typedefs | Functions | Variables

libavformat/rawdec.h File Reference

#include "avformat.h"
#include "libavutil/log.h"

Go to the source code of this file.

Data Structures

struct  RawAudioDemuxerContext
struct  FFRawVideoDemuxerContext

Defines

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

Typedefs

typedef struct
RawAudioDemuxerContext 
RawAudioDemuxerContext
typedef struct
FFRawVideoDemuxerContext 
FFRawVideoDemuxerContext

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 AVClass ff_rawaudio_demuxer_class
const AVClass ff_rawvideo_demuxer_class

Define 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,\
    .flags          = AVFMT_GENERIC_INDEX,\
    .value          = id,\
    .priv_data_size = sizeof(FFRawVideoDemuxerContext),\
    .priv_class     = &ff_rawvideo_demuxer_class,\
};

Definition at line 52 of file rawdec.h.


Typedef Documentation


Function Documentation

int ff_raw_audio_read_header ( AVFormatContext s,
AVFormatParameters ap 
)

Definition at line 141 of file rawdec.c.

int ff_raw_read_header ( AVFormatContext s,
AVFormatParameters ap 
)

Definition at line 31 of file rawdec.c.

int ff_raw_read_partial_packet ( AVFormatContext s,
AVPacket pkt 
)

Definition at line 121 of file rawdec.c.

int ff_raw_video_read_header ( AVFormatContext s,
AVFormatParameters ap 
)

Definition at line 157 of file rawdec.c.


Variable Documentation

Definition at line 200 of file rawdec.c.

Definition at line 218 of file rawdec.c.