summaryrefslogtreecommitdiffstats
path: root/libvo/vo_vesa.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-28 18:30:59 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-28 18:30:59 +0000
commita4ef78e9a19ef29c6f4446c7bbed103ea3e66681 (patch)
tree27e2ff89af5543be0a52e8ed53d46b2af5153454 /libvo/vo_vesa.c
parent07dcf8875b05bbc333820a7af32a17c723bcc258 (diff)
downloadmpv-a4ef78e9a19ef29c6f4446c7bbed103ea3e66681.tar.bz2
mpv-a4ef78e9a19ef29c6f4446c7bbed103ea3e66681.tar.xz
yv12 to yv12 scaler
someone who knows a bit about vo_odivx could add support for it ... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2520 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_vesa.c')
-rw-r--r--libvo/vo_vesa.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c
index be0ba00c91..2a3f0366d5 100644
--- a/libvo/vo_vesa.c
+++ b/libvo/vo_vesa.c
@@ -1,4 +1,4 @@
-/*
+/*
* video_out_vesa.c
*
* Copyright (C) Nick Kurshev <nickols_k@mail.ru> - Oct 2001
@@ -246,8 +246,9 @@ static uint32_t draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int
printf("vo_vesa: draw_slice was called: w=%u h=%u x=%u y=%u\n",w,h,x,y);
if(vesa_zoom)
{
- SwScale_YV12slice_brg24(image,stride,y,h,
- yuv_buffer,
+ uint8_t *dst[3]= {yuv_buffer, NULL, NULL};
+ SwScale_YV12slice(image,stride,y,h,
+ dst,
image_width*((video_mode_info.BitsPerPixel+7)/8),
image_width, video_mode_info.BitsPerPixel,
scale_xinc, scale_yinc);