stereoplay
annotate src/vid.h @ 0:265a24704ff2
stereoplay
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 06 Mar 2011 20:31:18 +0200 |
parents | |
children | acf3d25f23cb |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef VID_H_ |
nuclear@0 | 2 #define VID_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #include <inttypes.h> |
nuclear@0 | 5 |
nuclear@0 | 6 struct video_file; |
nuclear@0 | 7 |
nuclear@0 | 8 #ifdef __cplusplus |
nuclear@0 | 9 extern "C" { |
nuclear@0 | 10 #endif |
nuclear@0 | 11 |
nuclear@0 | 12 struct video_file *vid_open(const char *fname); |
nuclear@0 | 13 void vid_close(struct video_file *vf); |
nuclear@0 | 14 |
nuclear@0 | 15 float vid_fps(struct video_file *vf); |
nuclear@0 | 16 |
nuclear@0 | 17 /* returns the interval between frames in microseconds */ |
nuclear@0 | 18 unsigned int vid_frame_interval(struct video_file *vf); |
nuclear@0 | 19 |
nuclear@0 | 20 int vid_frame_width(struct video_file *vf); |
nuclear@0 | 21 int vid_frame_height(struct video_file *vf); |
nuclear@0 | 22 size_t vid_frame_size(struct video_file *vf); |
nuclear@0 | 23 |
nuclear@0 | 24 int vid_get_frame(struct video_file *vf, uint32_t *img); |
nuclear@0 | 25 |
nuclear@0 | 26 #ifdef __cplusplus |
nuclear@0 | 27 } |
nuclear@0 | 28 #endif |
nuclear@0 | 29 |
nuclear@0 | 30 #endif /* VID_H_ */ |