draw: draw.c is now independent of framebuffer depth
[fbff.git] / ffs.h
blobf473c73fb247e57b87b0589b514380e5353a29b7
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 long ffs_seq(struct ffs *ffs, int all);
10 void ffs_wait(struct ffs *ffs);
12 /* audio */
13 void ffs_ainfo(struct ffs *ffs, int *rate, int *bps, int *ch);
14 int ffs_adec(struct ffs *ffs, char *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, char **buf);