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

Issue 12255032: Implement "hole" video frame. (Closed)

Created:
7 years, 10 months ago by wonsik2
Modified:
7 years, 9 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, Andrew Jeon, punyabrata1, dureauv_google.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement "hole" video frame. In order to support out-of-band compositing of protected video content in Chrome, it is necessary to have a transparent hole in Chrome's HTML rendering so that video playing "beneath" the HTML elements can be seen through. To accomplish the scenario stated above, define a "hole" video frame which would clear the region where video would have been composited. In CC, this is done by sending a transparent black SolidColorDrawQuad with blending disabled. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185841

Patch Set 1 #

Total comments: 5

Patch Set 2 : Defined a new quad type called HoleDrawQuad and put implementations inside ifdef's #

Patch Set 3 : Use SolidColorDrawQuad to implement video hole quad #

Total comments: 2

Patch Set 4 : Added contact address #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -0 lines) Patch
M cc/video_layer_impl.cc View 1 2 3 4 5 chunks +38 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M media/base/video_frame.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M media/base/video_frame.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
wonsik2
This change is separated from https://codereview.chromium.org/11442056 to discuss the impact on core rendering with more ...
7 years, 10 months ago (2013-02-14 14:31:28 UTC) #1
Tom Hudson
In the comments on 11442056, there was mention of a thread being started to discuss ...
7 years, 10 months ago (2013-02-14 14:38:44 UTC) #2
wonsik2
On 2013/02/14 14:38:44, Tom Hudson wrote: > In the comments on 11442056, there was mention ...
7 years, 10 months ago (2013-02-14 14:55:27 UTC) #3
jamesr
This seems to have the exact same problem that the previous version had. cc uses ...
7 years, 10 months ago (2013-02-18 05:06:31 UTC) #4
Vangelis Kokkevis
https://codereview.chromium.org/12255032/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12255032/diff/1/cc/gl_renderer.cc#newcode992 cc/gl_renderer.cc:992: if (quad->texture_id == 0) { I'm not too fond ...
7 years, 10 months ago (2013-02-21 18:52:54 UTC) #5
Vangelis Kokkevis
There's a couple more things I would like to see to make this change safer ...
7 years, 10 months ago (2013-02-21 19:00:39 UTC) #6
danakj
https://codereview.chromium.org/12255032/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12255032/diff/1/cc/gl_renderer.cc#newcode992 cc/gl_renderer.cc:992: if (quad->texture_id == 0) { On 2013/02/21 18:52:54, Vangelis ...
7 years, 10 months ago (2013-02-21 19:01:51 UTC) #7
wonsik2
https://codereview.chromium.org/12255032/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12255032/diff/1/cc/gl_renderer.cc#newcode992 cc/gl_renderer.cc:992: if (quad->texture_id == 0) { On 2013/02/21 18:52:54, Vangelis ...
7 years, 10 months ago (2013-02-26 04:52:24 UTC) #8
wonsik2
https://codereview.chromium.org/12255032/diff/1/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12255032/diff/1/cc/gl_renderer.cc#newcode992 cc/gl_renderer.cc:992: if (quad->texture_id == 0) { On 2013/02/26 04:52:24, wonsik ...
7 years, 10 months ago (2013-02-26 06:47:03 UTC) #9
jamesr
https://codereview.chromium.org/12255032/diff/9002/cc/video_layer_impl.cc File cc/video_layer_impl.cc (right): https://codereview.chromium.org/12255032/diff/9002/cc/video_layer_impl.cc#newcode235 cc/video_layer_impl.cc:235: #if defined(GOOGLE_TV) please put a comment in here below ...
7 years, 10 months ago (2013-02-26 07:31:35 UTC) #10
wonsik2
https://codereview.chromium.org/12255032/diff/9002/cc/video_layer_impl.cc File cc/video_layer_impl.cc (right): https://codereview.chromium.org/12255032/diff/9002/cc/video_layer_impl.cc#newcode235 cc/video_layer_impl.cc:235: #if defined(GOOGLE_TV) On 2013/02/26 07:31:35, jamesr wrote: > please ...
7 years, 10 months ago (2013-02-27 02:16:41 UTC) #11
jamesr
lgtm for cc/. I don't have OWNERS for the rest. I'd suggest scherkus@ for the ...
7 years, 9 months ago (2013-02-27 02:59:31 UTC) #12
vangelis
https://codereview.chromium.org/12255032/diff/12001/cc/video_layer_impl.cc File cc/video_layer_impl.cc (right): https://codereview.chromium.org/12255032/diff/12001/cc/video_layer_impl.cc#newcode244 cc/video_layer_impl.cc:244: scoped_ptr<SolidColorDrawQuad> solidColorDrawQuad = SolidColorDrawQuad::Create(); 80 col limit. Here and ...
7 years, 9 months ago (2013-02-27 04:56:45 UTC) #13
scherkus (not reviewing)
wonsik: code by itself is looking fine but do you have a CL in progress ...
7 years, 9 months ago (2013-02-27 06:54:20 UTC) #14
wonsik2
scherkus: I am working on a CL to use VideoFrame::HOLE, but it's not ready for ...
7 years, 9 months ago (2013-02-27 10:19:29 UTC) #15
scherkus (not reviewing)
lgtm
7 years, 9 months ago (2013-02-27 18:47:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wonsik@google.com/12255032/7002
7 years, 9 months ago (2013-03-04 02:06:38 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wonsik@google.com/12255032/7002
7 years, 9 months ago (2013-03-04 02:08:00 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wonsik@google.com/12255032/7002
7 years, 9 months ago (2013-03-04 02:11:07 UTC) #19
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-04 03:37:51 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wonsik@google.com/12255032/7002
7 years, 9 months ago (2013-03-04 05:52:59 UTC) #21
commit-bot: I haz the power
7 years, 9 months ago (2013-03-04 06:31:22 UTC) #22
Message was sent while issue was closed.
Change committed as 185841

Powered by Google App Engine
This is Rietveld 408576698