29 int width = bytestream_get_be16(&b);
30 int height = bytestream_get_be16(&b);
31 av_unused int ox = bytestream_get_be16(&b);
32 av_unused int oy = bytestream_get_be16(&b);
33 int bpp = bytestream_get_be16(&b);
36 if (!width || !height)
39 if (bpp != 24 && bpp != 8)
42 for (y=0; y<2 && y<
height; y++) {
43 for (x=0; x<
width; ) {
45 if (count == 0 || x + count > width)
72 .priv_class = &image2_alias_pix_class,