author Benjamin Smedberg <>
Wed, 13 Oct 2010 08:54:06 -0400
changeset 55414 9338043ef10de4db97df09334ccfcf0e5961e50f
parent 51251 cfb5b914e2b4ba314816752854b9eba2b6164ea4
child 57389 8ecd9dc6684e04dd6a3d37b0bc8f40c5847e4e7a
permissions -rw-r--r--
Backed out changeset 7819e11aa46f, bug 592052 because of Mac OS X build bustage: Undefined symbols: "_NSGetModule", referenced from: -exported_symbols_list command line option ld: symbol(s) not found

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