[MPlayer-cvslog] r24828 - trunk/libvo/vosub_vidix.c
diego
subversion at mplayerhq.hu
Sun Oct 21 14:56:22 CEST 2007
Author: diego
Date: Sun Oct 21 14:56:22 2007
New Revision: 24828
Log:
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
Modified:
trunk/libvo/vosub_vidix.c
Modified: trunk/libvo/vosub_vidix.c
==============================================================================
--- trunk/libvo/vosub_vidix.c (original)
+++ trunk/libvo/vosub_vidix.c Sun Oct 21 14:56:22 2007
@@ -195,35 +195,6 @@ static uint32_t vidix_draw_slice_410(uin
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 @@ int vidix_grkey_set(const vidix_grkey_t
}
-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,
More information about the MPlayer-cvslog
mailing list