Commit 09fed885 authored by Sam Hocevar's avatar Sam Hocevar

  * Fixed 4:2:2 software rendering.
  * Removed cruft I forgot in aout_alsa.c.
parent 254c175a
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* aout_alsa.c : Alsa functions library * aout_alsa.c : Alsa functions library
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: aout_alsa.c,v 1.22 2001/12/07 18:33:07 sam Exp $ * $Id: aout_alsa.c,v 1.22.2.1 2001/12/17 01:36:59 sam Exp $
* *
* Authors: Henri Fallon <henri@videolan.org> - Original Author * Authors: Henri Fallon <henri@videolan.org> - Original Author
* Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API * Jeffrey Baker <jwbaker@acm.org> - Port to ALSA 1.0 API
...@@ -86,11 +86,9 @@ static int aout_Probe( probedata_t *p_data ) ...@@ -86,11 +86,9 @@ static int aout_Probe( probedata_t *p_data )
int i_open_return, i_close_return; int i_open_return, i_close_return;
aout_sys_t local_sys; aout_sys_t local_sys;
printf("aout_probe\n");
/* Open device */ /* Open device */
i_open_return = snd_pcm_open( &(local_sys.p_alsa_handle), "default", i_open_return = snd_pcm_open( &(local_sys.p_alsa_handle), "default",
SND_PCM_STREAM_PLAYBACK, 0 ); SND_PCM_STREAM_PLAYBACK, 0 );
printf("grmbl\n");
if( i_open_return ) if( i_open_return )
{ {
intf_WarnMsg( 2, "aout info: could not probe ALSA device (%s)", intf_WarnMsg( 2, "aout info: could not probe ALSA device (%s)",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* transforms_common.h: YUV transformation macros for truecolor * transforms_common.h: YUV transformation macros for truecolor
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN * Copyright (C) 1999, 2000 VideoLAN
* $Id: transforms_common.h,v 1.3 2001/10/11 13:19:27 massiot Exp $ * $Id: transforms_common.h,v 1.3.2.1 2001/12/17 01:36:59 sam Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* *
...@@ -121,7 +121,12 @@ ...@@ -121,7 +121,12 @@
p_v += i_chroma_width; \ p_v += i_chroma_width; \
} \ } \
} \ } \
else if( (CHROMA == 422) || (CHROMA == 444) ) \ else if( CHROMA == 422 ) \
{ \
p_u += i_chroma_width; \
p_v += i_chroma_width; \
} \
else if( CHROMA == 444 ) \
{ \ { \
p_u += i_width; \ p_u += i_width; \
p_v += i_width; \ p_v += i_width; \
......
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