27 lines
512 B
C
27 lines
512 B
C
#ifndef EYE_IMAGE_H
|
|
#define EYE_IMAGE_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define EYE_IMAGE_WIDTH 320
|
|
#define EYE_IMAGE_HEIGHT 240
|
|
#define EYE_IMAGE_SOURCE_COUNT 27
|
|
|
|
typedef struct {
|
|
uint16_t color;
|
|
uint16_t count;
|
|
} rle_structure_t;
|
|
|
|
typedef struct {
|
|
const rle_structure_t *runs;
|
|
uint32_t run_count;
|
|
} eye_image_frame_t;
|
|
|
|
typedef struct {
|
|
const eye_image_frame_t *frames;
|
|
uint16_t frame_count;
|
|
} eye_image_source_t;
|
|
|
|
extern const eye_image_source_t eye_image_sources[EYE_IMAGE_SOURCE_COUNT];
|
|
#endif
|