summaryrefslogtreecommitdiffstats
path: root/mp3lib/sr1.c
Commit message (Collapse)AuthorAgeFilesLines
* Always use inline instead of _inline, the former is supported by allreimar2008-01-271-4/+0
| | | | | | | compilers we care about, while e.g. ICC does not support the later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25876 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary <signal.h> includesuau2008-01-091-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Move public function declarations together.diego2007-12-121-6/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25377 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing declaration for dct64_altivec, fixes the warning:diego2007-12-121-0/+2
| | | | | | | | | | In file included from layer3.c:1171, from sr1.c:391: decod386.c: In function 'synth_1to1': decod386.c:145: warning: implicit declaration of function 'dct64_altivec' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25376 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable SIMD optmizations for mp3lib on AMD64zuxy2007-06-081-7/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23515 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace implicit use of fast_memcpy via macro by explicit use to allowreimar2007-06-051-1/+1
| | | | | | | for future optimization. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change '%ld' to '%d' to remove warnings introduced by r23452zuxy2007-06-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23460 b3059339-0415-0410-9bf9-f77b7e298cf2
* Correct dct64 functions' declarationszuxy2007-06-041-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23459 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use int and uint32_t instead of long and unsigned long, when appropriate.zuxy2007-06-021-16/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23452 b3059339-0415-0410-9bf9-f77b7e298cf2
* Record what was produced by make_decode_table_MMX() and used that data tozuxy2007-05-251-2/+0
| | | | | | | | initialize mp3lib_decwins directly, then remove call to make_decode_table_MMX() and tabinit_MMX.c itself. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23383 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure buffer is aligned so no unaligned access happens.reimar2007-02-051-5/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22158 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around libavutil/bswap.h compilation problems due to always_inline ↵reimar2006-12-071-1/+1
| | | | | | undefined. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove bswap.h, use libavutil/bswap.h instead.diego2006-11-291-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove (now hopefully unnecessary) workarounds added in r21056reimar2006-11-191-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21065 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix mp3lib compilation on OSXnplourde2006-11-191-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21056 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp3lib asm does not compile on AMD64.reimar2006-11-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20591 b3059339-0415-0410-9bf9-f77b7e298cf2
* always use 3dnowext version of dct64 when supported by the CPU (K6-3+ and up).gpoirier2006-08-231-1/+1
| | | | | | | | | | Patch by Zuxy Meng Original thread: Date: Aug 9, 2006 7:05 AM Subject: Re: [MPlayer-dev-eng] [PATCH] Saturation & PSWAPD bugfix in mp3lib/dct64_3dnow.c & mp3lib/dct64_k7.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19506 b3059339-0415-0410-9bf9-f77b7e298cf2
* Explicitly include libmpcodecs/img_format.h and libvo/fastmemcpy.h.diego2006-08-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19437 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, i missed ifdefs around the callsrfelker2006-07-191-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19138 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add dct64_sse, a replacement for dct64_MMX. About 60% faster on its author's ↵gpoirier2006-07-071-0/+7
| | | | | | | | | | | | | Pentium III Currently only used on CPUs that _only_ support SSE (otherwise try 3DNow* before) Patch by The Mighty Zuxy Meng %zuxy * meng $ gmail * com% Original thread: Date: Jun 21, 2006 10:20 AM Subject: [MPlayer-dev-eng] [PATCH] SSE version of DCT64 for mp3lib git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18937 b3059339-0415-0410-9bf9-f77b7e298cf2
* CVS --> Subversion in copyright noticesdiego2006-06-221-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make mp3lib say that it's using Altivec to decode instead of generic Cdiego2006-04-151-0/+7
| | | | | | | | when it uses the optimized IMDCT. patch by Alexander Strange, astrange __ at __ ithinksw __ dot __ com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18102 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \rathann2006-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reverse commit 31 Dec 2005 18:56:35 -0000 1.34gpoirier2006-01-031-2/+1
| | | | | | | | | | This was an incorrect fix made at the codec when it should be done at the demuxer level. static variables in codecs are ALWAYS wrong: the demuxer is supposed to have already removed all the junk Does anyone have an idea of a fix for the demuxer? (discussed on IRC) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17301 b3059339-0415-0410-9bf9-f77b7e298cf2
* "Currently mplayer looks for only one MP3 frame sync. The attachedgpoirier2005-12-311-1/+2
| | | | | | | | | | | | | | | | | | patch makes it to look for two consecutive valid MP3 frame headers, reducing the probability of false positives, which causes Bug 380. Funny that the fix is so simple. Seems that someone has forgotten to initialize MP3_resync correctly. Also this is the recommended way to sync MP3 frames. See http://www.dv.co.yu/mpgscript/mpeghdr.htm. " Original thread: Date: Dec 31, 2005 10:15 AM Subject: [MPlayer-dev-eng] [PATCH] Try twice when searching for MP3 frame header, fixes Bug 380 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17280 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.diego2005-11-151-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16990 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark modified imported files as such to comply with (L)GPL §2a.diego2005-04-151-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15168 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity.diego2004-11-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix symbol clashes when linking with libmp3lame including mp3 decoder, man, ↵alex2004-04-061-3/+3
| | | | | | mp3lib is so much bloated git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12132 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed obsoleted (or never ending) codealex2003-10-221-10/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11242 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed the stdcall conventionalex2003-10-221-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11241 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove debug messagenexus2003-08-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10553 b3059339-0415-0410-9bf9-f77b7e298cf2
* layer-1 supportarpi2003-07-241-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10469 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanup & fix cpu detection & init stuffarpi2002-12-241-53/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8546 b3059339-0415-0410-9bf9-f77b7e298cf2
* layer-1 stream parsing (NOT decoding) supportarpi2002-09-281-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7521 b3059339-0415-0410-9bf9-f77b7e298cf2
* pshufw is a mmx2 instruction, so don't use dct64_MMX_3dnowex on k6-3 whicharpi2002-09-211-1/+1
| | | | | | | has no mmxext (but has 3dnowex) - bug found by Diego, help by Michael git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7462 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cygwin stdcall mismatch fix.atmos42002-05-241-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6178 b3059339-0415-0410-9bf9-f77b7e298cf2
* big cosmetics patch, cleanup of messages printed by mplayer and libs.arpi2002-05-201-11/+14
| | | | | | | | some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't re-detect cpuarpi2002-04-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5889 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixing compilation on non-MMX but x86 systemsnick2002-01-231-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4322 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using cpudetect code instead of d_cpu.snick2002-01-191-151/+29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4263 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime cpudetect support #2 - still not working (i can't identify the ↵alex2002-01-141-90/+137
| | | | | | problems ground, also it produces no sound (no noises), but the init seems to be ok (also i didn't changed anything)...very annoying :( snipp git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4151 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixedalex2001-11-301-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3220 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable SSE code and reenable FPU dct for SSE cpus (fpu code is 0.3% faster ↵atmos42001-11-291-6/+6
| | | | | | and I don't get data aligned in dct64_sse.s, so I can't finish optimizing it) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3204 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed to use cpudetect.c (to use change te #if 1 -> #if 0 :)alex2001-11-231-0/+83
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3089 b3059339-0415-0410-9bf9-f77b7e298cf2
* Beginning sse optimization of dct code.atmos42001-07-271-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1394 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some preliminary support for non-x86 architectures to mplayerjkeil2001-07-121-0/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1310 b3059339-0415-0410-9bf9-f77b7e298cf2
* One flaw is fixednick2001-07-041-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Portability and old binutils supportnick2001-07-031-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1259 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor fixesnick2001-07-021-2/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1254 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added newest MMX-optimized decore which speedups decoding at least on 13% ↵nick2001-06-291-9/+72
| | | | | | for any cpu. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1246 b3059339-0415-0410-9bf9-f77b7e298cf2
* fr->sampling_frequency limitation (thanx to pl <p_l@tfz.net>)arpi_esp2001-06-191-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1167 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor improvementsnickols_k2001-06-071-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1046 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor optimizationnickols_k2001-06-061-14/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1041 b3059339-0415-0410-9bf9-f77b7e298cf2
* K7 3dnow-dsp printingnickols_k2001-05-091-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@736 b3059339-0415-0410-9bf9-f77b7e298cf2
* applied 'fakemono' patch by Bryan Chan scorpio@acm.orgarpi_esp2001-05-081-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@733 b3059339-0415-0410-9bf9-f77b7e298cf2
* use _3dnow instead of a3dnow()szabii2001-03-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@74 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial revisionarpi_esp2001-02-241-0/+489
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2