mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
3ae43eb506
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 |
||
---|---|---|
.. | ||
chromium_types.h | ||
LICENSE | ||
moz.build | ||
README | ||
scale_yuv_argb.cpp | ||
scale_yuv_argb.h | ||
ycbcr_to_rgb565.cpp | ||
ycbcr_to_rgb565.h | ||
YCbCrUtils.cpp | ||
YCbCrUtils.h | ||
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. It has been superseded upstream by libyuv (which is spawned off it). Bug 791941 is about trying to replace this code with libyuv.