author Boris Zbarsky <>
Thu, 15 Jul 2010 13:49:28 -0400
changeset 47703 5d3c3d5c71bc03965fd60fb8cf6d94548883972f
parent 44177 28962e3d0ed3bea6f36a218ee244dd3aac465707
child 51230 dbbb9575aae174c5e25b01a67ed755fdf807219c
permissions -rw-r--r--
Backing out rev b567a93a5086 (bug 558306) to fix test orange

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).
bug572034_mac_64bit.patch: Fix x86_64 linux code so it works on OS X.
solaris.patch: Adds Solaris support, fallback to C implementation on SPARC