[MPlayer-cvslog] r27114 - in trunk/vidix: vidix.c vidix.h

ben subversion at mplayerhq.hu
Fri Jun 20 22:21:32 CEST 2008


Author: ben
Date: Fri Jun 20 22:21:31 2008
New Revision: 27114

Log:
remove some useless functions from vidix api

Modified:
   trunk/vidix/vidix.c
   trunk/vidix/vidix.h

Modified: trunk/vidix/vidix.c
==============================================================================
--- trunk/vidix/vidix.c	(original)
+++ trunk/vidix/vidix.c	Fri Jun 20 22:21:31 2008
@@ -177,18 +177,3 @@ int 	  vdlPlaybackSetDeint(VDL_HANDLE ct
 {
   return ctx->drv->set_deint ? ctx->drv->set_deint (d) : ENOSYS;
 }
-
-int	  vdlQueryNumOemEffects(VDL_HANDLE ctx, unsigned * number )
-{
-  return ctx->drv->get_num_fx ? ctx->drv->get_num_fx (number) : ENOSYS;
-}
-
-int	  vdlGetOemEffect(VDL_HANDLE ctx, vidix_oem_fx_t * f)
-{
-  return ctx->drv->get_fx ? ctx->drv->get_fx (f) : ENOSYS;
-}
-
-int	  vdlSetOemEffect(VDL_HANDLE ctx, const vidix_oem_fx_t * f)
-{
-  return ctx->drv->set_fx ? ctx->drv->set_fx (f) : ENOSYS;
-}

Modified: trunk/vidix/vidix.h
==============================================================================
--- trunk/vidix/vidix.h	(original)
+++ trunk/vidix/vidix.h	Fri Jun 20 22:21:31 2008
@@ -325,9 +325,6 @@ typedef struct VDXDriver {
   int (*copy_frame)( const vidix_dma_t * );
   int (*get_gkey)( vidix_grkey_t * );
   int (*set_gkey)( const vidix_grkey_t * );
-  int (*get_num_fx)( unsigned * );
-  int (*get_fx)( vidix_oem_fx_t * );
-  int (*set_fx)( const vidix_oem_fx_t * );
 } VDXDriver;
 
 typedef struct VDXContext {
@@ -392,13 +389,4 @@ int vdlPlaybackSetDeint (VDL_HANDLE, con
 /* Returns 0 if ok else errno */
 int vdlQueryNumOemEffects (VDL_HANDLE, unsigned *number);
 
-/* Returns 0 if ok else errno */
-int vdlGetOemEffect (VDL_HANDLE, vidix_oem_fx_t *);
-
-/* Returns 0 if ok else errno */
-int vdlSetOemEffect (VDL_HANDLE, const vidix_oem_fx_t *);
-
-/* Returns 0 if ok else errno */
-int vdlPlaybackCopyFrame (VDL_HANDLE, const vidix_dma_t *);
-
 #endif /* MPLAYER_VIDIX_H */



More information about the MPlayer-cvslog mailing list