diff libvo/vo_vesa.c @ 2519:6f3fa9bc3b27

yv12 to yv12 scaler someone who knows a bit about vo_odivx could add support for it ...
author michael
date Sun, 28 Oct 2001 18:30:59 +0000
parents 501752469c39
children 28d30f50d89c
line wrap: on
line diff
--- a/libvo/vo_vesa.c	Sun Oct 28 18:08:56 2001 +0000
+++ b/libvo/vo_vesa.c	Sun Oct 28 18:30:59 2001 +0000
@@ -1,4 +1,4 @@
-/* 
+/*
  *  video_out_vesa.c
  *
  *	Copyright (C) Nick Kurshev <nickols_k@mail.ru> - Oct 2001
@@ -246,8 +246,9 @@
 	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);