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",
55 size, w, h, unk1, unk2);
76 .priv_class = &ingenient_demuxer_class,
#define FF_RAWVIDEO_DEMUXER_CLASS(name)
static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
int64_t avio_skip(AVIOContext *s, int64_t offset)
Skip given number of bytes forward.
uint64_t_TMPL AV_WL64 unsigned int_TMPL AV_WL32 unsigned int_TMPL AV_WL24 unsigned int_TMPL AV_WL16 uint64_t_TMPL AV_WB64 unsigned int_TMPL AV_WB32 unsigned int_TMPL AV_WB24 unsigned int_TMPL AV_RB16
unsigned int avio_rl32(AVIOContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
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.
static int read_header(FFV1Context *f)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
AVIOContext * pb
I/O context.
AVInputFormat ff_ingenient_demuxer
This structure contains the data a format has to probe a file.
static int ingenient_probe(AVProbeData *p)
unsigned int avio_rl16(AVIOContext *s)
#define MKTAG(a, b, c, d)
This structure stores compressed data.