38 int ret,
size,
w,
h, unk1, unk2;
54 av_log(
s,
AV_LOG_DEBUG,
"Ingenient packet: size=%d, width=%d, height=%d, unk1=%d unk2=%d\n",
76 .priv_class = &ingenient_demuxer_class,
unsigned int avio_rl16(AVIOContext *s)
int64_t avio_skip(AVIOContext *s, int64_t offset)
Skip given number of bytes forward.
unsigned int avio_rl32(AVIOContext *s)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
#define flags(name, subs,...)
#define MKTAG(a, b, c, d)
static int read_header(FFV1Context *f)
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
static int ingenient_probe(const AVProbeData *p)
static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
AVInputFormat ff_ingenient_demuxer
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define FF_RAWVIDEO_DEMUXER_CLASS(name)
This structure stores compressed data.
This structure contains the data a format has to probe a file.
int buf_size
Size of buf except extra allocated bytes.
unsigned char * buf
Buffer must have AVPROBE_PADDING_SIZE of extra allocated bytes filled with zero.