1 2 3 4 5 6 7 8 9 10
#include <stddef.h> #include <stdint.h> typedef struct decoded_image { size_t width; size_t height; uint32_t *buf; size_t buf_size; } decoded_image;