author Jeff Walden <>
Thu, 06 Jan 2011 17:35:13 -0600
changeset 60180 54e2039322ef1e69ecd6cb529f4bcdf8b9e55885
parent 59200 513cc1daf58f5bc303e89b8964f59184c681f305
child 60429 ab3e03c79004e2925c2868a412e525ecdd2f342e
permissions -rw-r--r--
Fix safebrowsing code that assumed x: 1, get x() was permitted. r=orange

This color conversion code is from the Chromium open source project available here:

The code comes from svn revision 638400 on 2010-10-26.

The code was copied from a Chromium svn checkout using the '' script which then applies patches for our build and to add dynamic CPU detection.

convert.patch: Change Chromium code to build using Mozilla build system.
               Add runtime CPU detection for MMX
               Move default C implementation to work on all platforms.
               Change Chromium code to allow a picture region.
               The YUV conversion will convert within this 
               picture region only.
               Add YCbCr 4:4:4 support

arm.patch: Add YCbCr to rgb16_565 conversion support, bug 616469