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

Issue 1125303005: cc: VideoLayerImpl VideoFrame::TEXTURE_YUV_420 support. (Closed)

Created:
5 years, 7 months ago by Daniele Castagna
Modified:
5 years, 7 months ago
Reviewers:
danakj, hendrikw, reveman
CC:
cc-bugs_chromium.org, chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: VideoLayerImpl VideoFrame::TEXTURE_YUV_420 support. VideoFrame can carry YUV native textures. After crrev.com/1127423006 VideoResoucesUpdater will create the appropriate VideoFrameExternalResources. This change makes VideoLayerImpl deal with a VideoFrame with a NATIVE_TEXTURE format and a TEXTURE_YUV_420 texture format. BUG=485859 Committed: https://crrev.com/ea0f35165bfac778916a3e567f31516b12b8fe9d Cr-Commit-Position: refs/heads/master@{#330017}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address hendrikw@'s comments. #

Total comments: 10

Patch Set 3 : Address danakj@'s comments. #

Patch Set 4 : No alpha for native textures. DCHECK_IMPLIES. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -10 lines) Patch
M cc/layers/video_layer_impl.cc View 1 2 3 2 chunks +20 lines, -10 lines 0 comments Download
M cc/layers/video_layer_impl_unittest.cc View 1 2 2 chunks +81 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Daniele Castagna
5 years, 7 months ago (2015-05-13 21:22:05 UTC) #2
Daniele Castagna
+hendrikw
5 years, 7 months ago (2015-05-13 21:24:12 UTC) #4
hendrikw
https://codereview.chromium.org/1125303005/diff/1/cc/layers/video_layer_impl.cc File cc/layers/video_layer_impl.cc (right): https://codereview.chromium.org/1125303005/diff/1/cc/layers/video_layer_impl.cc#newcode232 cc/layers/video_layer_impl.cc:232: gfx::Size ya_tex_size = coded_size; Not too important, but you ...
5 years, 7 months ago (2015-05-14 22:11:19 UTC) #5
Daniele Castagna
Thank you for the review! PTAL. https://codereview.chromium.org/1125303005/diff/1/cc/layers/video_layer_impl.cc File cc/layers/video_layer_impl.cc (right): https://codereview.chromium.org/1125303005/diff/1/cc/layers/video_layer_impl.cc#newcode232 cc/layers/video_layer_impl.cc:232: gfx::Size ya_tex_size = ...
5 years, 7 months ago (2015-05-14 22:23:04 UTC) #6
hendrikw
On 2015/05/14 22:23:04, Daniele Castagna wrote: > Thank you for the review! > > PTAL. ...
5 years, 7 months ago (2015-05-14 22:32:34 UTC) #7
hendrikw
On 2015/05/14 22:32:34, hendrikw wrote: > On 2015/05/14 22:23:04, Daniele Castagna wrote: > > Thank ...
5 years, 7 months ago (2015-05-14 22:49:08 UTC) #9
danakj
https://codereview.chromium.org/1125303005/diff/20001/cc/layers/video_layer_impl.cc File cc/layers/video_layer_impl.cc (right): https://codereview.chromium.org/1125303005/diff/20001/cc/layers/video_layer_impl.cc#newcode239 cc/layers/video_layer_impl.cc:239: uv_tex_size.SetSize(ya_tex_size.width() / 2, ya_tex_size.height() / 2); is this right ...
5 years, 7 months ago (2015-05-14 23:08:33 UTC) #10
Daniele Castagna
https://codereview.chromium.org/1125303005/diff/20001/cc/layers/video_layer_impl.cc File cc/layers/video_layer_impl.cc (right): https://codereview.chromium.org/1125303005/diff/20001/cc/layers/video_layer_impl.cc#newcode239 cc/layers/video_layer_impl.cc:239: uv_tex_size.SetSize(ya_tex_size.width() / 2, ya_tex_size.height() / 2); On 2015/05/14 at ...
5 years, 7 months ago (2015-05-14 23:26:21 UTC) #11
danakj
https://codereview.chromium.org/1125303005/diff/20001/cc/layers/video_layer_impl.cc File cc/layers/video_layer_impl.cc (right): https://codereview.chromium.org/1125303005/diff/20001/cc/layers/video_layer_impl.cc#newcode246 cc/layers/video_layer_impl.cc:246: if (frame_resources_.size() > 3) { On 2015/05/14 23:26:20, Daniele ...
5 years, 7 months ago (2015-05-14 23:33:56 UTC) #12
Daniele Castagna
https://codereview.chromium.org/1125303005/diff/20001/cc/layers/video_layer_impl.cc File cc/layers/video_layer_impl.cc (right): https://codereview.chromium.org/1125303005/diff/20001/cc/layers/video_layer_impl.cc#newcode246 cc/layers/video_layer_impl.cc:246: if (frame_resources_.size() > 3) { On 2015/05/14 at 23:33:56, ...
5 years, 7 months ago (2015-05-14 23:52:08 UTC) #13
danakj
LGTM
5 years, 7 months ago (2015-05-14 23:58:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1125303005/60001
5 years, 7 months ago (2015-05-15 00:00:28 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 7 months ago (2015-05-15 01:48:31 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 01:49:30 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ea0f35165bfac778916a3e567f31516b12b8fe9d
Cr-Commit-Position: refs/heads/master@{#330017}

Powered by Google App Engine
This is Rietveld 408576698