mirror of https://github.com/mpv-player/mpv
Refactor real --> float #define to a typedef in a common header.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30209 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
620ab70745
commit
64ff3434c0
|
@ -27,10 +27,9 @@
|
|||
* 2003/06/21: Moved to GCC inline assembly - Alex Beregszaszi
|
||||
*/
|
||||
|
||||
#define real float /* ugly - but only way */
|
||||
|
||||
#include "config.h"
|
||||
#include "mangle.h"
|
||||
#include "mpg123.h"
|
||||
|
||||
#ifdef DCT36_OPTIMIZE_FOR_K7
|
||||
void dct36_3dnowex(real *inbuf, real *o1,
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
* TODO: optimize scalar 3dnow! code
|
||||
* Warning: Phases 7 & 8 are not tested
|
||||
*/
|
||||
#define real float /* ugly - but only way */
|
||||
|
||||
#include "config.h"
|
||||
#include "mangle.h"
|
||||
#include "mpg123.h"
|
||||
|
||||
static unsigned long long int attribute_used __attribute__((aligned(8))) x_plus_minus_3dnow = 0x8000000000000000ULL;
|
||||
static float attribute_used plus_1f = 1.0;
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
* modify it under the terms of the GNU Lesser General Public License
|
||||
*/
|
||||
|
||||
#define real float
|
||||
|
||||
#include <stdio.h>
|
||||
#include "mpg123.h"
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
* TODO: optimize scalar 3dnow! code
|
||||
* Warning: Phases 7 & 8 are not tested
|
||||
*/
|
||||
#define real float /* ugly - but only way */
|
||||
|
||||
#include "config.h"
|
||||
#include "mangle.h"
|
||||
#include "mpg123.h"
|
||||
|
||||
static unsigned long long int attribute_used __attribute__((aligned(8))) x_plus_minus_3dnow = 0x8000000000000000ULL;
|
||||
static float attribute_used plus_1f = 1.0;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
#include "config.h"
|
||||
#include "mangle.h"
|
||||
#define real float /* ugly - but only way */
|
||||
#include "mpg123.h"
|
||||
|
||||
void dct64_MMX(short *a,short *b,real *c)
|
||||
{
|
||||
|
|
|
@ -6,8 +6,7 @@
|
|||
*/
|
||||
|
||||
#include "libavutil/internal.h"
|
||||
|
||||
typedef float real;
|
||||
#include "mpg123.h"
|
||||
|
||||
extern float __attribute__((aligned(16))) costab_mmx[];
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
*/
|
||||
#include "config.h"
|
||||
#include "mangle.h"
|
||||
#define real float /* ugly - but only way */
|
||||
#include "mpg123.h"
|
||||
|
||||
static int attribute_used buffs[1088]={0};
|
||||
static int attribute_used bo=1;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
#include "config.h"
|
||||
#include "mangle.h"
|
||||
#define real float /* ugly - but only way */
|
||||
#include "mpg123.h"
|
||||
|
||||
extern void (*dct64_MMX_func)(short*, short*, real*);
|
||||
static const unsigned long long attribute_used __attribute__((aligned(8))) null_one = 0x0000ffff0000ffffULL;
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
#ifndef MPLAYER_MP3LIB_L2TABLES_H
|
||||
#define MPLAYER_MP3LIB_L2TABLES_H
|
||||
|
||||
#include "mpg123.h"
|
||||
|
||||
/*
|
||||
* Layer 2 Alloc tables ..
|
||||
* most other tables are calculated on program start (which is (of course)
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
* COPYING: you may use this source under LGPL terms!
|
||||
*/
|
||||
|
||||
//#include "mpg123.h"
|
||||
#include "mpg123.h"
|
||||
|
||||
static void I_step_one(unsigned int balloc[], unsigned int scale_index[2][SBLIMIT],struct frame *fr)
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
//#include "mpg123.h"
|
||||
#include "mpg123.h"
|
||||
#include "l2tables.h"
|
||||
|
||||
static int grp_3tab[32 * 3] = { 0, }; /* used: 27 */
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
* Length-optimze: unify long and short band code where it is possible
|
||||
*/
|
||||
|
||||
#include "mpg123.h"
|
||||
|
||||
#if 0
|
||||
#define L3_DEBUG 1
|
||||
#endif
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
#undef MPG123_REMOTE /* Get rid of this stuff for Win32 */
|
||||
|
||||
typedef float real;
|
||||
|
||||
/*
|
||||
# define real float
|
||||
# define real long double
|
||||
|
|
|
@ -13,9 +13,6 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#define real float
|
||||
// #define int long
|
||||
|
||||
#include "mpg123.h"
|
||||
#include "huffman.h"
|
||||
#include "mp3.h"
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
#include "mpg123.h"
|
||||
|
||||
real mp3lib_decwin[(512+32)];
|
||||
static real cos64[32], cos32[16], cos16[8], cos8[4], cos4[2];
|
||||
real *mp3lib_pnts[]={ cos64,cos32,cos16,cos8,cos4 };
|
||||
|
|
Loading…
Reference in New Issue