[webkit-dev] Proposal for serializing alpha channel values; request for algorithm help

Darin Adler darin at apple.com
Mon Nov 2 21:31:51 PST 2015


> On Nov 2, 2015, at 2:34 AM, Gavin Barraclough <barraclough at apple.com> wrote:
> 
> I guess if you just store the fractions as BCD & unpack you can get the table size down to 512 bytes.

I like that approach.

(I’d probably leave leave off the first F from each one and then use 3 instead of 4 on the loop and 8 instead of 12 on the shift right. And I like capital hex.)

— Darin


More information about the webkit-dev mailing list