238 .extensions =
"vb,son"
enum PixelFormat pix_fmt
Pixel format, see PIX_FMT_xxx.
int av_new_packet(AVPacket *pkt, int size)
Allocate the payload of a packet and initialize its fields with default values.
static int siff_probe(AVProbeData *p)
#define AV_PKT_FLAG_KEY
The packet contains a keyframe.
static int create_audio_stream(AVFormatContext *s, SIFFContext *c)
unsigned int avio_rb32(AVIOContext *s)
AVInputFormat ff_siff_demuxer
static int read_header(FFV1Context *f)
struct SIFFContext SIFFContext
int bits_per_coded_sample
bits per sample/pixel from the demuxer (needed for huffyuv).
int avio_read(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf.
unsigned int avio_rl32(AVIOContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
void av_log(void *avcl, int level, const char *fmt,...)
AVStream * avformat_new_stream(AVFormatContext *s, AVCodec *c)
Add a new stream to a media file.
int flags
A combination of AV_PKT_FLAG values.
AVCodecContext * codec
codec context
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.
static int siff_parse_soun(AVFormatContext *s, SIFFContext *c, AVIOContext *pb)
int width
picture width / height.
static av_always_inline int64_t avio_skip(AVIOContext *s, int64_t offset)
Skip given number of bytes forward.
static int read_probe(AVProbeData *p)
int frame_size
Samples per packet, initialized when calling 'init'.
enum AVMediaType codec_type
static int siff_read_packet(AVFormatContext *s, AVPacket *pkt)
int sample_rate
samples per second
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
unsigned int codec_tag
fourcc (LSB first, so "ABCD" -> ('D'<<24) + ('C'<<16) + ('B'<<8) + 'A').
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
This structure contains the data a format has to probe a file.
static int siff_parse_vbv1(AVFormatContext *s, SIFFContext *c, AVIOContext *pb)
unsigned int avio_rl16(AVIOContext *s)
8 bit with PIX_FMT_RGB32 palette
static int siff_read_header(AVFormatContext *s, AVFormatParameters *ap)
int channels
number of audio channels
void * priv_data
Format private data.
#define MKTAG(a, b, c, d)