move is_vsync() to ffs.c as ffs_vsync()
[fbff.git] / ffs.h
blob41ab48b7c540a3258cadd679e0a93e9c58ac5a08
1 void ffs_globinit(void);
3 /* ffmpeg stream */
4 struct ffs *ffs_alloc(char *path, int video);
5 void ffs_free(struct ffs *ffs);
7 long ffs_pos(struct ffs *ffs, int diff);
8 void ffs_seek(struct ffs *ffs, long pos, int perframe);
9 void ffs_wait(struct ffs *ffs);
10 int ffs_vsync(struct ffs *ffs, struct ffs *affs, int abufs);
12 /* audio */
13 void ffs_ainfo(struct ffs *ffs, int *rate, int *bps, int *ch);
14 int ffs_adec(struct ffs *ffs, void *buf, int blen);
16 /* video */
17 void ffs_vsetup(struct ffs *ffs, float zoom, int fbm);
18 void ffs_vinfo(struct ffs *ffs, int *w, int *h);
19 int ffs_vdec(struct ffs *ffs, void **buf);