sigysmund / libyuv

libYUV mirror for android HWC
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Add _420ToARGB() and _420ToABGR with BT.709 color space support for SkCanvasVideoRenderer. #472

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Required for this function:
https://code.google.com/p/chromium/codesearch#chromium/src/media/blink/skcanvas_
video_renderer.cc&l=543

BT709 constants available here:
https://code.google.com/p/chromium/codesearch#chromium/src/media/base/yuv_conver
t.cc&l=288

Original issue reported on code.google.com by dalecurtis@chromium.org on 24 Jul 2015 at 9:44

GoogleCodeExporter commented 9 years ago
Theres an SkCanvasVideoRenderer unittest in media_blink_unittests

Original comment by dalecurtis@chromium.org on 24 Jul 2015 at 10:00

GoogleCodeExporter commented 9 years ago
Code search only finds bt709 using the ConvertYUVToRGB32 function now

https://code.google.com/p/chromium/codesearch#search/&q=ConvertYUVToRGB32&sq=pac
kage:chromium&type=cs

Plan to make I420 conversion accept a color matrix.

Original comment by fbarch...@chromium.org on 28 Aug 2015 at 5:45