diff libmpcodecs/vd.h @ 5323:a2bd4e930d59

common stuff moved to mpc_info.h
author arpi
date Mon, 25 Mar 2002 02:39:36 +0000
parents 88481d4b9e0e
children d2fbd113008e
line wrap: on
line diff
--- a/libmpcodecs/vd.h	Mon Mar 25 02:10:08 2002 +0000
+++ b/libmpcodecs/vd.h	Mon Mar 25 02:39:36 2002 +0000
@@ -1,18 +1,6 @@
-typedef struct vd_info_s
-{
-        /* codec long name ("Autodesk FLI/FLC Animation decoder" */
-        const char *name;
-        /* short name (same as driver name in codecs.conf) ("dshow") */
-        const char *short_name;
-	/* codec family: -vfm id */
-	const int id;
-        /* interface author/maintainer */
-        const char *maintainer;
-        /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */
-        const char *author;
-        /* any additional comments */
-        const char *comment;
-} vd_info_t;
+
+#include "mpc_info.h"
+typedef mp_codec_info_t vd_info_t;
 
 /* interface of video decoder drivers */
 typedef struct vd_functions_s
@@ -27,13 +15,6 @@
 // NULL terminated array of all drivers
 extern vd_functions_t* mpcodecs_vd_drivers[];
 
-#define CONTROL_OK 1
-#define CONTROL_TRUE 1
-#define CONTROL_FALSE 0
-#define CONTROL_UNKNOWN -1
-#define CONTROL_ERROR -2
-#define CONTROL_NA -3
-
 #define VDCTRL_QUERY_FORMAT 3 /* test for availabilty of a format */
 #define VDCTRL_QUERY_MAX_PP_LEVEL 4 /* test for postprocessing support (max level) */
 #define VDCTRL_SET_PP_LEVEL 5 /* set postprocessing level */