annotate libmpcodecs/mpc_info.h @ 7180:28677d779205

-afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
author arpi
date Fri, 30 Aug 2002 21:44:20 +0000
parents a2bd4e930d59
children 3baf6a2283da
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5323
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
2 #ifndef MP_CODEC_INFO_T
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
3 #define MP_CODEC_INFO_T
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
4 typedef struct mp_codec_info_s
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
5 {
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
6 /* codec long name ("Autodesk FLI/FLC Animation decoder" */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
7 const char *name;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
8 /* short name (same as driver name in codecs.conf) ("dshow") */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
9 const char *short_name;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
10 /* interface author/maintainer */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
11 const char *maintainer;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
12 /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
13 const char *author;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
14 /* any additional comments */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
15 const char *comment;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
16 } mp_codec_info_t;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
17
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
18 #define CONTROL_OK 1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
19 #define CONTROL_TRUE 1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
20 #define CONTROL_FALSE 0
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
21 #define CONTROL_UNKNOWN -1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
22 #define CONTROL_ERROR -2
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
23 #define CONTROL_NA -3
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
24
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
25 #endif