Re: RFC: More accurate color conversion
James Cloos <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "WD" == Wolfgang Draxinger <[email protected]> writes: WD> I don't see where you pulled that particular 2**16 - 1 from. The paper WD> discusses range conversions [0, 1] <-> [0, 2**n - 1] which is the WD> typical problem when confronted with conversion between floating point WD> and integer. Unelss that is a different paper than I found on this thread, that should be between [-1, 1] and [-(2**n - 1), 2**n - 1]. Ie signed samples, as is typical in audio and other AC applications. -JimC -- James Cloos <[email protected]> OpenPGP: 1024D/ED7DAEA6 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo