mirror of https://github.com/mpv-player/mpv
Minor improvements
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1046 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a305741d2c
commit
d346c4eff4
|
@ -0,0 +1 @@
|
|||
#include "../libvo/fastmemcpy.h"
|
|
@ -27,6 +27,7 @@
|
|||
#include "bswap.h"
|
||||
#include "d_cpu.h"
|
||||
|
||||
#include "fastmemcpy.h"
|
||||
//static FILE* mp3_file=NULL;
|
||||
|
||||
int MP3_frames=0;
|
||||
|
@ -177,7 +178,7 @@ LOCAL int decode_header(struct frame *fr,unsigned long newhead){
|
|||
|
||||
// head_check:
|
||||
if( (newhead & 0xffe00000) != 0xffe00000 ||
|
||||
(newhead & 0x0000f300) == 0x0000f300) return FALSE;
|
||||
(newhead & 0x0000fc00) == 0x0000fc00) return FALSE;
|
||||
|
||||
fr->lay = 4-((newhead>>17)&3);
|
||||
// if(fr->lay!=3) return FALSE;
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
|
||||
|
||||
#ifdef HAVE_3DNOW
|
||||
real decwin[2*(512+32)];
|
||||
real cos64[32],cos32[16],cos16[8],cos8[4],cos4[2];
|
||||
real decwin[2*(512+32)] __attribute__((aligned(8)));
|
||||
real cos64[32] __attribute__((aligned(8)));
|
||||
real cos32[16] __attribute__((aligned(8)));
|
||||
real cos16[8] __attribute__((aligned(8)));
|
||||
real cos8[4] __attribute__((aligned(8)));
|
||||
real cos4[2] __attribute__((aligned(8)));
|
||||
real *pnts[]={ cos64,cos32,cos16,cos8,cos4 };
|
||||
#else
|
||||
real decwin[512+32];
|
||||
|
|
Loading…
Reference in New Issue