Jean-Marc Valin
f67b4476a0
More IMDCT de-uglification
2010-08-27 01:32:40 -04:00
Jean-Marc Valin
e0ce2cf99d
Removing out_mem from the encoder state.
2010-08-27 00:06:30 -04:00
Jean-Marc Valin
903dbf7558
Inverse MDCT no longer keeps channels interleaved.
...
This simplifications also fixes a few bugs in the PLC (hope it didn't create some new ones).
2010-08-26 20:07:27 -04:00
Jean-Marc Valin
ab3784e99f
Small suckage reduction in compute_inv_mdcts(). More to come.
2010-08-26 18:10:09 -04:00
Jean-Marc Valin
5e7f02de2c
Moving intra decision to quant_coarse_energy()
2010-08-08 09:48:22 -04:00
Jean-Marc Valin
908958cad5
Shuffling code around -- no change to the algorithm
2010-08-07 22:15:19 -04:00
Jean-Marc Valin
9099bc36db
Bit-stream reordering
...
Coarse first, following by transient info, then spreading
2010-08-07 22:07:08 -04:00
Jean-Marc Valin
be04f5af6c
Reorganizing the VBR code
2010-08-07 21:42:03 -04:00
Jean-Marc Valin
d38d6b9aa1
Implemented variable spreading amount in the decoder
...
Decision not yet implemented in the encoder
2010-08-07 09:21:32 -04:00
Jean-Marc Valin
504fb3c189
Using the real spectral means instead of the ones
...
after inter-band prediction
2010-08-06 15:56:22 -04:00
Jean-Marc Valin
017001a512
Simplified flags encoding
2010-08-05 15:42:50 -04:00
Jean-Marc Valin
8cbea177ba
Removing pitch prediction code
2010-08-05 15:28:27 -04:00
Jean-Marc Valin
5d774e075e
Fixed "forced intensity stereo"
2010-08-04 17:17:18 -04:00
Jean-Marc Valin
129964098b
More float conversion cleanup
2010-08-04 09:13:24 -04:00
Jean-Marc Valin
ae01e119cb
Changing some constants to float
2010-08-03 21:43:41 -04:00
Jean-Marc Valin
bc272de74b
Code simplifications for log->amplitude conversion
2010-08-02 09:41:31 -04:00
Jean-Marc Valin
4409224845
Error measurement for stereo as well
2010-07-29 18:32:54 +02:00
Jean-Marc Valin
7b5a086b45
Measuring the normalized error directly within the encoder
2010-07-29 15:01:24 +02:00
Jean-Marc Valin
8d18601413
Fixing the qtheta dependency for the delta allocation
...
Removed useless code in transient_analysis()
2010-07-28 22:12:36 +02:00
Jean-Marc Valin
ac1da4f42b
Codec state simplification
...
Making the preemphasis memory an array of two, removing unused fields
2010-07-24 12:32:37 -04:00
Jean-Marc Valin
802f6eab9b
Making a bunch of things static
2010-07-23 17:02:23 -04:00
Jean-Marc Valin
617af25e5c
Cleaning up intra_decision()
2010-07-23 16:54:45 -04:00
Jean-Marc Valin
ca6533cd88
Energy quantization tuning.
...
Prediction coefficient now depends on the frame size. Also, the pdfs and means
have been adjusted and better quantized. This breaks compatibility of course.
2010-07-23 16:10:36 -04:00
Jean-Marc Valin
6bf3b0a7a1
The coarse energy budget is no longer part of the bit-stream.
...
It is now the encoder's responsability to take care of it to avoid
busting the budget.
2010-07-19 14:32:40 -04:00
Jean-Marc Valin
b1e017f58d
Error checking on the decoder side
2010-07-18 21:20:35 -04:00
Jean-Marc Valin
9d785afb67
Encoder now has a way to check whether an error has occurred
2010-07-18 09:42:05 -04:00
Jean-Marc Valin
8952c45ea5
The encoder and decoder can now process audio encoded at a higher rate
...
than what they're running at.
2010-07-16 21:48:44 -04:00
Jean-Marc Valin
85f41b20df
Some work towards being able to encode a 48 kHz stream from 32 kHz audio (incomplete)
2010-07-16 18:12:45 -04:00
Jean-Marc Valin
3b0df0dc2a
All modes based on 2.5 ms short blocks now use the same definition
2010-07-16 15:55:30 -04:00
Jean-Marc Valin
69921c4cde
Considering the end band in more places in the code
2010-07-16 15:25:30 -04:00
Jean-Marc Valin
0be05b0335
Encoding transient_time independently of the sampling rate
2010-07-16 14:23:03 -04:00
Jean-Marc Valin
223b69db02
Better support for non-48 kHz sampling rates
2010-07-16 11:47:50 -04:00
Jean-Marc Valin
af1fce93b1
Pre-emphasis coefficients now part of the mode and has a numerator as well
...
as a denominator
2010-07-16 11:05:06 -04:00
Jean-Marc Valin
e34c85a0cc
Using short blocks a bit more often now that we have variable tf resolution
2010-07-15 17:57:50 -04:00
Jean-Marc Valin
2ed5e67a2e
Handling the start band and end band in tf encoding
2010-07-13 18:18:23 -04:00
Jean-Marc Valin
525d7cfdc4
Support for adjusting the end band
2010-07-13 18:18:23 -04:00
Jean-Marc Valin
72513f3cc7
Sharing twiddle factors across all MDCTs
2010-07-07 21:26:38 -04:00
Jean-Marc Valin
4424b5a803
Updating DISABLE_FLOAT_API use
2010-07-06 19:37:23 -04:00
Jean-Marc Valin
b6a5f9d38f
fixed point bug fix in tf_analysis()
2010-07-06 17:57:14 -04:00
Jean-Marc Valin
c7bcf389da
Another coarse budget fix for _ec() calls
2010-07-05 14:33:49 -04:00
Jean-Marc Valin
bdcaaf73c6
Fixed a few more issues with the _ec() calls.
2010-07-05 13:52:41 -04:00
Jean-Marc Valin
71ae6d4714
Some C90-ication
2010-06-27 21:55:08 -04:00
Jean-Marc Valin
a57e924f2e
Removing some warnings
2010-06-27 00:53:51 -04:00
Jean-Marc Valin
a01106587c
Improved quality of small frame sizes at low bitrate.
...
Adding a temporal energy floor to prevent extremely small values when there's
only one bin in the band.
2010-06-23 15:22:54 -04:00
Jean-Marc Valin
6b95d8fdb8
Improved code for reusing ec structures
...
Using the number of unallocated bytes for coarse quantization and VBR
instead the total number of bytes.
2010-06-21 21:39:44 -04:00
Jean-Marc Valin
30d5125bff
No need to memset() the byte buffer
2010-06-21 17:55:28 -04:00
Jean-Marc Valin
6c3788cb53
Removing old PCL, added plc.h
2010-06-20 23:01:33 -04:00
Jean-Marc Valin
feca095e96
fixed-point: New PLC now enabled by default
2010-06-17 20:25:51 -04:00
Jean-Marc Valin
7b7f07120e
fixed-point: More work on the PLC
2010-06-17 20:10:02 -04:00
Jean-Marc Valin
456eab2e4f
More work on fixed-point Levinson-Durbin
2010-06-16 22:38:57 -04:00