From 67b832627992e9d84188ffc39ca933d11791499e Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 26 Jul 2001 03:13:30 +0000 Subject: [PATCH] * Fixed the MMX YUV plugin issues with gcc 2.96 and 3.0. * Updated TODO, cosmetic changes. --- TODO | 6 +++--- extras/libdvdcss/css.c | 4 +--- plugins/dummy/input_dummy.c | 4 ++-- plugins/yuv/transforms_yuvmmx.h | 14 +++++++------- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/TODO b/TODO index ebf245f4c8..1f24464d46 100644 --- a/TODO +++ b/TODO @@ -22,7 +22,7 @@ Description: Win32 port Win32 is probably the most common desktop platform, we should support it as well. Besides, most students at Centrale use Windows and VideoLAN was originally designed for them. -Status: Todo +Status: Done 26 Apr 2001 (gbazin) Task: 0x5c Difficulty: Medium @@ -63,7 +63,7 @@ Difficulty: Medium Urgency: Critical Description: Language and subtitles selection in network input The vls will probably have to be modified as well. -Status: Todo +Status: Done (henri) Task: 0x57 Difficulty: Guru @@ -95,7 +95,7 @@ Difficulty: Hard Urgency: Wishlist Description: Hardware AC3 decoding Some soundcards directly grok Dolby AC3. This would spare a lot of CPU time. -Status: Todo +Status: Done (stef) Task: 0x53 Difficulty: Medium diff --git a/extras/libdvdcss/css.c b/extras/libdvdcss/css.c index 7133892164..5e17bff7e2 100644 --- a/extras/libdvdcss/css.c +++ b/extras/libdvdcss/css.c @@ -2,7 +2,7 @@ * css.c: Functions for DVD authentification and unscrambling ***************************************************************************** * Copyright (C) 1999-2001 VideoLAN - * $Id: css.c,v 1.5 2001/07/11 02:01:03 sam Exp $ + * $Id: css.c,v 1.6 2001/07/26 03:13:30 sam Exp $ * * Author: Stéphane Borel * @@ -262,8 +262,6 @@ int CSSInit( dvdcss_handle dvdcss ) return -1; } -fprintf( stderr, "DISK KEY: %02x %02x %02x %02x %02x\n", p_buffer[0], p_buffer[1], p_buffer[2], p_buffer[3], p_buffer[4] ); - /* Unencrypt disc key using bus key */ for( i = 0 ; i < 2048 ; i++ ) { diff --git a/plugins/dummy/input_dummy.c b/plugins/dummy/input_dummy.c index 66147eb93f..b4144038de 100644 --- a/plugins/dummy/input_dummy.c +++ b/plugins/dummy/input_dummy.c @@ -2,7 +2,7 @@ * input_dummy.c: dummy input plugin, to manage "vlc:***" special options ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: input_dummy.c,v 1.3 2001/07/17 09:48:07 massiot Exp $ + * $Id: input_dummy.c,v 1.4 2001/07/26 03:13:30 sam Exp $ * * Authors: Samuel Hocevar * @@ -128,7 +128,7 @@ static void DummyOpen( input_thread_t * p_input ) if( ( i_len <= 4 ) || strncasecmp( psz_name, "vlc:", 4 ) ) { - /* If the user specified "vlc:" then it's probably a file */ + /* If the command doesn't start with "vlc:" then it's not for us */ return; } diff --git a/plugins/yuv/transforms_yuvmmx.h b/plugins/yuv/transforms_yuvmmx.h index d29d5e4dd4..87aeb24ada 100644 --- a/plugins/yuv/transforms_yuvmmx.h +++ b/plugins/yuv/transforms_yuvmmx.h @@ -2,7 +2,7 @@ * transforms_yuvmmx.h: MMX YUV transformation assembly ***************************************************************************** * Copyright (C) 1999, 2000 VideoLAN - * $Id: transforms_yuvmmx.h,v 1.5 2001/07/01 08:49:09 gbazin Exp $ + * $Id: transforms_yuvmmx.h,v 1.6 2001/07/26 03:13:30 sam Exp $ * * Authors: Olie Lho * Gaël Hendryckx @@ -129,14 +129,14 @@ paddsw %%mm6, %%mm2 # Y even + Cgreen 00 G6 00 G4 00 G2 00 G0 \n\ paddsw %%mm7, %%mm5 # Y odd + Cgreen 00 G7 00 G5 00 G3 00 G1 \n\ \n\ # Limit RGB even to 0..255 \n\ -packuswb %%mm0, %%mm0 # B6 B4 B2 B0 | B6 B4 B2 B0 \n\ -packuswb %%mm1, %%mm1 # R6 R4 R2 R0 | R6 R4 R2 R0 \n\ -packuswb %%mm2, %%mm2 # G6 G4 G2 G0 | G6 G4 G2 G0 \n\ +packuswb %%mm0, %%mm0 # B6 B4 B2 B0 / B6 B4 B2 B0 \n\ +packuswb %%mm1, %%mm1 # R6 R4 R2 R0 / R6 R4 R2 R0 \n\ +packuswb %%mm2, %%mm2 # G6 G4 G2 G0 / G6 G4 G2 G0 \n\ \n\ # Limit RGB odd to 0..255 \n\ -packuswb %%mm3, %%mm3 # B7 B5 B3 B1 | B7 B5 B3 B1 \n\ -packuswb %%mm4, %%mm4 # R7 R5 R3 R1 | R7 R5 R3 R1 \n\ -packuswb %%mm5, %%mm5 # G7 G5 G3 G1 | G7 G5 G3 G1 \n\ +packuswb %%mm3, %%mm3 # B7 B5 B3 B1 / B7 B5 B3 B1 \n\ +packuswb %%mm4, %%mm4 # R7 R5 R3 R1 / R7 R5 R3 R1 \n\ +packuswb %%mm5, %%mm5 # G7 G5 G3 G1 / G7 G5 G3 G1 \n\ \n\ # Interleave RGB even and odd \n\ punpcklbw %%mm3, %%mm0 # B7 B6 B5 B4 B3 B2 B1 B0 \n\