28 int ret,
size, w, h, unk1, unk2;
44 av_log(s,
AV_LOG_DEBUG,
"Ingenient packet: size=%d, width=%d, height=%d, unk1=%d unk2=%d\n",
45 size, w, h, unk1, unk2);
72 .priv_class = &ingenient_demuxer_class,
#define FF_RAWVIDEO_DEMUXER_CLASS(name)
void av_free_packet(AVPacket *pkt)
Free a packet.
int64_t pos
byte position in stream, -1 if unknown
struct FFRawVideoDemuxerContext FFRawVideoDemuxerContext
static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
#define MKTAG(a, b, c, d)
static av_always_inline int64_t avio_tell(AVIOContext *s)
ftell() equivalent for AVIOContext.
int avio_read(AVIOContext *s, unsigned char *buf, int size)
Read size bytes from AVIOContext into buf.
int av_new_packet(AVPacket *pkt, int size)
Allocate the payload of a packet and initialize its fields with default values.
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,...)
static av_always_inline int64_t avio_skip(AVIOContext *s, int64_t offset)
Skip given number of bytes forward.
static int read_header(FFV1Context *f)
AVIOContext * pb
I/O context.
AVInputFormat ff_ingenient_demuxer
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
unsigned int avio_rl16(AVIOContext *s)
This structure stores compressed data.
#define AVFMT_GENERIC_INDEX