author Andrew Halberstadt <>
Sat, 26 Feb 2011 13:19:57 -0500
changeset 63140 aca8013c8cff17c12a7859b6d00855d2b6648f34
parent 60429 ab3e03c79004e2925c2868a412e525ecdd2f342e
child 67676 acf9030b80b4c6478bfe7ec469ce9de370bf40a1
permissions -rw-r--r--
Bug 631659 - Push Firebug Test Runner to m-c. Patch 2.3. r=ctalbert, a=NPOTB

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

The code comes from svn revision 63840 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 contains the following changes:

  * 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
  * Bug 616469 - Add YCbCr to rgb16_565 conversion support.
  * Bug 619178 - Update CPU detection in yuv_convert to new SSE.h interface.
  * Bug 616778 - Split yuv_convert FilterRows vectorized code into separate files so it can
    be properly guarded with cpuid() calls.