gfx/ycbcr/README
author Boris Zbarsky <bzbarsky@mit.edu>
Fri, 04 Jan 2013 12:02:14 -0500
changeset 127489 ee0e5b1c16403356bf3d542a084a8fe73350a36c
parent 94709 f64f62213f61693a4f85e4c89a3191f83e388684
child 448849 1355b9f0cfc11de7bbdb7f131149ccc7f8f8d6d3
permissions -rw-r--r--
Bug 824823 part 8. Convert nsTextNode to WebIDL. r=peterv

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

http://code.google.com/chromium/

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

If you just want to check out this individual directory, use:

svn co -r 63840 http://src.chromium.org/svn/trunk/src/media/base

The code was copied from a Chromium svn checkout using the 'update.sh' 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 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.

win64.patch: SSE2 optimization for Microsoft Visual C++ x64 version

TypeFromSize.patch: Bug 656185 - Add a method to detect YUVType from plane sizes.

QuellGccWarnings.patch: Bug 711895 - Avoid some GCC compilation warnings.