Mercurial > mplayer.hg
changeset 24800:1076f50ba2d2
Remove some unused code, fixes the following warnings:
vosub_vidix.c: At top level:
vosub_vidix.c:199: warning: 'vidix_draw_slice_410_fast' defined but not used
vosub_vidix.c:211: warning: 'vidix_draw_slice_400' defined but not used
vosub_vidix.c:365: warning: 'vidix_get_video_eq' defined but not used
vosub_vidix.c:371: warning: 'vidix_set_video_eq' defined but not used
vosub_vidix.c:377: warning: 'vidix_get_num_fx' defined but not used
vosub_vidix.c:383: warning: 'vidix_get_oem_fx' defined but not used
vosub_vidix.c:389: warning: 'vidix_set_oem_fx' defined but not used
vosub_vidix.c:395: warning: 'vidix_set_deint' defined but not used
author | diego |
---|---|
date | Sun, 21 Oct 2007 12:56:22 +0000 |
parents | 535cdc4d7804 |
children | d555579c8c98 |
files | libvo/vosub_vidix.c |
diffstat | 1 files changed, 0 insertions(+), 65 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vosub_vidix.c Sun Oct 21 12:38:18 2007 +0000 +++ b/libvo/vosub_vidix.c Sun Oct 21 12:56:22 2007 +0000 @@ -195,35 +195,6 @@ return -1; } -static uint32_t vidix_draw_slice_410_fast(uint8_t *image[], int stride[], int w, int h, int x, int y) -{ - uint8_t *src; - uint8_t *dest; - - dest = vidix_mem + vidix_play.offsets[next_frame] + vidix_play.offset.y; - dest += dstrides.y*y + x; - src = image[0]; - memcpy(dest, src, dstrides.y*h*9/8); - return 0; -} - -static uint32_t vidix_draw_slice_400(uint8_t *image[], int stride[], int w,int h,int x,int y) -{ - uint8_t *src; - uint8_t *dest; - int i; - - dest = vidix_mem + vidix_play.offsets[next_frame] + vidix_play.offset.y; - dest += dstrides.y*y + x; - src = image[0]; - for(i=0;i<h;i++){ - memcpy(dest,src,w); - src+=stride[0]; - dest += dstrides.y; - } - return 0; -} - static uint32_t vidix_draw_slice_packed(uint8_t *image[], int stride[], int w,int h,int x,int y) { uint8_t *src; @@ -361,42 +332,6 @@ } -static int vidix_get_video_eq(vidix_video_eq_t *info) -{ - if(!video_on) return EPERM; - return vdlPlaybackGetEq(vidix_handler, info); -} - -static int vidix_set_video_eq(const vidix_video_eq_t *info) -{ - if(!video_on) return EPERM; - return vdlPlaybackSetEq(vidix_handler, info); -} - -static int vidix_get_num_fx(unsigned *info) -{ - if(!video_on) return EPERM; - return vdlQueryNumOemEffects(vidix_handler, info); -} - -static int vidix_get_oem_fx(vidix_oem_fx_t *info) -{ - if(!video_on) return EPERM; - return vdlGetOemEffect(vidix_handler, info); -} - -static int vidix_set_oem_fx(const vidix_oem_fx_t *info) -{ - if(!video_on) return EPERM; - return vdlSetOemEffect(vidix_handler, info); -} - -static int vidix_set_deint(const vidix_deinterlace_t *info) -{ - if(!video_on) return EPERM; - return vdlPlaybackSetDeint(vidix_handler, info); -} - static int is_422_planes_eq=0; int vidix_init(unsigned src_width,unsigned src_height, unsigned x_org,unsigned y_org,unsigned dst_width,