forked from opencode.energia.arti.ee/vt1200
27 lines
594 B
C
27 lines
594 B
C
#ifndef BADAPPLE_MOVIE_H
|
|
#define BADAPPLE_MOVIE_H
|
|
|
|
/* K&R declarations: the 1987 TI compiler has no ANSI prototypes. */
|
|
struct movie_header {
|
|
unsigned int width;
|
|
unsigned int height;
|
|
unsigned int scale;
|
|
unsigned int tile;
|
|
unsigned int tiles_x;
|
|
unsigned int tiles_y;
|
|
unsigned int frame_count;
|
|
unsigned int index_offset;
|
|
unsigned int data_offset;
|
|
unsigned int source_fps;
|
|
unsigned int display_hz;
|
|
};
|
|
|
|
typedef void (*movie_fill_fn)();
|
|
|
|
int movie_open();
|
|
int movie_decode_frame();
|
|
unsigned int movie_frame_ticks();
|
|
unsigned int movie_checksum();
|
|
|
|
#endif
|