annotate libmpcodecs/mpc_info.h @ 25065:54dba785e683

New media format negotiation code: loop through all available formats trying to establish connection between pins. Negotiation stops either when all formats are rejected (error reported in this case) or when connection is established (which can happen only when current media format is accepted by both of the pins).
author voroshil
date Sun, 18 Nov 2007 11:13:28 +0000
parents 28677d779205
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