1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef EDID_H #define EDID_H typedef struct qemu_edid_info { const char *vendor; const char *name; const char *serial; uint32_t dpi; uint32_t prefx; uint32_t prefy; uint32_t maxx; uint32_t maxy; } qemu_edid_info; void qemu_edid_generate(uint8_t *edid, size_t size, qemu_edid_info *info); size_t qemu_edid_size(uint8_t *edid); #endif /* EDID_H */