#include "avformat.h"
#include "avio_internal.h"
#include "rawdec.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
Go to the source code of this file.
Defines | |
#define | RAW_PACKET_SIZE 1024 |
#define | OFFSET(x) offsetof(FFRawVideoDemuxerContext, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
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 | |
static const AVOption | audio_options [] |
const AVClass | ff_rawaudio_demuxer_class |
static const AVOption | video_options [] |
const AVClass | ff_rawvideo_demuxer_class |
#define OFFSET | ( | x | ) | offsetof(FFRawVideoDemuxerContext, x) |
#define RAW_PACKET_SIZE 1024 |
Definition at line 119 of file rawdec.c.
Referenced by ff_raw_read_partial_packet(), and rm_read_packet().
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 audio_options[] [static] |
Initial value:
{ { "sample_rate", "", 0x42, FF_OPT_TYPE_INT, {.dbl = 0}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM }, { "channels", "", 0x42, FF_OPT_TYPE_INT, {.dbl = 0}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM }, { NULL }, }
Initial value:
{ .class_name = "rawaudio demuxer", .item_name = av_default_item_name, .option = audio_options, .version = LIBAVUTIL_VERSION_INT, }
Initial value:
{ .class_name = "rawvideo demuxer", .item_name = av_default_item_name, .option = video_options, .version = LIBAVUTIL_VERSION_INT, }
const AVOption video_options[] [static] |
Initial value:
{ { "video_size", "A string describing frame size, such as 640x480 or hd720.", OFFSET(video_size), FF_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC }, { "pixel_format", "", OFFSET(pixel_format), FF_OPT_TYPE_STRING, {.str = "yuv420p"}, 0, 0, DEC }, { "framerate", "", OFFSET(framerate), FF_OPT_TYPE_STRING, {.str = "25"}, 0, 0, DEC }, { NULL }, }