summaryrefslogtreecommitdiff
path: root/mdct.c
Commit message (Collapse)AuthorAgeFilesLines
* Commit suggested fix for #2021 Backport additional #1486 -n -r 19164 set ↵Monty2014-06-241-1/+1
| | | | | | keyword property on source files git-svn-id: https://svn.xiph.org/trunk/Tremor@19172 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix a number of warnings, issue #622.Ralph Giles2006-01-091-0/+1
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@10707 0101bb08-14d6-0310-b084-bc0e0c8e3800
* move '#include "os.h"' to misc.h and j2005-05-101-1/+0
| | | | | | | | remove it where misc.h is included. git-svn-id: https://svn.xiph.org/trunk/Tremor@9257 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix to Nicolas Pitre's interpolated MDCT for 4096 and 8192Monty2002-10-161-9/+9
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@4014 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Nicolas Pitre's LOW_ACCURACY patchMonty2002-10-161-17/+13
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@4012 0101bb08-14d6-0310-b084-bc0e0c8e3800
* const-ify a few things that really ought to be.Monty2002-10-161-6/+6
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@4010 0101bb08-14d6-0310-b084-bc0e0c8e3800
* mdct comment change (correct the vorbis window function description)Monty2002-10-161-2/+2
| | | | | | | | | | Roll a libvorbis fix into tremor (if audio stream has only one page and that page is a short page) Monty git-svn-id: https://svn.xiph.org/trunk/Tremor@4008 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Latest improvements from Nicolas Pitre. Reviewed by MontyMonty2002-09-201-278/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | From Nicolas's notes: - Includes my previous patch with interpolation code for correct accuracy with all block sizes. - Interlaces sin and cos values in the lookup table to reduce register pressure since only one pointer is required to walk the table instead of two. This also accounts for better cache locality. - Split the lookup table into two tables since half of it (one value every two) is only used in separate section of the code and only with large block sizes. Therefore the table size used for the common case is reduced by 2 accounting for yet better cache usage. - Abstracted all cross products throughout the code so they can be easily optimized. First this prevents redundant register reloads on ARM due to the implicit memory access ordering, next this allowed for the opportunity to hook some inline assembly to perform the actual operation. - Fix layout of current assembly in asm_arm.h to match GCC's output (more enjoyable to read when inspecting the final assembly) plus some constraint correctness issues. - Added a memory barrier macro to force the compiler not to cache values into registers or on the stack in some cases. - Reordered some code for better ARM assembly generation by the compiler. git-svn-id: https://svn.xiph.org/trunk/Tremor@3923 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Nicolas Pitre's newer, more polished MDCT. From his summary:Monty2002-09-131-170/+135
| | | | | | | | | | | | | - All redundant lookup tables eliminated; - mdct_init removed; - negative operands factorized out; - loop layout to allow the compiler to nicely use the ARM's dereference with preincrement and write back addressing mode for the T and V pointers; - miscelaneous code optimisations and uniformisation. git-svn-id: https://svn.xiph.org/trunk/Tremor@3908 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Add patch to eliminate some trig redundancyMonty2002-09-101-105/+104
| | | | | | | Also eliminate bitreverse table git-svn-id: https://svn.xiph.org/trunk/Tremor@3898 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Update headers on source files for BSD license.Monty2002-09-031-2/+5
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@3895 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Put root level of Tremor in CVSMonty2002-09-021-0/+505
git-svn-id: https://svn.xiph.org/trunk/Tremor@3890 0101bb08-14d6-0310-b084-bc0e0c8e3800