Commit graph

18 commits

Author SHA1 Message Date
Jean-Marc Valin
cc344fb8ff Slightly improving the accuracy of the fixed-point MDCT downscale
Also simplifying the code
2013-12-28 19:10:44 -05:00
Jean-Marc Valin
e0c00e27d8 Commit 99968ab was causing us to allocate too much stack in the MDCT 2013-12-27 03:16:34 -05:00
Jean-Marc Valin
e43a0abe0a Removes the separate 1/8N rotation in the (I)MDCT and unmerges the MDCT sizes
Undoes commits f7547a4e and 72513f3c
2013-12-27 00:10:54 -05:00
Jean-Marc Valin
a5e3c8a6a6 Inverse MDCT no longer requires any scratch space 2013-12-23 02:26:03 -05:00
Jean-Marc Valin
c8f4e1608a Merges the FFT scaling with the MDCT pre-rotate 2013-12-21 16:30:49 -05:00
Jean-Marc Valin
153def2884 Getting rid of the inverse FFT entirely
IMDCT now uses the forward FFT.
2013-12-21 15:45:17 -05:00
Jean-Marc Valin
99968abba8 Moving bitrev step to forward MDCT too 2013-12-21 14:29:41 -05:00
Jean-Marc Valin
2e26b82ec2 Moves the bitrev step to the IMDCT pre-rotation 2013-12-20 23:13:29 -05:00
Nils Wallménius
c093829c17 Do imdct post-rotate and deshuffle in-place.
Gets rid of one stack buffer.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2012-12-03 16:13:51 -05:00
Jean-Marc Valin
aa3a599caa Fixes forward MDCT for overlaps that aren't a multiple of 4
Adds more sizes to test_unit_mdct.c
2012-12-03 15:40:01 -05:00
Nils Wallménius
cacb5661b3 Place output of imdct post-rotate and deshuffle in out buffer to avoid copying and simplify the code.
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2012-12-01 15:54:04 -05:00
Nils Wallménius
e0884feb36 Window both sides of overlap when adding them.
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2012-12-01 15:54:04 -05:00
Nils Wallménius
2572c1e788 Merge inverse mdct post-rotate and de-shuffle loops
Saves some memory access and gives a tiny speedup

Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
2012-10-21 05:42:56 -07:00
Jean-Marc Valin
7315b35e13 Merge branch 'exp_analysis7'
Conflicts:
	celt/celt.c
	celt/mdct.c
	include/opus_defines.h
	src/opus_encoder.c
2012-10-09 03:07:06 -04:00
Gregory Maxwell
de0b5324b6 Replace C99 restrict keyword with OPUS_RESTRICT.
We had previously advised people to -Drestrict on
non-C99 compilers, but this creates problems for
some of the MSVC headers. Instead this just
uses a macro and defines it sanely.
2012-07-18 12:12:35 -04:00
Jean-Marc Valin
0869829f34 Adds a 3 Hz high-pass filter and boost allocation on leakage
Fixes two leakage problems on the wood blocks sample
- Removes DC which causes leakage with no masking
- Detect leakage by comparing short-MDCT energy to long-MDCT energy
  and boost allocation for bands with leakage
2012-07-13 14:50:35 -04:00
Jean-Marc Valin
cb05e7cd96 s/FOUNDATION/COPYRIGHT OWNER/ in CELT code and "glue code"
Also added 3rd clause to "master" COPYING file
2012-04-20 16:41:42 -04:00
Jean-Marc Valin
c37499090b renames the libcelt/ directory to celt/ 2011-09-13 18:21:18 -07:00
Renamed from libcelt/mdct.c (Browse further)