[MPlayer-cvslog] r30680 - in trunk/libmpcodecs: vf.c vf.h vf_1bpp.c vf_2xsai.c vf_ass.c vf_blackframe.c vf_bmovl.c vf_boxblur.c vf_crop.c vf_cropdetect.c vf_decimate.c vf_delogo.c vf_denoise3d.c vf_detc.c vf_dint.c...

diego subversion at mplayerhq.hu
Sun Feb 21 14:40:49 CET 2010


Author: diego
Date: Sun Feb 21 14:40:49 2010
New Revision: 30680

Log:
Rename open() vf initialization function to vf_open().
This avoids clashes with fcntl.h under certain circumstances.

Modified:
   trunk/libmpcodecs/vf.c
   trunk/libmpcodecs/vf.h
   trunk/libmpcodecs/vf_1bpp.c
   trunk/libmpcodecs/vf_2xsai.c
   trunk/libmpcodecs/vf_ass.c
   trunk/libmpcodecs/vf_blackframe.c
   trunk/libmpcodecs/vf_bmovl.c
   trunk/libmpcodecs/vf_boxblur.c
   trunk/libmpcodecs/vf_crop.c
   trunk/libmpcodecs/vf_cropdetect.c
   trunk/libmpcodecs/vf_decimate.c
   trunk/libmpcodecs/vf_delogo.c
   trunk/libmpcodecs/vf_denoise3d.c
   trunk/libmpcodecs/vf_detc.c
   trunk/libmpcodecs/vf_dint.c
   trunk/libmpcodecs/vf_divtc.c
   trunk/libmpcodecs/vf_down3dright.c
   trunk/libmpcodecs/vf_dsize.c
   trunk/libmpcodecs/vf_dvbscale.c
   trunk/libmpcodecs/vf_eq.c
   trunk/libmpcodecs/vf_eq2.c
   trunk/libmpcodecs/vf_expand.c
   trunk/libmpcodecs/vf_field.c
   trunk/libmpcodecs/vf_fil.c
   trunk/libmpcodecs/vf_filmdint.c
   trunk/libmpcodecs/vf_flip.c
   trunk/libmpcodecs/vf_format.c
   trunk/libmpcodecs/vf_framestep.c
   trunk/libmpcodecs/vf_fspp.c
   trunk/libmpcodecs/vf_geq.c
   trunk/libmpcodecs/vf_gradfun.c
   trunk/libmpcodecs/vf_halfpack.c
   trunk/libmpcodecs/vf_harddup.c
   trunk/libmpcodecs/vf_hqdn3d.c
   trunk/libmpcodecs/vf_hue.c
   trunk/libmpcodecs/vf_il.c
   trunk/libmpcodecs/vf_ilpack.c
   trunk/libmpcodecs/vf_ivtc.c
   trunk/libmpcodecs/vf_kerndeint.c
   trunk/libmpcodecs/vf_lavc.c
   trunk/libmpcodecs/vf_lavcdeint.c
   trunk/libmpcodecs/vf_mcdeint.c
   trunk/libmpcodecs/vf_mirror.c
   trunk/libmpcodecs/vf_noformat.c
   trunk/libmpcodecs/vf_noise.c
   trunk/libmpcodecs/vf_ow.c
   trunk/libmpcodecs/vf_palette.c
   trunk/libmpcodecs/vf_perspective.c
   trunk/libmpcodecs/vf_phase.c
   trunk/libmpcodecs/vf_pp.c
   trunk/libmpcodecs/vf_pp7.c
   trunk/libmpcodecs/vf_pullup.c
   trunk/libmpcodecs/vf_qp.c
   trunk/libmpcodecs/vf_rectangle.c
   trunk/libmpcodecs/vf_remove_logo.c
   trunk/libmpcodecs/vf_rgb2bgr.c
   trunk/libmpcodecs/vf_rgbtest.c
   trunk/libmpcodecs/vf_rotate.c
   trunk/libmpcodecs/vf_sab.c
   trunk/libmpcodecs/vf_scale.c
   trunk/libmpcodecs/vf_screenshot.c
   trunk/libmpcodecs/vf_smartblur.c
   trunk/libmpcodecs/vf_softpulldown.c
   trunk/libmpcodecs/vf_softskip.c
   trunk/libmpcodecs/vf_spp.c
   trunk/libmpcodecs/vf_swapuv.c
   trunk/libmpcodecs/vf_telecine.c
   trunk/libmpcodecs/vf_test.c
   trunk/libmpcodecs/vf_tfields.c
   trunk/libmpcodecs/vf_tile.c
   trunk/libmpcodecs/vf_tinterlace.c
   trunk/libmpcodecs/vf_unsharp.c
   trunk/libmpcodecs/vf_uspp.c
   trunk/libmpcodecs/vf_vo.c
   trunk/libmpcodecs/vf_yadif.c
   trunk/libmpcodecs/vf_yuvcsp.c
   trunk/libmpcodecs/vf_yuy2.c
   trunk/libmpcodecs/vf_yvu9.c
   trunk/libmpcodecs/vf_zrmjpeg.c

Modified: trunk/libmpcodecs/vf.c
==============================================================================
--- trunk/libmpcodecs/vf.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -464,7 +464,7 @@ vf_instance_t* vf_open_plugin(const vf_i
 	args = (char**)args[1];
       else
 	args = NULL;
-    if(vf->info->open(vf,(char*)args)>0) return vf; // Success!
+    if(vf->info->vf_open(vf,(char*)args)>0) return vf; // Success!
     free(vf);
     mp_msg(MSGT_VFILTER,MSGL_ERR,MSGTR_CouldNotOpenVideoFilter,name);
     return NULL;

Modified: trunk/libmpcodecs/vf.h
==============================================================================
--- trunk/libmpcodecs/vf.h	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf.h	Sun Feb 21 14:40:49 2010	(r30680)
@@ -29,7 +29,7 @@ typedef struct vf_info_s {
     const char *name;
     const char *author;
     const char *comment;
-    int (*open)(struct vf_instance_s* vf,char* args);
+    int (*vf_open)(struct vf_instance_s* vf,char* args);
     // Ptr to a struct dscribing the options
     const void* opts;
 } vf_info_t;

Modified: trunk/libmpcodecs/vf_1bpp.c
==============================================================================
--- trunk/libmpcodecs/vf_1bpp.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_1bpp.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -180,7 +180,7 @@ static int query_format(struct vf_instan
     return vf->next->query_format(vf->next,best);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->query_format=query_format;
@@ -194,7 +194,7 @@ const vf_info_t vf_info_1bpp = {
     "1bpp",
     "A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_2xsai.c
==============================================================================
--- trunk/libmpcodecs/vf_2xsai.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_2xsai.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -317,7 +317,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->query_format=query_format;
@@ -329,7 +329,7 @@ const vf_info_t vf_info_2xsai = {
     "2xsai",
     "A'rpi",
     "http://elektron.its.tudelft.nl/~dalikifa/",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_ass.c
==============================================================================
--- trunk/libmpcodecs/vf_ass.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_ass.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -388,7 +388,7 @@ static const unsigned int fmt_list[]={
 	0
 };
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	int flags;
 	vf->priv->outfmt = vf_match_csp(&vf->next,fmt_list,IMGFMT_YV12);
@@ -431,6 +431,6 @@ const vf_info_t vf_info_ass = {
 	"ass",
 	"Evgeniy Stepanov",
 	"",
-	open,
+	vf_open,
 	&vf_opts
 };

Modified: trunk/libmpcodecs/vf_blackframe.c
==============================================================================
--- trunk/libmpcodecs/vf_blackframe.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_blackframe.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -118,7 +118,7 @@ static void uninit(struct vf_instance_s 
     if (vf->priv) free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->priv = malloc(sizeof(struct vf_priv_s));
     if (!vf->priv) return 0;
 
@@ -143,6 +143,6 @@ const vf_info_t vf_info_blackframe = {
     "blackframe",
     "Brian J. Murrell, Julian Hall, Ivo van Poorten",
     "Useful for detecting scene transitions",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_bmovl.c
==============================================================================
--- trunk/libmpcodecs/vf_bmovl.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_bmovl.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -458,7 +458,7 @@ put_image(struct vf_instance_s* vf, mp_i
 } // put_image
 
 static int
-vf_open(vf_instance_t* vf, char* args)
+vf_open(vf_instance_t *vf, char *args)
 {
     char filename[1000];
 

Modified: trunk/libmpcodecs/vf_boxblur.c
==============================================================================
--- trunk/libmpcodecs/vf_boxblur.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_boxblur.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -171,7 +171,7 @@ static int query_format(struct vf_instan
 	return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 	int e;
 
 	vf->config=config;
@@ -207,7 +207,7 @@ const vf_info_t vf_info_boxblur = {
     "boxblur",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_crop.c
==============================================================================
--- trunk/libmpcodecs/vf_crop.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_crop.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -156,7 +156,7 @@ static void draw_slice(struct vf_instanc
 
 //===========================================================================//
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->start_slice=start_slice;
@@ -191,7 +191,7 @@ const vf_info_t vf_info_crop = {
     "crop",
     "A'rpi",
     "",
-    open,
+    vf_open,
     &vf_opts
 };
 

Modified: trunk/libmpcodecs/vf_cropdetect.c
==============================================================================
--- trunk/libmpcodecs/vf_cropdetect.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_cropdetect.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -174,7 +174,7 @@ static int query_format(struct vf_instan
 }
 //===========================================================================//
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->query_format=query_format;
@@ -194,7 +194,7 @@ const vf_info_t vf_info_cropdetect = {
     "cropdetect",
     "A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_decimate.c
==============================================================================
--- trunk/libmpcodecs/vf_decimate.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_decimate.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -169,7 +169,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	struct vf_priv_s *p;
 	vf->put_image = put_image;
@@ -193,6 +193,6 @@ const vf_info_t vf_info_decimate = {
     "decimate",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_delogo.c
==============================================================================
--- trunk/libmpcodecs/vf_delogo.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_delogo.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -196,7 +196,7 @@ static unsigned int fmt_list[]={
     0
 };
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->get_image=get_image;
@@ -255,7 +255,7 @@ const vf_info_t vf_info_delogo = {
     "delogo",
     "Jindrich Makovicka, Alex Beregszaszi",
     "",
-    open,
+    vf_open,
     &vf_opts
 };
 

Modified: trunk/libmpcodecs/vf_denoise3d.c
==============================================================================
--- trunk/libmpcodecs/vf_denoise3d.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_denoise3d.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -182,7 +182,7 @@ static void PrecalcCoefs(int *Ct, double
 }
 
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
         double LumSpac, LumTmp, ChromSpac, ChromTmp;
         double Param1, Param2, Param3;
 
@@ -261,7 +261,7 @@ const vf_info_t vf_info_denoise3d = {
     "denoise3d",
     "Daniel Moreno",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_detc.c
==============================================================================
--- trunk/libmpcodecs/vf_detc.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_detc.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -420,7 +420,7 @@ static void parse_args(struct vf_priv_s 
 	free(orig);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	struct vf_priv_s *p;
 	vf->config = config;
@@ -448,6 +448,6 @@ const vf_info_t vf_info_detc = {
     "detc",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_dint.c
==============================================================================
--- trunk/libmpcodecs/vf_dint.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_dint.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -191,7 +191,7 @@ static int put_image (struct vf_instance
     return vf_next_put_image (vf, mpi, pts);
 }
 
-static int open (vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config = config;
     vf->put_image = put_image;
 //    vf->default_reqs=VFCAP_ACCEPT_STRIDE;
@@ -209,6 +209,6 @@ const vf_info_t vf_info_dint = {
     "dint",
     "A.G.",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_divtc.c
==============================================================================
--- trunk/libmpcodecs/vf_divtc.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_divtc.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -595,7 +595,7 @@ static void uninit(struct vf_instance_s*
       }
    }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
    {
    struct vf_priv_s *p;
    char *filename="framediff.log", *ap, *q, *a;
@@ -715,6 +715,6 @@ const vf_info_t vf_info_divtc =
    "divtc",
    "Ville Saari",
    "",
-   open,
+   vf_open,
    NULL
    };

Modified: trunk/libmpcodecs/vf_down3dright.c
==============================================================================
--- trunk/libmpcodecs/vf_down3dright.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_down3dright.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -140,7 +140,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	vf->config=config;
 	vf->query_format=query_format;
@@ -161,6 +161,6 @@ const vf_info_t vf_info_down3dright = {
 	"down3dright",
 	"Zdenek Kabelac",
 	"",
-	open,
+	vf_open,
 	NULL
 };

Modified: trunk/libmpcodecs/vf_dsize.c
==============================================================================
--- trunk/libmpcodecs/vf_dsize.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_dsize.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -79,7 +79,7 @@ static void uninit(vf_instance_t *vf) {
 	vf->priv = NULL;
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	vf->config = config;
 	vf->draw_slice = vf_next_draw_slice;
@@ -118,6 +118,6 @@ const vf_info_t vf_info_dsize = {
     "dsize",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_dvbscale.c
==============================================================================
--- trunk/libmpcodecs/vf_dvbscale.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_dvbscale.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -46,7 +46,7 @@ static int config(struct vf_instance_s* 
     return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->default_caps=0;
     vf->priv=malloc(sizeof(struct vf_priv_s));
@@ -60,7 +60,7 @@ const vf_info_t vf_info_dvbscale = {
     "dvbscale",
     "A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_eq.c
==============================================================================
--- trunk/libmpcodecs/vf_eq.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_eq.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -219,7 +219,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	vf->control=control;
 	vf->query_format=query_format;
@@ -253,6 +253,6 @@ const vf_info_t vf_info_eq = {
 	"eq",
 	"Richard Felker",
 	"",
-	open,
+	vf_open,
 	&vf_opts
 };

Modified: trunk/libmpcodecs/vf_eq2.c
==============================================================================
--- trunk/libmpcodecs/vf_eq2.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_eq2.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -446,7 +446,7 @@ void uninit (vf_instance_t *vf)
 }
 
 static
-int open (vf_instance_t *vf, char *args)
+int vf_open(vf_instance_t *vf, char *args)
 {
   unsigned i;
   vf_eq2_t *eq2;
@@ -514,6 +514,6 @@ const vf_info_t vf_info_eq2 = {
   "eq2",
   "Hampa Hug, Daniel Moreno, Richard Felker",
   "",
-  &open,
+  &vf_open,
   NULL
 };

Modified: trunk/libmpcodecs/vf_expand.c
==============================================================================
--- trunk/libmpcodecs/vf_expand.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_expand.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -452,7 +452,7 @@ static int query_format(struct vf_instan
   return vf_next_query_format(vf,fmt);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->control=control;
     vf->query_format=query_format;
@@ -501,7 +501,7 @@ const vf_info_t vf_info_expand = {
     "expand",
     "A'rpi",
     "",
-    open,
+    vf_open,
     &vf_opts
 };
 

Modified: trunk/libmpcodecs/vf_field.c
==============================================================================
--- trunk/libmpcodecs/vf_field.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_field.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -66,7 +66,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->uninit=uninit;
@@ -82,7 +82,7 @@ const vf_info_t vf_info_field = {
     "field",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_fil.c
==============================================================================
--- trunk/libmpcodecs/vf_fil.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_fil.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -94,7 +94,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->uninit=uninit;
@@ -109,7 +109,7 @@ const vf_info_t vf_info_fil = {
     "fil",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_filmdint.c
==============================================================================
--- trunk/libmpcodecs/vf_filmdint.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_filmdint.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -1406,7 +1406,7 @@ static void uninit(struct vf_instance_s*
     free(p);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
     struct vf_priv_s *p;
     vf->get_image = get_image;
@@ -1458,6 +1458,6 @@ const vf_info_t vf_info_filmdint = {
     "filmdint",
     "Zoltan Hidvegi",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_flip.c
==============================================================================
--- trunk/libmpcodecs/vf_flip.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_flip.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -90,7 +90,7 @@ static int put_image(struct vf_instance_
 
 //===========================================================================//
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->get_image=get_image;
     vf->put_image=put_image;
@@ -103,7 +103,7 @@ const vf_info_t vf_info_flip = {
     "flip",
     "A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_format.c
==============================================================================
--- trunk/libmpcodecs/vf_format.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_format.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -46,7 +46,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->query_format=query_format;
     vf->default_caps=0;
     return 1;
@@ -70,7 +70,7 @@ const vf_info_t vf_info_format = {
     "format",
     "A'rpi",
     "FIXME! get_image()/put_image()",
-    open,
+    vf_open,
     &vf_opts
 };
 

Modified: trunk/libmpcodecs/vf_framestep.c
==============================================================================
--- trunk/libmpcodecs/vf_framestep.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_framestep.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -153,7 +153,7 @@ static void uninit(struct vf_instance_s*
 }
 
 /* Main entry funct for the filter */
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	struct vf_priv_s *p;
 
@@ -200,6 +200,6 @@ const vf_info_t vf_info_framestep = {
     "framestep",
     "Daniele Forghieri",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_fspp.c
==============================================================================
--- trunk/libmpcodecs/vf_fspp.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_fspp.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -622,7 +622,7 @@ static int control(struct vf_instance_s*
     return vf_next_control(vf,request,data);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
     int i=0, bias;
     int custom_threshold_m[64];
@@ -683,7 +683,7 @@ const vf_info_t vf_info_fspp = {
     "fspp",
     "Michael Niedermayer, Nikolaj Poroshin",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_geq.c
==============================================================================
--- trunk/libmpcodecs/vf_geq.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_geq.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -134,7 +134,7 @@ static void uninit(struct vf_instance_s*
 }
 
 //===========================================================================//
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     char eq[3][2000] = { { 0 }, { 0 }, { 0 } };
     int plane;
 
@@ -193,6 +193,6 @@ const vf_info_t vf_info_geq = {
     "geq",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_gradfun.c
==============================================================================
--- trunk/libmpcodecs/vf_gradfun.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_gradfun.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -364,7 +364,7 @@ static void uninit(struct vf_instance_s*
     vf->priv = NULL;
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
     float thresh = 1.2;
     int radius = 16;
@@ -402,6 +402,6 @@ const vf_info_t vf_info_gradfun = {
     "gradfun",
     "Loren Merritt",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_halfpack.c
==============================================================================
--- trunk/libmpcodecs/vf_halfpack.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_halfpack.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -226,7 +226,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	vf->config=config;
 	vf->query_format=query_format;
@@ -249,6 +249,6 @@ const vf_info_t vf_info_halfpack = {
 	"halfpack",
 	"Richard Felker",
 	"",
-	open,
+	vf_open,
 	NULL
 };

Modified: trunk/libmpcodecs/vf_harddup.c
==============================================================================
--- trunk/libmpcodecs/vf_harddup.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_harddup.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -73,7 +73,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	vf->put_image = put_image;
 	vf->control = control;
@@ -87,6 +87,6 @@ const vf_info_t vf_info_harddup = {
     "harddup",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_hqdn3d.c
==============================================================================
--- trunk/libmpcodecs/vf_hqdn3d.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_hqdn3d.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -273,7 +273,7 @@ static void PrecalcCoefs(int *Ct, double
 }
 
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
         double LumSpac, LumTmp, ChromSpac, ChromTmp;
         double Param1, Param2, Param3, Param4;
 
@@ -360,7 +360,7 @@ const vf_info_t vf_info_hqdn3d = {
     "hqdn3d",
     "Daniel Moreno & A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_hue.c
==============================================================================
--- trunk/libmpcodecs/vf_hue.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_hue.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -163,7 +163,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	vf->control=control;
 	vf->query_format=query_format;
@@ -195,6 +195,6 @@ const vf_info_t vf_info_hue = {
 	"hue",
 	"Michael Niedermayer",
 	"",
-	open,
+	vf_open,
 	&vf_opts
 };

Modified: trunk/libmpcodecs/vf_il.c
==============================================================================
--- trunk/libmpcodecs/vf_il.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_il.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -119,7 +119,7 @@ static void parse(FilterParam *fp, char*
 	if(pos && pos<max) fp->interleave=-1;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 
 	vf->put_image=put_image;
 //	vf->get_image=get_image;
@@ -141,7 +141,7 @@ const vf_info_t vf_info_il = {
     "il",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_ilpack.c
==============================================================================
--- trunk/libmpcodecs/vf_ilpack.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_ilpack.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -404,7 +404,7 @@ static int query_format(struct vf_instan
 	return 0;
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	vf->config=config;
 	vf->query_format=query_format;
@@ -448,6 +448,6 @@ const vf_info_t vf_info_ilpack = {
 	"ilpack",
 	"Richard Felker",
 	"",
-	open,
+	vf_open,
 	NULL
 };

Modified: trunk/libmpcodecs/vf_ivtc.c
==============================================================================
--- trunk/libmpcodecs/vf_ivtc.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_ivtc.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -522,7 +522,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	struct vf_priv_s *p;
 	vf->put_image = put_image;
@@ -545,6 +545,6 @@ const vf_info_t vf_info_ivtc = {
     "ivtc",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_kerndeint.c
==============================================================================
--- trunk/libmpcodecs/vf_kerndeint.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_kerndeint.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -302,7 +302,7 @@ static int control(struct vf_instance_s*
 	return vf_next_control (vf, request, data);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 
 	vf->control=control;
 	vf->config=config;
@@ -338,7 +338,7 @@ const vf_info_t vf_info_kerndeint = {
     "kerndeint",
     "Donald Graft",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_lavc.c
==============================================================================
--- trunk/libmpcodecs/vf_lavc.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_lavc.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -130,7 +130,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     int p_quality=0;
     float p_fps=0;
 
@@ -180,7 +180,7 @@ const vf_info_t vf_info_lavc = {
     "lavc",
     "A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_lavcdeint.c
==============================================================================
--- trunk/libmpcodecs/vf_lavcdeint.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_lavcdeint.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -161,7 +161,7 @@ query_format (struct vf_instance_s* vf, 
 
 
 static int
-open (vf_instance_t *vf, char* args)
+vf_open(vf_instance_t *vf, char *args)
 {
   /* We don't have any args */
   (void) args;
@@ -192,7 +192,7 @@ const vf_info_t vf_info_lavcdeint = {
     "Joe Rabinoff",
     "libavcodec's internal deinterlacer, in case you don't like "
       "the builtin ones (invoked with -pp or -npp)",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_mcdeint.c
==============================================================================
--- trunk/libmpcodecs/vf_mcdeint.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_mcdeint.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -306,7 +306,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 
     vf->config=config;
     vf->put_image=put_image;
@@ -333,6 +333,6 @@ const vf_info_t vf_info_mcdeint = {
     "mcdeint",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_mirror.c
==============================================================================
--- trunk/libmpcodecs/vf_mirror.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_mirror.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -113,7 +113,7 @@ static int put_image(struct vf_instance_
 
 //===========================================================================//
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     //vf->config=config;
     vf->put_image=put_image;
     return 1;
@@ -124,7 +124,7 @@ const vf_info_t vf_info_mirror = {
     "mirror",
     "Eyck",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_noformat.c
==============================================================================
--- trunk/libmpcodecs/vf_noformat.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_noformat.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -46,7 +46,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->query_format=query_format;
     vf->default_caps=0;
     return 1;
@@ -70,7 +70,7 @@ const vf_info_t vf_info_noformat = {
     "noformat",
     "Joey",
     "",
-    open,
+    vf_open,
     &vf_opts
 };
 

Modified: trunk/libmpcodecs/vf_noise.c
==============================================================================
--- trunk/libmpcodecs/vf_noise.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_noise.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -423,7 +423,7 @@ static unsigned int fmt_list[]={
     0
 };
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->get_image=get_image;
@@ -466,7 +466,7 @@ const vf_info_t vf_info_noise = {
     "noise",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_ow.c
==============================================================================
--- trunk/libmpcodecs/vf_ow.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_ow.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -289,7 +289,7 @@ static int query_format(struct vf_instan
 }
 
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->get_image=get_image;
@@ -317,6 +317,6 @@ const vf_info_t vf_info_ow = {
     "ow",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_palette.c
==============================================================================
--- trunk/libmpcodecs/vf_palette.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_palette.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -188,7 +188,7 @@ static void uninit(vf_instance_t *vf) {
   free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     unsigned int i;
     vf->config=config;
     vf->uninit=uninit;
@@ -220,7 +220,7 @@ const vf_info_t vf_info_palette = {
     "palette",
     "A'rpi & Alex",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_perspective.c
==============================================================================
--- trunk/libmpcodecs/vf_perspective.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_perspective.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -304,7 +304,7 @@ static int query_format(struct vf_instan
 	return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 	int e;
 
 	vf->config=config;
@@ -336,7 +336,7 @@ const vf_info_t vf_info_perspective = {
     "perspective",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_phase.c
==============================================================================
--- trunk/libmpcodecs/vf_phase.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_phase.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -248,7 +248,7 @@ static void uninit(struct vf_instance_s*
    free(vf->priv);
    }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
    {
    vf->put_image = put_image;
    vf->uninit = uninit;
@@ -296,6 +296,6 @@ const vf_info_t vf_info_phase =
    "phase",
    "Ville Saari",
    "",
-   open,
+   vf_open,
    NULL
    };

Modified: trunk/libmpcodecs/vf_pp.c
==============================================================================
--- trunk/libmpcodecs/vf_pp.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_pp.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -169,7 +169,7 @@ static unsigned int fmt_list[]={
     0
 };
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     char *endptr, *name;
     int i;
     int hex_mode=0;
@@ -237,7 +237,7 @@ const vf_info_t vf_info_pp = {
     "pp",
     "A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_pp7.c
==============================================================================
--- trunk/libmpcodecs/vf_pp7.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_pp7.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -440,7 +440,7 @@ static int control(struct vf_instance_s*
     return vf_next_control(vf,request,data);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->get_image=get_image;
@@ -486,6 +486,6 @@ const vf_info_t vf_info_pp7 = {
     "pp7",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_pullup.c
==============================================================================
--- trunk/libmpcodecs/vf_pullup.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_pullup.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -280,7 +280,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	struct vf_priv_s *p;
 	struct pullup_context *c;
@@ -309,6 +309,6 @@ const vf_info_t vf_info_pullup = {
     "pullup",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_qp.c
==============================================================================
--- trunk/libmpcodecs/vf_qp.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_qp.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -147,7 +147,7 @@ static void uninit(struct vf_instance_s*
 }
 
 //===========================================================================//
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->get_image=get_image;
@@ -167,6 +167,6 @@ const vf_info_t vf_info_qp = {
     "qp",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_rectangle.c
==============================================================================
--- trunk/libmpcodecs/vf_rectangle.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_rectangle.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -156,7 +156,7 @@ put_image(struct vf_instance_s* vf, mp_i
 }
 
 static int
-open(vf_instance_t* vf, char* args) {
+vf_open(vf_instance_t *vf, char *args) {
     vf->config = config;
     vf->control = control;
     vf->put_image = put_image;
@@ -176,6 +176,6 @@ const vf_info_t vf_info_rectangle = {
     "rectangle",
     "Kim Minh Kaplan",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_remove_logo.c
==============================================================================
--- trunk/libmpcodecs/vf_remove_logo.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_remove_logo.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -828,7 +828,7 @@ static int query_format(struct vf_instan
  *
  * This sets up our instance variables and parses the arguments to the filter.
  */
-static int open(vf_instance_t * vf, char * args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
   vf->priv = safe_malloc(sizeof(vf_priv_s));
 
@@ -898,7 +898,7 @@ const vf_info_t vf_info_remove_logo = {
     "remove-logo",
     "Robert Edele",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_rgb2bgr.c
==============================================================================
--- trunk/libmpcodecs/vf_rgb2bgr.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_rgb2bgr.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -100,7 +100,7 @@ static int query_format(struct vf_instan
     return vf_next_query_format(vf,fmt) & (~VFCAP_CSP_SUPPORTED_BY_HW);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->query_format=query_format;
@@ -114,7 +114,7 @@ const vf_info_t vf_info_rgb2bgr = {
     "rgb2bgr",
     "A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_rgbtest.c
==============================================================================
--- trunk/libmpcodecs/vf_rgbtest.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_rgbtest.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -140,7 +140,7 @@ static int query_format(struct vf_instan
     return vf_next_query_format(vf,fmt) & (~VFCAP_CSP_SUPPORTED_BY_HW);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->query_format=query_format;
@@ -156,7 +156,7 @@ const vf_info_t vf_info_rgbtest = {
     "rgbtest",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_rotate.c
==============================================================================
--- trunk/libmpcodecs/vf_rotate.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_rotate.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -131,7 +131,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->query_format=query_format;
@@ -145,7 +145,7 @@ const vf_info_t vf_info_rotate = {
     "rotate",
     "A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_sab.c
==============================================================================
--- trunk/libmpcodecs/vf_sab.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_sab.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -272,7 +272,7 @@ static int query_format(struct vf_instan
 	return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 	int e;
 
 	vf->config=config;
@@ -314,7 +314,7 @@ const vf_info_t vf_info_sab = {
     "sab",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_scale.c
==============================================================================
--- trunk/libmpcodecs/vf_scale.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_scale.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -563,7 +563,7 @@ static void uninit(struct vf_instance_s 
     free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->start_slice=start_slice;
     vf->draw_slice=draw_slice;
@@ -724,7 +724,7 @@ const vf_info_t vf_info_scale = {
     "scale",
     "A'rpi",
     "",
-    open,
+    vf_open,
     &vf_opts
 };
 

Modified: trunk/libmpcodecs/vf_screenshot.c
==============================================================================
--- trunk/libmpcodecs/vf_screenshot.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_screenshot.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -282,8 +282,7 @@ static void uninit(vf_instance_t *vf)
     free(vf->priv);
 }
 
-// open conflicts with stdio.h at least under MinGW
-static int screenshot_open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
     vf->config=config;
     vf->control=control;
@@ -315,7 +314,7 @@ const vf_info_t vf_info_screenshot = {
     "screenshot",
     "A'rpi, Jindrich Makovicka",
     "",
-    screenshot_open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_smartblur.c
==============================================================================
--- trunk/libmpcodecs/vf_smartblur.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_smartblur.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -216,7 +216,7 @@ static int query_format(struct vf_instan
 	return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 	int e;
 
 	vf->config=config;
@@ -255,7 +255,7 @@ const vf_info_t vf_info_smartblur = {
     "smartblur",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_softpulldown.c
==============================================================================
--- trunk/libmpcodecs/vf_softpulldown.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_softpulldown.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -142,7 +142,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	struct vf_priv_s *p;
 	vf->config = config;
@@ -159,6 +159,6 @@ const vf_info_t vf_info_softpulldown = {
     "softpulldown",
     "Tobias Diedrich <ranma+mplayer at tdiedrich.de>",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_softskip.c
==============================================================================
--- trunk/libmpcodecs/vf_softskip.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_softskip.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -83,7 +83,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	vf->put_image = put_image;
 	vf->control = control;
@@ -97,6 +97,6 @@ const vf_info_t vf_info_softskip = {
     "softskip",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_spp.c
==============================================================================
--- trunk/libmpcodecs/vf_spp.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_spp.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -562,7 +562,7 @@ static int control(struct vf_instance_s*
     return vf_next_control(vf,request,data);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 
     int log2c=-1;
 
@@ -614,6 +614,6 @@ const vf_info_t vf_info_spp = {
     "spp",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_swapuv.c
==============================================================================
--- trunk/libmpcodecs/vf_swapuv.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_swapuv.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -87,7 +87,7 @@ static int query_format(struct vf_instan
 	return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->put_image=put_image;
     vf->get_image=get_image;
     vf->query_format=query_format;
@@ -99,7 +99,7 @@ const vf_info_t vf_info_swapuv = {
     "swapuv",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_telecine.c
==============================================================================
--- trunk/libmpcodecs/vf_telecine.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_telecine.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -131,7 +131,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	//vf->config = config;
 	vf->put_image = put_image;
@@ -150,6 +150,6 @@ const vf_info_t vf_info_telecine = {
     "telecine",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_test.c
==============================================================================
--- trunk/libmpcodecs/vf_test.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_test.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -311,7 +311,7 @@ static int query_format(struct vf_instan
     return vf_next_query_format(vf,IMGFMT_YV12) & (~VFCAP_CSP_SUPPORTED_BY_HW);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->query_format=query_format;
@@ -326,7 +326,7 @@ const vf_info_t vf_info_test = {
     "test",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_tfields.c
==============================================================================
--- trunk/libmpcodecs/vf_tfields.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_tfields.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -496,7 +496,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	struct vf_priv_s *p;
 	vf->config = config;
@@ -530,6 +530,6 @@ const vf_info_t vf_info_tfields = {
     "tfields",
     "Rich Felker",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_tile.c
==============================================================================
--- trunk/libmpcodecs/vf_tile.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_tile.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -231,7 +231,7 @@ static int query_format(struct vf_instan
  * If the value is less then 0 def_val is used.
  * Return 0 for ok
  *
- * Look below ( in open(...) ) for a use ...
+ * Look below ( in vf_open(...) ) for a use ...
  */
 static int parse_int(char **s, int *rt, int def_val)
 {
@@ -266,7 +266,7 @@ static int parse_int(char **s, int *rt, 
 }
 
 /* Main entry funct for the filter */
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
     struct vf_priv_s *p;
     int              er;
@@ -323,6 +323,6 @@ const vf_info_t vf_info_tile = {
     "tile",
     "Daniele Forghieri",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_tinterlace.c
==============================================================================
--- trunk/libmpcodecs/vf_tinterlace.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_tinterlace.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -209,7 +209,7 @@ static void uninit(struct vf_instance_s*
 	free(vf->priv);
 }
 
-static int open(vf_instance_t *vf, char* args)
+static int vf_open(vf_instance_t *vf, char *args)
 {
 	struct vf_priv_s *p;
 	vf->config = config;
@@ -230,6 +230,6 @@ const vf_info_t vf_info_tinterlace = {
 	"tinterlace",
 	"Michael Zucchi",
 	"",
-	open,
+	vf_open,
 	NULL
 };

Modified: trunk/libmpcodecs/vf_unsharp.c
==============================================================================
--- trunk/libmpcodecs/vf_unsharp.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_unsharp.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -270,7 +270,7 @@ static unsigned int fmt_list[] = {
     0
 };
 
-static int open( vf_instance_t *vf, char* args ) {
+static int vf_open( vf_instance_t *vf, char *args ) {
     vf->config       = config;
     vf->put_image    = put_image;
     vf->get_image    = get_image;
@@ -317,7 +317,7 @@ const vf_info_t vf_info_unsharp = {
     "unsharp",
     "Remi Guyomarch",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_uspp.c
==============================================================================
--- trunk/libmpcodecs/vf_uspp.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_uspp.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -340,7 +340,7 @@ static int control(struct vf_instance_s*
     return vf_next_control(vf,request,data);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 
     int log2c=-1;
 
@@ -380,6 +380,6 @@ const vf_info_t vf_info_uspp = {
     "uspp",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_vo.c
==============================================================================
--- trunk/libmpcodecs/vf_vo.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_vo.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -239,7 +239,7 @@ static void uninit(struct vf_instance_s*
 }
 //===========================================================================//
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->control=control;
     vf->query_format=query_format;
@@ -260,7 +260,7 @@ const vf_info_t vf_info_vo = {
     "vo",
     "A'rpi",
     "for internal use",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_yadif.c
==============================================================================
--- trunk/libmpcodecs/vf_yadif.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_yadif.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -479,7 +479,7 @@ static int control(struct vf_instance_s*
     return vf_next_control (vf, request, data);
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 
     vf->config=config;
     vf->put_image=put_image;
@@ -508,6 +508,6 @@ const vf_info_t vf_info_yadif = {
     "yadif",
     "Michael Niedermayer",
     "",
-    open,
+    vf_open,
     NULL
 };

Modified: trunk/libmpcodecs/vf_yuvcsp.c
==============================================================================
--- trunk/libmpcodecs/vf_yuvcsp.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_yuvcsp.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -97,7 +97,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
 //    vf->uninit=uninit;
@@ -113,7 +113,7 @@ const vf_info_t vf_info_yuvcsp = {
     "yuvcsp",
     "Alex Beregszaszi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_yuy2.c
==============================================================================
--- trunk/libmpcodecs/vf_yuy2.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_yuy2.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -81,7 +81,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->query_format=query_format;
@@ -93,7 +93,7 @@ const vf_info_t vf_info_yuy2 = {
     "yuy2",
     "A'rpi",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_yvu9.c
==============================================================================
--- trunk/libmpcodecs/vf_yvu9.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_yvu9.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -86,7 +86,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
     vf->config=config;
     vf->put_image=put_image;
     vf->query_format=query_format;
@@ -98,7 +98,7 @@ const vf_info_t vf_info_yvu9 = {
     "yvu9",
     "alex",
     "",
-    open,
+    vf_open,
     NULL
 };
 

Modified: trunk/libmpcodecs/vf_zrmjpeg.c
==============================================================================
--- trunk/libmpcodecs/vf_zrmjpeg.c	Sun Feb 21 14:38:55 2010	(r30679)
+++ trunk/libmpcodecs/vf_zrmjpeg.c	Sun Feb 21 14:40:49 2010	(r30680)
@@ -893,9 +893,9 @@ static void uninit(vf_instance_t *vf) {
  * This routine will do some basic initialization of local structures etc.,
  * and then parse the command line arguments specific for the ZRMJPEG filter.
  */
-static int open(vf_instance_t *vf, char* args){
+static int vf_open(vf_instance_t *vf, char *args){
 	struct vf_priv_s *priv;
-	VERBOSE("open() called: args=\"%s\"\n", args);
+	VERBOSE("vf_open() called: args=\"%s\"\n", args);
 
 	vf->config = config;
 	vf->put_image = put_image;
@@ -1062,6 +1062,6 @@ const vf_info_t vf_info_zrmjpeg = {
     "zrmjpeg",
     "Rik Snel",
     "",
-    open,
+    vf_open,
     NULL
 };


More information about the MPlayer-cvslog mailing list