#include "avformat.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
Go to the source code of this file.
Data Structures | |
struct | RawAudioDemuxerContext |
struct | FFRawVideoDemuxerContext |
Defines | |
#define | FF_RAWVIDEO_DEMUXER_CLASS(name) |
#define | FF_DEF_RAWVIDEO_DEMUXER(shortname, longname, probe, ext, id) |
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 FF_DEF_RAWVIDEO_DEMUXER | ( | shortname, | |||
longname, | |||||
probe, | |||||
ext, | |||||
id | ) |
Value:
FF_RAWVIDEO_DEMUXER_CLASS(shortname)\ 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 = &shortname ## _demuxer_class,\ };
#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,\ };
int ff_raw_audio_read_header | ( | AVFormatContext * | s, | |
AVFormatParameters * | ap | |||
) |
int ff_raw_read_header | ( | AVFormatContext * | s, | |
AVFormatParameters * | ap | |||
) |
int ff_raw_read_partial_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) |
int ff_raw_video_read_header | ( | AVFormatContext * | s, | |
AVFormatParameters * | ap | |||
) |
const AVOption ff_rawvideo_options[] |