annotate libmpdemux/mf.h @ 22280:a5e5b0c45c03

Split command/property handling from mplayer.c to a new file command.c. Move some global and static variables under a struct that can be given as a parameter. Add a context argument to the property functions so that they do not have to depend on global/static variables.
author uau
date Wed, 21 Feb 2007 00:49:24 +0000
parents 0c7ad1c632cc
children 3f0d00abc073
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19300
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
1
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
2 #ifndef _MF_H
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
3 #define _MF_H
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
4
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
5 extern int mf_w;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
6 extern int mf_h;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
7 extern float mf_fps;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
8 extern char * mf_type;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
9
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
10 typedef struct
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
11 {
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
12 int curr_frame;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
13 int nr_of_files;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
14 char ** names;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
15 } mf_t;
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
16
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
17 mf_t* open_mf(char * filename);
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
18
0c7ad1c632cc mf.[hc] belong to libmpdemux
ben
parents:
diff changeset
19 #endif