draw: variable shifts in fb_val(); update from fbpad
[fbff.git] / ffs.h
blobec40e26494d07ab2504c49609e2748058ee26cc0
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_avdiff(struct ffs *ffs, struct ffs *affs);
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);