author Justin Dolske <>
Wed, 16 Jun 2010 17:06:17 -0700
changeset 43706 dbe1e5c26aa3c4fecc5d31160fcfd21f0041af3f
parent 41619 d349761ddc1e0bf20552269434ba21a244a938ba
child 43750 d268e54fbfcfbbfab0e3b890fe376cd058498bb8
permissions -rw-r--r--
Bug 563274 - Overhaul nsIPrompt-related prompting code. r=gavin, sr=bs

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

The code comes from svn revision 40876.

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.

picture_region.patch: Change Chromium code to allow a picture region.
                      The YUV conversion will convert within this 
                      picture region only.

remove_scale.patch: Removes Chromium scaling code.
export.patch: Fix export for building on comm-central
win64_mac64.patch: Fallback to C implementation on Windows and Mac OS X 64 bit
yv24.patch: Adds YCbCr 4:4:4 support
row_c_fix.patch: Fix broken C fallback code (See bug 561385).