29 #define CDXL_HEADER_SIZE 32
62 if (p->
buf[18] || !p->
buf[19])
91 "Could not parse framerate: %s.\n", cdxl->
framerate);
108 uint32_t current_size,
video_size, image_size;
120 if (cdxl->
header[0] != 1) {
130 image_size =
FFALIGN(width, 16) * height * cdxl->
header[19] / 8;
131 video_size = palette_size + image_size;
133 if (palette_size > 512)
147 if (cdxl->
header[1] & 0x10) {
207 #define OFFSET(x) offsetof(CDXLDemuxContext, x)
228 .extensions =
"cdxl,xl",
230 .priv_class = &cdxl_demuxer_class,