FS#5034 - mp3_encoder: Bugfixes and performance improvements

Attached to Project: Rockbox
Opened by Toni (ahellmann) - Tuesday, 04 April 2006, 18:31 GMT
Task Type Patches
Category Codecs
Status Closed
Assigned To No-one
Operating System Iriver H100 series
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


This patch is a major rewrite of the mp3_encoder.
- avoid overflows in the granules' bit reservour at high bitrates
- correct bitorder for bit quadruples in huffman coding
- avoid compiler complaining in 'logf' compilations
- correctly use the encoder in viewer plugin mode (no double file selection)
- use latest lame 3.97 windowing and mdct algorithms
- up to 5% better bit reservour usage by distributing overhang bits to remaining granules of current audio frame
- faster noise allocation
- better quality at low volume audio input (two path integer calculation)
- reduce screen updates
The patch gives better quality at low volume and high bit rate encodings at 40% increased speed with less IRAM usage.
This task depends upon

Closed by  Nicolas Pennequin (nicolas_p)
Tuesday, 04 April 2006, 19:23 GMT
Reason for closing:  Duplicate
Additional comments about closing:  same thing has been committed to CVS (#5033)