Mypal/gfx/ycbcr
Fedor 75fc2843ab Nuke vim lines. 2021-02-04 16:48:36 +02:00
..
LICENSE ooops, some files where missed 2019-03-12 18:31:25 +03:00
QuellGccWarnings.patch basic source 2019-03-11 13:26:37 +03:00
README ooops, some files where missed 2019-03-12 18:31:25 +03:00
TypeFromSize.patch basic source 2019-03-11 13:26:37 +03:00
YCbCrUtils.cpp basic source 2019-03-11 13:26:37 +03:00
YCbCrUtils.h basic source 2019-03-11 13:26:37 +03:00
chromium_types.h basic source 2019-03-11 13:26:37 +03:00
convert.patch basic source 2019-03-11 13:26:37 +03:00
moz.build Nuke vim lines. 2021-02-04 16:48:36 +02:00
scale_yuv_argb.cpp De-unify all gfx but angle. 2020-07-16 02:35:31 +03:00
scale_yuv_argb.h basic source 2019-03-11 13:26:37 +03:00
update.sh basic source 2019-03-11 13:26:37 +03:00
win64.patch basic source 2019-03-11 13:26:37 +03:00
ycbcr_to_rgb565.cpp basic source 2019-03-11 13:26:37 +03:00
ycbcr_to_rgb565.h basic source 2019-03-11 13:26:37 +03:00
yuv_convert.cpp basic source 2019-03-11 13:26:37 +03:00
yuv_convert.h basic source 2019-03-11 13:26:37 +03:00
yuv_convert_arm.cpp basic source 2019-03-11 13:26:37 +03:00
yuv_convert_mmx.cpp basic source 2019-03-11 13:26:37 +03:00
yuv_convert_sse2.cpp basic source 2019-03-11 13:26:37 +03:00
yuv_row.h basic source 2019-03-11 13:26:37 +03:00
yuv_row_arm.s basic source 2019-03-11 13:26:37 +03:00
yuv_row_c.cpp basic source 2019-03-11 13:26:37 +03:00
yuv_row_other.cpp basic source 2019-03-11 13:26:37 +03:00
yuv_row_posix.cpp basic source 2019-03-11 13:26:37 +03:00
yuv_row_table.cpp basic source 2019-03-11 13:26:37 +03:00
yuv_row_win.cpp basic source 2019-03-11 13:26:37 +03:00
yuv_row_win64.cpp basic source 2019-03-11 13:26:37 +03:00

README

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.