]> git.sesse.net Git - vlc/blobdiff - plugins/downmix/ac3_downmix_3dn.c
* Added error checking in pthread wrapper ; as a result, intf_msg.h must
[vlc] / plugins / downmix / ac3_downmix_3dn.c
index a10641bf1e3ac3d57871b7a2fac27052e226f214..83c335aa3c538c81e63dbf88f64bd0505b18f8fe 100644 (file)
@@ -2,7 +2,7 @@
  * ac3_downmix_3dn.c: accelerated 3D Now! ac3 downmix functions
  *****************************************************************************
  * Copyright (C) 1999, 2000, 2001 VideoLAN
- * $Id: ac3_downmix_3dn.c,v 1.4 2001/07/08 23:15:11 reno Exp $
+ * $Id: ac3_downmix_3dn.c,v 1.6 2001/11/28 15:08:05 massiot Exp $
  *
  * Authors: Renaud Dartus <reno@videolan.org>
  *
 
 #include "config.h"
 #include "common.h"
-#include "threads.h"
-#include "mtime.h"
-#include "tests.h"
 
 #include "ac3_downmix.h"
 
-void sqrt2_3dn (void) __asm__ ("sqrt2_3dn");
-void sqrt2_3dn (void)
-{
-    __asm__ (".float 0f0.7071068");
-}
+static const float sqrt2_3dn __asm__ ("sqrt2_3dn") = 0.7071068;
 
 void _M( downmix_3f_2r_to_2ch ) (float * samples, dm_par_t * dm_par)
 {