gecko-dev/gfx/ycbcr
Lee Salzman 9ff6a3947e Bug 1750858 - Respect mPicSize in WebRender. r=sotaro
This makes WR properly handle mPicSize when RenderBufferTextureHost is used.
The main change is that we need to take care to pass in display().Size() from
the descriptor, and then further use that to carefully limit the size of the
CbCr texture, as it doesn't necessarily maintain an appropriate half-sized
scale with respect to the Y texture if it is padded.

Given that mPicSize should now actually work, we should no longer need any
of the previous mCroppedSize mechanisms that were added to work around this,
and so they are removed in this patch.

Differential Revision: https://phabricator.services.mozilla.com/D139267
2022-02-22 17:56:30 +00:00
..
chromium_types.h
LICENSE
moz.build
README
scale_yuv_argb.cpp Bug 1732481 - Fix non-unified build errors in gfx. r=gfx-reviewers,jrmuizel 2021-09-24 19:14:46 +00:00
scale_yuv_argb.h
ycbcr_to_rgb565.cpp
ycbcr_to_rgb565.h
YCbCrUtils.cpp Bug 1750858 - Respect mPicSize in WebRender. r=sotaro 2022-02-22 17:56:30 +00:00
YCbCrUtils.h Bug 1750858 - Respect mPicSize in WebRender. r=sotaro 2022-02-22 17:56:30 +00: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.

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