1 #define FFS_AUDIO 0x1000
2 #define FFS_VIDEO 0x2000
3 #define FFS_STRIDX 0x0fff
5 void ffs_globinit(void);
8 struct ffs
*ffs_alloc(char *path
, int flags
);
9 void ffs_free(struct ffs
*ffs
);
11 long ffs_pos(struct ffs
*ffs
, int diff
);
12 void ffs_seek(struct ffs
*ffs
, long pos
, int perframe
);
13 void ffs_wait(struct ffs
*ffs
);
14 int ffs_avdiff(struct ffs
*ffs
, struct ffs
*affs
);
17 void ffs_ainfo(struct ffs
*ffs
, int *rate
, int *bps
, int *ch
);
18 int ffs_adec(struct ffs
*ffs
, void *buf
, int blen
);
21 void ffs_vsetup(struct ffs
*ffs
, float zoom
, int fbm
);
22 void ffs_vinfo(struct ffs
*ffs
, int *w
, int *h
);
23 int ffs_vdec(struct ffs
*ffs
, void **buf
);