1 #ifndef _frame__h__included__
2 #define _frame__h__included__
11 uint32_t f_framedata
[];
14 struct frame
* frame_create(uint32_t w
, uint32_t h
);
15 void frame_release(struct frame
* frame
);
17 struct frame_input_stream
;
18 struct frame_output_stream
;
20 struct frame_input_stream
* fis_open(const char* filename
);
21 struct frame
* fis_next_frame(struct frame_input_stream
* fis
);
22 void fis_close(struct frame_input_stream
* fis
);
23 struct frame_output_stream
* fos_open(const char* filename
);
24 void fos_save_frame(struct frame_output_stream
* fos
, struct frame
* frame
);
25 void fos_close(struct frame_output_stream
* fos
);