gecko-dev/gfx/ycbcr
Jean-Yves Avenard 3ae43eb506 Bug 1493898 - P6. Move YUVColorSpace definition in the gfx namespace. r=mattwoodrow.
YUVColorSpace is inseparable from the bit depth as the matrix coefficients to be calculated need the bit depth information.

So let's put the two types together. gfx namespace also makes more sense as that's where we find IntRect, IntSize and other.

The extent of the changes highlight how much similar data structures are duplicated across the code, to the point it's scary.

Differential Revision: https://phabricator.services.mozilla.com/D25347

--HG--
extra : moz-landing-system : lando
2019-04-11 12:41:33 +00:00
..
LICENSE
README Bug 1478269 - Remove ycbcr update script and patches. r=jrmuizel 2018-08-29 13:59:05 +09:00
YCbCrUtils.cpp Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow 2018-09-25 20:44:55 +00:00
YCbCrUtils.h
chromium_types.h Bug 1486068 - add aarch64 windows cases to ycbcr's chromium_types.h; r=jrmuizel 2018-08-28 16:53:27 -04:00
moz.build Bug 1512504 - Remove support for MSVC. r=froydnj 2019-02-14 21:45:27 +00:00
scale_yuv_argb.cpp Bug 1493898 - P6. Move YUVColorSpace definition in the gfx namespace. r=mattwoodrow. 2019-04-11 12:41:33 +00:00
scale_yuv_argb.h Bug 1493898 - P6. Move YUVColorSpace definition in the gfx namespace. r=mattwoodrow. 2019-04-11 12:41:33 +00:00
ycbcr_to_rgb565.cpp
ycbcr_to_rgb565.h
yuv_convert.cpp Bug 1493898 - P6. Move YUVColorSpace definition in the gfx namespace. r=mattwoodrow. 2019-04-11 12:41:33 +00:00
yuv_convert.h Bug 1493898 - P6. Move YUVColorSpace definition in the gfx namespace. r=mattwoodrow. 2019-04-11 12:41:33 +00:00
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 Bug 1478269 - Fix the outputs and clobbers of inline assembly blocks in yuv_row_posix.cpp. r=jrmuizel 2018-08-29 14:00:26 +09:00
yuv_row_table.cpp
yuv_row_win.cpp Backed out changeset 737b602f4c6f864b34080d0fe57c2ff75de3b909 because I shouldn't back out the original fix until the better one lands. 2018-04-02 17:22:06 -04: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.

It has been superseded upstream by libyuv (which is spawned off it). Bug 791941 is about
trying to replace this code with libyuv.