[Mplayer-cvslog] CVS: main/libmpcodecs mpc_info.h,NONE,1.1 vd.h,1.5,1.6

Arpi of Ize arpi at mplayer.dev.hu
Mon Mar 25 03:39:39 CET 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv1704

Modified Files:
	vd.h 
Added Files:
	mpc_info.h 
Log Message:
common stuff moved to mpc_info.h

--- NEW FILE ---

#ifndef MP_CODEC_INFO_T
#define MP_CODEC_INFO_T
typedef struct mp_codec_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 at ess.engr.uvic.ca>") */
        const char *author;
        /* any additional comments */
        const char *comment;
} mp_codec_info_t;

#define CONTROL_OK 1
#define CONTROL_TRUE 1
#define CONTROL_FALSE 0
#define CONTROL_UNKNOWN -1
#define CONTROL_ERROR -2
#define CONTROL_NA -3

#endif

Index: vd.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- vd.h	9 Mar 2002 19:18:46 -0000	1.5
+++ vd.h	25 Mar 2002 02:39:36 -0000	1.6
@@ -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 at 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
@@ -26,13 +14,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) */




More information about the MPlayer-cvslog mailing list