gecko-dev/gfx/ycbcr
Sylvestre Ledru 5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
..
LICENSE
QuellGccWarnings.patch
README Bug 1422368 - Work around a clang-cl bug in yuv_row_win.cpp. r=jrmuizel 2017-12-01 16:46:21 -05:00
TypeFromSize.patch
YCbCrUtils.cpp Bug 1215089 - P5: Convert 10/12 bits YUV image to 8 bits prior conversion to RGB. r=mattwoodrow 2017-09-29 13:43:09 +02:00
YCbCrUtils.h
chromium_types.h
clang-cl-workaround.patch Bug 1422368 - Work around a clang-cl complilation bug in yuv_row_win.cpp harder. r=jrmuizel 2017-12-06 12:24:53 -05:00
convert.patch
moz.build Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium 2017-12-08 13:46:13 +01:00
scale_yuv_argb.cpp
scale_yuv_argb.h
update.sh Bug 1422368 - Work around a clang-cl bug in yuv_row_win.cpp. r=jrmuizel 2017-12-01 16:46:21 -05:00
win64.patch
ycbcr_to_rgb565.cpp
ycbcr_to_rgb565.h
yuv_convert.cpp
yuv_convert.h
yuv_convert_arm.cpp
yuv_convert_mmx.cpp
yuv_convert_sse2.cpp
yuv_row.h
yuv_row_arm.s
yuv_row_c.cpp
yuv_row_other.cpp
yuv_row_posix.cpp
yuv_row_table.cpp
yuv_row_win.cpp Bug 1422368 - Work around a clang-cl complilation bug in yuv_row_win.cpp harder. r=jrmuizel 2017-12-06 12:24:53 -05:00
yuv_row_win64.cpp

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.

clang-cl-workaround.patch: Bug 1422368 - Work around a clang-cl unresolved symbol bug.