gecko-dev/gfx/ycbcr
Ehsan Akhgari 667b4bc049 Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium
--HG--
extra : rebase_source : fe4cd059eddda221af420e1517250772816d7ee8
2014-03-02 15:41:32 -05:00
..
chromium_types.h Bug 963031 - AArch support for Graphics. r=doublec 2014-01-27 08:18:27 -05:00
convert.patch
LICENSE
moz.build Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium 2014-03-02 15:41:32 -05:00
QuellGccWarnings.patch
README
TypeFromSize.patch
update.sh
win64.patch
ycbcr_to_rgb565.cpp Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-25 14:02:47 -05:00
ycbcr_to_rgb565.h
YCbCrUtils.cpp Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel 2014-01-23 13:26:40 -05:00
YCbCrUtils.h Bug 929513 - Add YCbCrUtils class and change gfxIntSize in BasicCompositor r=nical 2013-12-13 18:31:57 +01:00
yuv_convert_arm.cpp
yuv_convert_mmx.cpp
yuv_convert_sse2.cpp
yuv_convert.cpp
yuv_convert.h
yuv_row_arm.s
yuv_row_c.cpp
yuv_row_other.cpp
yuv_row_posix.cpp
yuv_row_table.cpp
yuv_row_win64.cpp
yuv_row_win.cpp
yuv_row.h

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.