aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-21 12:56:22 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-21 12:56:22 +0000
commitbd543ced4c2304e1cc60ec53f813ffe139a8341c (patch)
tree167d5c88862b66b3bd9125b7ea0440fe5c81efc0 /libvo
parentdb06490509781d5987b8bc43af8a9b2ca07b26c3 (diff)
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24828 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vosub_vidix.c65
1 files changed, 0 insertions, 65 deletions
diff --git a/libvo/vosub_vidix.c b/libvo/vosub_vidix.c
index 7f142cb434..e0643b601c 100644
--- a/libvo/vosub_vidix.c
+++ b/libvo/vosub_vidix.c
@@ -195,35 +195,6 @@ static uint32_t vidix_draw_slice_410(uint8_t *image[], int stride[], int w,int h
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 *gr_key)
}
-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,