Mercurial > mplayer.hg
changeset 27082:2a486144b5c7
remove some useless functions from vidix api
author | ben |
---|---|
date | Fri, 20 Jun 2008 20:21:31 +0000 |
parents | 35039052457d |
children | ef28bbd026b2 |
files | vidix/vidix.c vidix/vidix.h |
diffstat | 2 files changed, 0 insertions(+), 27 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/vidix.c Fri Jun 20 20:19:18 2008 +0000 +++ b/vidix/vidix.c Fri Jun 20 20:21:31 2008 +0000 @@ -177,18 +177,3 @@ { 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; -}
--- a/vidix/vidix.h Fri Jun 20 20:19:18 2008 +0000 +++ b/vidix/vidix.h Fri Jun 20 20:21:31 2008 +0000 @@ -325,9 +325,6 @@ 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 @@ /* 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 */