[vorbis-dev] 2d wavelet transforms
greg at linuxpower.cx
Sat Dec 30 11:57:00 PST 2000
On Sat, Dec 30, 2000 at 10:15:18PM +0330, jsr at dds.nl wrote:
> Oh, and another question I just remembered: audio signals
> are signed, because they're representations of the movement
> of the microphone. Video data does not have that, but the
> wavelet transform does expect signed data (or doesn't it?
> Haar works on unsigned data but what about Daubechies and
> other wavelets?). So how do I convert? Simply subtracting
> 128 from each sample (ie casting to signed int) seems wrong.
Your input does not need to be signed.
I would scale my input to be 0.0 .. 1.0 and degamma it in the process. (So
that .5 is half bright to the viewer).
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev