Commit 9ad4cc80 authored by Christophe Massiot's avatar Christophe Massiot

Various fixes for GCC 3.0.

parent 179acd06
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* idctmmx.c : MMX IDCT module * idctmmx.c : MMX IDCT module
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN * Copyright (C) 1999, 2000 VideoLAN
* $Id: idctmmx.c,v 1.18 2001/09/06 10:19:18 massiot Exp $ * $Id: idctmmx.c,v 1.19 2001/09/06 14:02:56 massiot Exp $
* *
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org> * Michel Lespinasse <walken@zoy.org>
...@@ -409,7 +409,7 @@ static s32 rounder3[] ATTR_ALIGN(8) = ...@@ -409,7 +409,7 @@ static s32 rounder3[] ATTR_ALIGN(8) =
static s32 rounder5[] ATTR_ALIGN(8) = static s32 rounder5[] ATTR_ALIGN(8) =
rounder (-0.441341716183); // C3*(-C5/C4+C5-C3)/2 rounder (-0.441341716183); // C3*(-C5/C4+C5-C3)/2
static __inline__ void IDCT( dctelem_t * p_block ) static void IDCT( dctelem_t * p_block )
{ {
static dctelem_t table04[] ATTR_ALIGN(16) = static dctelem_t table04[] ATTR_ALIGN(16) =
table (22725, 21407, 19266, 16384, 12873, 8867, 4520); table (22725, 21407, 19266, 16384, 12873, 8867, 4520);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* idctmmxext.c : MMX EXT IDCT module * idctmmxext.c : MMX EXT IDCT module
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN * Copyright (C) 1999, 2000 VideoLAN
* $Id: idctmmxext.c,v 1.15 2001/09/06 10:19:18 massiot Exp $ * $Id: idctmmxext.c,v 1.16 2001/09/06 14:02:56 massiot Exp $
* *
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org> * Michel Lespinasse <walken@zoy.org>
...@@ -393,7 +393,7 @@ static s32 rounder3[] ATTR_ALIGN(8) = ...@@ -393,7 +393,7 @@ static s32 rounder3[] ATTR_ALIGN(8) =
static s32 rounder5[] ATTR_ALIGN(8) = static s32 rounder5[] ATTR_ALIGN(8) =
rounder (-0.441341716183); // C3*(-C5/C4+C5-C3)/2 rounder (-0.441341716183); // C3*(-C5/C4+C5-C3)/2
static __inline__ void IDCT( dctelem_t * p_block ) static void IDCT( dctelem_t * p_block )
{ {
static dctelem_t table04[] ATTR_ALIGN(16) = static dctelem_t table04[] ATTR_ALIGN(16) =
table (22725, 21407, 19266, 16384, 12873, 8867, 4520); table (22725, 21407, 19266, 16384, 12873, 8867, 4520);
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* motion.c : C motion compensation module for vlc * motion.c : C motion compensation module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: motion.c,v 1.9 2001/08/22 17:21:45 massiot Exp $ * $Id: motion.c,v 1.10 2001/09/06 14:02:56 massiot Exp $
* *
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org> * Michel Lespinasse <walken@zoy.org>
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "defs.h" #include "defs.h"
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
#include <string.h>
#include "config.h" #include "config.h"
#include "common.h" /* boolean_t, byte_t */ #include "common.h" /* boolean_t, byte_t */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* motion3dnow.c : 3DNow! motion compensation module for vlc * motion3dnow.c : 3DNow! motion compensation module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: motion3dnow.c,v 1.2 2001/09/05 16:07:49 massiot Exp $ * $Id: motion3dnow.c,v 1.3 2001/09/06 14:02:56 massiot Exp $
* *
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org> * Michel Lespinasse <walken@zoy.org>
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "defs.h" #include "defs.h"
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
#include <string.h>
#include "config.h" #include "config.h"
#include "common.h" /* boolean_t, byte_t */ #include "common.h" /* boolean_t, byte_t */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* motionaltivec.c : Altivec motion compensation module for vlc * motionaltivec.c : Altivec motion compensation module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: motionaltivec.c,v 1.1 2001/09/05 16:07:49 massiot Exp $ * $Id: motionaltivec.c,v 1.2 2001/09/06 14:02:56 massiot Exp $
* *
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Paul Mackerras <paulus@linuxcare.com.au> * Paul Mackerras <paulus@linuxcare.com.au>
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "defs.h" #include "defs.h"
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
#include <string.h>
#include "config.h" #include "config.h"
#include "common.h" /* boolean_t, byte_t */ #include "common.h" /* boolean_t, byte_t */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* motionmmx.c : MMX motion compensation module for vlc * motionmmx.c : MMX motion compensation module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: motionmmx.c,v 1.10 2001/08/22 17:21:45 massiot Exp $ * $Id: motionmmx.c,v 1.11 2001/09/06 14:02:56 massiot Exp $
* *
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org> * Michel Lespinasse <walken@zoy.org>
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "defs.h" #include "defs.h"
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
#include <string.h>
#include "config.h" #include "config.h"
#include "common.h" /* boolean_t, byte_t */ #include "common.h" /* boolean_t, byte_t */
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* motionmmxext.c : MMX EXT motion compensation module for vlc * motionmmxext.c : MMX EXT motion compensation module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: motionmmxext.c,v 1.10 2001/08/22 17:21:45 massiot Exp $ * $Id: motionmmxext.c,v 1.11 2001/09/06 14:02:56 massiot Exp $
* *
* Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * Authors: Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
* Michel Lespinasse <walken@zoy.org> * Michel Lespinasse <walken@zoy.org>
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include "defs.h" #include "defs.h"
#include <stdlib.h> /* malloc(), free() */ #include <stdlib.h> /* malloc(), free() */
#include <string.h>
#include "config.h" #include "config.h"
#include "common.h" /* boolean_t, byte_t */ #include "common.h" /* boolean_t, byte_t */
......
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