Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3400)

Unified Diff: cc/resources/video_resource_updater.cc

Issue 591313008: Add support for Rec709 color space videos in software YUV convert path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/base/simd/yuv_to_rgb_table.h » ('j') | media/base/simd/yuv_to_rgb_table.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/video_resource_updater.cc
diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
index 75edccb5a740b15a920227a785275ff08e8f0d9f..165841ebd8a546ddc55d1d0f2b575d5e91fc24db 100644
--- a/cc/resources/video_resource_updater.cc
+++ b/cc/resources/video_resource_updater.cc
@@ -85,6 +85,7 @@ bool VideoResourceUpdater::VerifyFrame(
case media::VideoFrame::YV12A:
case media::VideoFrame::YV16:
case media::VideoFrame::YV12J:
+ case media::VideoFrame::YV12HD:
case media::VideoFrame::YV24:
case media::VideoFrame::NATIVE_TEXTURE:
#if defined(VIDEO_HOLE)
@@ -133,12 +134,14 @@ VideoFrameExternalResources VideoResourceUpdater::CreateForSoftwarePlanes(
input_frame_format == media::VideoFrame::I420 ||
input_frame_format == media::VideoFrame::YV12A ||
input_frame_format == media::VideoFrame::YV12J ||
+ input_frame_format == media::VideoFrame::YV12HD ||
input_frame_format == media::VideoFrame::YV16 ||
input_frame_format == media::VideoFrame::YV24);
if (input_frame_format != media::VideoFrame::YV12 &&
input_frame_format != media::VideoFrame::I420 &&
input_frame_format != media::VideoFrame::YV12A &&
input_frame_format != media::VideoFrame::YV12J &&
+ input_frame_format != media::VideoFrame::YV12HD &&
input_frame_format != media::VideoFrame::YV16 &&
input_frame_format != media::VideoFrame::YV24)
return VideoFrameExternalResources();
« no previous file with comments | « no previous file | media/base/simd/yuv_to_rgb_table.h » ('j') | media/base/simd/yuv_to_rgb_table.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698