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

Issue 7545014: Implement PPAPI VideoDecode out-of-process support (Closed)

Created:
9 years, 4 months ago by vrk (LEFT CHROMIUM)
Modified:
9 years, 4 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, jam, acolwell+watch_chromium.org, annacc+watch_chromium.org, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing)
Visibility:
Public.

Description

Implement PPAPI VideoDecode out-of-process support This CL implements the proxy necessary for out-of-process video decoding and introduces a shared base class between the PPB_VideoDecoder_Impl and the proxy. BUG=86106 TEST=gles2 plugin runs with or without --ppapi-out-of-process flag, no crashes Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95724

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 6

Patch Set 4 : responses to ddorwin and piman #

Total comments: 85

Patch Set 5 : . #

Total comments: 24

Patch Set 6 : responses to CR #

Patch Set 7 : . #

Total comments: 19

Patch Set 8 : more responses to CR #

Patch Set 9 : . #

Patch Set 10 : rebase to ToT #

Total comments: 4

Patch Set 11 : responding to brettw #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1067 lines, -161 lines) Patch
M chrome/test/ui/ppapi_uitest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -6 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/command_buffer_proxy.h View 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/command_buffer_proxy.cc View 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/gpu_channel_host.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/gpu_channel_host.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/gpu_video_decode_accelerator_host.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/gpu/gpu_video_decode_accelerator_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper_platform_video_decoder_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper_platform_video_decoder_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/video/video_decode_accelerator.h View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/c/dev/ppb_video_decoder_dev.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/examples/gles2/gles2.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +11 lines, -6 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 10 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/dispatcher.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -0 lines 0 comments Download
M ppapi/proxy/plugin_resource.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 5 chunks +66 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_buffer_proxy.h View 2 chunks +31 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_buffer_proxy.cc View 1 2 3 4 5 2 chunks +0 lines, -31 lines 0 comments Download
A ppapi/proxy/ppb_video_decoder_proxy.h View 1 2 3 4 5 6 7 1 chunk +81 lines, -0 lines 0 comments Download
A ppapi/proxy/ppb_video_decoder_proxy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +365 lines, -0 lines 0 comments Download
A ppapi/proxy/ppp_video_decoder_proxy.h View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
A ppapi/proxy/ppp_video_decoder_proxy.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +167 lines, -0 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ppapi/shared_impl/tracker_base.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A ppapi/shared_impl/video_decoder_impl.h View 1 2 3 4 5 6 7 1 chunk +97 lines, -0 lines 0 comments Download
A ppapi/shared_impl/video_decoder_impl.cc View 1 2 3 4 5 6 7 1 chunk +109 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.h View 1 2 3 4 5 6 7 4 chunks +19 lines, -31 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.cc View 1 2 3 4 5 6 7 7 chunks +28 lines, -65 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
vrk (LEFT CHROMIUM)
everyone: thoughts on how I implemented proxy + shared_impl brettw: OWNERS piman: modifications to HostDispatcher ...
9 years, 4 months ago (2011-08-01 19:41:08 UTC) #1
ddorwin
Does the UI test pass now? If so, please remove the FAILS_ and comment: http://codesearch.google.com/#OAMlx_jo-ck/src/chrome/test/ui/ppapi_uitest.cc&exact_package=chromium&q=VideoDecoder&type=cs&l=263
9 years, 4 months ago (2011-08-01 20:53:04 UTC) #2
piman
A few initial thoughts, haven't finished the full review, but the overall approach seems fine ...
9 years, 4 months ago (2011-08-01 20:57:48 UTC) #3
vrk (LEFT CHROMIUM)
> Does the UI test pass now? If so, please remove the FAILS_ and comment ...
9 years, 4 months ago (2011-08-01 23:40:04 UTC) #4
piman
Some more comments. http://codereview.chromium.org/7545014/diff/3059/ppapi/proxy/ppb_video_decoder_proxy.cc File ppapi/proxy/ppb_video_decoder_proxy.cc (right): http://codereview.chromium.org/7545014/diff/3059/ppapi/proxy/ppb_video_decoder_proxy.cc#newcode53 ppapi/proxy/ppb_video_decoder_proxy.cc:53: DCHECK(enter_context.succeeded()); So, we do this enter ...
9 years, 4 months ago (2011-08-02 00:40:08 UTC) #5
Ami GONE FROM CHROMIUM
Despite the number of nits, I like this change! http://codereview.chromium.org/7545014/diff/4035/ppapi/proxy/host_dispatcher.cc File ppapi/proxy/host_dispatcher.cc (right): http://codereview.chromium.org/7545014/diff/4035/ppapi/proxy/host_dispatcher.cc#newcode216 ppapi/proxy/host_dispatcher.cc:216: ...
9 years, 4 months ago (2011-08-02 00:49:08 UTC) #6
vrk (LEFT CHROMIUM)
Phew, addressed most every comment. fischman asked some questions that I have to look into ...
9 years, 4 months ago (2011-08-03 19:04:29 UTC) #7
piman
The only thing that bugs me is the craziness with VideoDecoderImpl::Ref/UnrefResource Brett do you have ...
9 years, 4 months ago (2011-08-03 19:12:44 UTC) #8
brettw
http://codereview.chromium.org/7545014/diff/11008/ppapi/shared_impl/video_decoder_impl.cc File ppapi/shared_impl/video_decoder_impl.cc (right): http://codereview.chromium.org/7545014/diff/11008/ppapi/shared_impl/video_decoder_impl.cc#newcode13 ppapi/shared_impl/video_decoder_impl.cc:13: #include "webkit/plugins/ppapi/resource_tracker.h" The point of the shared_impl directory is ...
9 years, 4 months ago (2011-08-03 19:19:57 UTC) #9
Ami GONE FROM CHROMIUM
LGTM modulo: - question about when the *_instance() and *_target() methods can fail; can wait ...
9 years, 4 months ago (2011-08-03 20:25:53 UTC) #10
brettw
http://codereview.chromium.org/7545014/diff/11008/ppapi/proxy/ppp_video_decoder_proxy.cc File ppapi/proxy/ppp_video_decoder_proxy.cc (right): http://codereview.chromium.org/7545014/diff/11008/ppapi/proxy/ppp_video_decoder_proxy.cc#newcode129 ppapi/proxy/ppp_video_decoder_proxy.cc:129: if (!ppp_video_decoder_target()) You don't need to check this, the ...
9 years, 4 months ago (2011-08-03 20:33:13 UTC) #11
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/7545014/diff/11008/ppapi/proxy/ppp_video_decoder_proxy.cc File ppapi/proxy/ppp_video_decoder_proxy.cc (right): http://codereview.chromium.org/7545014/diff/11008/ppapi/proxy/ppp_video_decoder_proxy.cc#newcode129 ppapi/proxy/ppp_video_decoder_proxy.cc:129: if (!ppp_video_decoder_target()) On 2011/08/03 20:33:14, brettw wrote: > I ...
9 years, 4 months ago (2011-08-03 20:37:36 UTC) #12
brettw
http://codereview.chromium.org/7545014/diff/11008/ppapi/proxy/ppp_video_decoder_proxy.cc File ppapi/proxy/ppp_video_decoder_proxy.cc (right): http://codereview.chromium.org/7545014/diff/11008/ppapi/proxy/ppp_video_decoder_proxy.cc#newcode129 ppapi/proxy/ppp_video_decoder_proxy.cc:129: if (!ppp_video_decoder_target()) Oh yeah, we do need to check ...
9 years, 4 months ago (2011-08-03 20:39:03 UTC) #13
vrk (LEFT CHROMIUM)
Thanks everyone for the reviews! http://codereview.chromium.org/7545014/diff/4035/ppapi/proxy/ppb_video_decoder_proxy.cc File ppapi/proxy/ppb_video_decoder_proxy.cc (right): http://codereview.chromium.org/7545014/diff/4035/ppapi/proxy/ppb_video_decoder_proxy.cc#newcode200 ppapi/proxy/ppb_video_decoder_proxy.cc:200: if (!dispatcher) On 2011/08/02 ...
9 years, 4 months ago (2011-08-03 22:05:22 UTC) #14
piman
LGTM
9 years, 4 months ago (2011-08-03 23:27:34 UTC) #15
brettw
http://codereview.chromium.org/7545014/diff/10017/ppapi/proxy/ppb_video_decoder_proxy.cc File ppapi/proxy/ppb_video_decoder_proxy.cc (right): http://codereview.chromium.org/7545014/diff/10017/ppapi/proxy/ppb_video_decoder_proxy.cc#newcode119 ppapi/proxy/ppb_video_decoder_proxy.cc:119: new PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers( Wrapped lines should be indented 4 spaces. ...
9 years, 4 months ago (2011-08-04 19:47:30 UTC) #16
vrk (LEFT CHROMIUM)
brettw: PTAL! http://codereview.chromium.org/7545014/diff/10017/ppapi/proxy/ppb_video_decoder_proxy.cc File ppapi/proxy/ppb_video_decoder_proxy.cc (right): http://codereview.chromium.org/7545014/diff/10017/ppapi/proxy/ppb_video_decoder_proxy.cc#newcode119 ppapi/proxy/ppb_video_decoder_proxy.cc:119: new PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers( On 2011/08/04 19:47:30, brettw wrote: ...
9 years, 4 months ago (2011-08-04 21:17:09 UTC) #17
brettw
LGTM, sorry for the delay.
9 years, 4 months ago (2011-08-05 23:05:14 UTC) #18
commit-bot: I haz the power
9 years, 4 months ago (2011-08-06 03:24:01 UTC) #19
Change committed as 95724

Powered by Google App Engine
This is Rietveld 408576698