release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Wiki > Main > WavpackHybridSupport (compare)

Difference: WavpackHybridSupport (r5 vs. r4)

Rockbox Support for Wavpack Hybrid Compression

Wavpack Hybrid Compression

The Wavpack audio codec supports an unusual "hybrid" compression mode. In this mode, a traditional lossy file is complemented by a "correction" file. When the two are decoded together, the original input bitstream can be recreated exactly. The lossy file may also be decoded on its own.

Rockbox currently handles lossy files but ignores the correction files.

Milestones

  • Correctly decode hybrid files on a PC with Rockbox code (complete and verified for stereo files)
  • Implement support for buffering two (or more) files in a codec-independent manner (vaguely working with bugs )
  • Ensure real-time decoding on a Rockbox target (decoding but not tested real-time real time on target )
  • Implement seeking in hybrid files with correction info present (should ( already work imprecisely, but untested) imprecise short-range seeking works)
  • Add support for and check more obscure formats, like hybrid mono lossless and old-style hybrid shaping code ( mono lossless support complete)

Useful Info

Wavpack spec description: here. Wavpack file format: here.

Current Status

Decoding of stereo hybrid lossless files functions off-target. The off-target with a patch is at http://q3q.us/hybrid2.patch . This does NOT run on a device; use http://q3q.us/codec-executor.tar.bz2 to run the codec!

Decoding on-target works via a modification to A patch enabling playback on iPod targets and in the buffering system sim is at http://q3q.us/buffer.patch http://www.rockbox.org/tracker/task/10537 . This but does will NOT play nice with other files and is not ready for general consumption. yet run in real time.

Currently fixing buffering code interactions to avoid data corruption

r5 - 17 Aug 2009 - 19:39:36 - BryanJacobs

Revision r5 - 17 Aug 2009 - 19:39 - BryanJacobs
Revision r4 - 28 Jun 2009 - 00:24 - BryanJacobs
Copyright by the contributing authors.