view libmpdemux/mf.h @ 25075:c18499a044ce

Change to a 64 bit accumulation variable instead of shifting. Changing the way the loop is done is necessary to reduce register pressure. About 20% speedup even on 32 bit x86.
author reimar
date Sun, 18 Nov 2007 18:52:51 +0000
parents 3f0d00abc073
children 3baf6a2283da
line wrap: on
line source


#ifndef MF_H
#define MF_H

extern int    mf_w;
extern int    mf_h;
extern float  mf_fps;
extern char * mf_type;

typedef struct
{
 int curr_frame;
 int nr_of_files;
 char ** names;
} mf_t;

mf_t* open_mf(char * filename);

#endif