This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12443 - Multichannel downmix for flac
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Sunday, 11 December 2011, 01:00 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 14 December 2011, 20:18 GMT+2
Opened by Andree Buschmann (Buschel) - Sunday, 11 December 2011, 01:00 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 14 December 2011, 20:18 GMT+2
|
DetailsThe attached patch implements multichannel-to-stereo downmixing for flac. For this all channels need to be decoded and saved in a dedicated sample buffer. For each channel configuration (3.0, 4.0, 5.0, 5.1) there is a matrix for the downmixing defined and applied.
The following file very clearly proves and shows the effect of the downmixing: http://download.linnrecords.com/test/flac/surround88.aspx |
This task depends upon
Closed by Andree Buschmann (Buschel)
Wednesday, 14 December 2011, 20:18 GMT+2
Reason for closing: Accepted
Additional comments about closing: Submitted with r31253
Wednesday, 14 December 2011, 20:18 GMT+2
Reason for closing: Accepted
Additional comments about closing: Submitted with r31253
- Moved donwmix to an own function
- Moved scaling into downmixing to improve performance
- Avoid divisisions to improve performance
A sample file (5.1, 88.2 kHz, 24 bit) on iPod Video needs:
svn -> 96.8 MHz (no downmix, left/right only)
v02 -> 101.9 MHz (5.1-downmix)
ToDo's (maybe after the patch is in): A little more tweaking with IRAM allows a speed up of ~3 MHz on PP5022.