+ buf += 2; /* some constant (always 256) */
+ quality = bytestream_get_le16(&buf);
+ width = bytestream_get_le16(&buf);
+ height = bytestream_get_le16(&buf);
+ buf += 4; /* some constant */
+ is_pframe = bytestream_get_le32(&buf);
+ num_coeffs = bytestream_get_byte(&buf);
+ buf += 3; /* some constant */