Commit e4f6c3c4 authored by Sam Hocevar's avatar Sam Hocevar

* ./plugins/chroma/i420_rgb16.c: fix for skewed display in software RV32

    mode, courtesy of Pascal Levesque.
parent ecdc2a48
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* i420_rgb16.c : YUV to bitmap RGB conversion module for vlc * i420_rgb16.c : YUV to bitmap RGB conversion module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000 VideoLAN * Copyright (C) 2000 VideoLAN
* $Id: i420_rgb16.c,v 1.6 2002/04/02 10:17:08 sam Exp $ * $Id: i420_rgb16.c,v 1.6.2.1 2002/06/01 10:43:54 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -337,7 +337,7 @@ void _M( I420_RGB32 )( vout_thread_t *p_vout, picture_t *p_src, ...@@ -337,7 +337,7 @@ void _M( I420_RGB32 )( vout_thread_t *p_vout, picture_t *p_src,
int i_right_margin; int i_right_margin;
int i_rewind; int i_rewind;
int i_scale_count; /* scale modulo counter */ int i_scale_count; /* scale modulo counter */
int i_chroma_width = p_vout->render.i_width / 2; /* chroma width */ int i_chroma_width = p_vout->render.i_width / 4; /* chroma width */
u32 * p_pic_start; /* beginning of the current line for copy */ u32 * p_pic_start; /* beginning of the current line for copy */
#if defined (MODULE_NAME_IS_chroma_i420_rgb) #if defined (MODULE_NAME_IS_chroma_i420_rgb)
int i_uval, i_vval; /* U and V samples */ int i_uval, i_vval; /* U and V samples */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment