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

Issue 13890012: Integrate VDA with WebRTC. (Closed)

Created:
7 years, 8 months ago by wuchengli
Modified:
7 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Integrate VDA with WebRTC. The dependent CLs: webrtc: https://webrtc-codereview.appspot.com/1413004 libjingle: http://cl/45042920-p10 Test result: VDA in SD: CPU 92.50%, decode FPS=30, decode latency=97ms VDA in HD: CPU 94.40%, decode FPS=29.8, decode latency=121ms SW in SD: CPU 94.90%, decode FPS=29.5, decode latency=5ms SW in HD: CPU 100.00%, decode FPS=24.7, decode latency=23ms BUG=170345 TEST=Try http://apprtc.appspot.com/?debug=loopback on Chromebook Daisy for SD. Try apprtc.appspot.com between Daisy and Pixel for HD. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211096

Patch Set 1 #

Total comments: 112

Patch Set 2 : Address some review comments #

Patch Set 3 : rebase #

Patch Set 4 : address some review comments #

Patch Set 5 : Address most review comments #

Patch Set 6 : Use weak ptr in rtc_video_decoder.cc #

Patch Set 7 : Add comments and address some review comments #

Total comments: 1

Patch Set 8 : small change. only changed a few places #

Patch Set 9 : add lock to protect state_ and decoding_error_occurred #

Patch Set 10 : address some review comments #

Total comments: 81

Patch Set 11 : Improve the test and address some comments #

Patch Set 12 : use VDA instead of GVD in RTCVideoDecoder #

Patch Set 13 : clean up VDA code and address all comments (except unittest) #

Patch Set 14 : Add VDA and gpu_factories mocks. Update unittest. #

Total comments: 11

Patch Set 15 : Create new VDA thread, copy gpu_factories, and add DestructionObserver #

Total comments: 100

Patch Set 16 : address review comments #

Total comments: 28

Patch Set 17 : rebase, make Reset/Release async, and move RVD creation to RVDF::ctor #

Total comments: 24

Patch Set 18 : address review comments and update tests #

Total comments: 14

Patch Set 19 : address review comments and fix a crash after hang up #

Total comments: 1

Patch Set 20 : fix a deadlock by calling RGVDF::CreateSharedMemory asynchronously #

Total comments: 30

Patch Set 21 : address review comments #

Total comments: 19

Patch Set 22 : rebase #

Total comments: 3

Patch Set 23 : address review comments, update tests, and use a new thred to call RGVDF::CreateSharedMemory #

Total comments: 11

Patch Set 24 : address review comments #

Total comments: 2

Patch Set 25 : remove native_handle related code and make this CL independent #

Patch Set 26 : rebase #

Patch Set 27 : fix try bots errors #

Total comments: 10

Patch Set 28 : address piman's review comments #

Total comments: 2

Patch Set 29 : rebase #

Patch Set 30 : add braces #

Patch Set 31 : change EstablishGpuChannelSync to GetGpuChannel #

Patch Set 32 : rebase #

Patch Set 33 : remove a DCHECK #

Patch Set 34 : update the license of rtc_video_decoder.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1492 lines, -29 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_dependency_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 chunks +15 lines, -6 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_decoder_factories.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 5 chunks +20 lines, -4 lines 0 comments Download
A content/renderer/media/rtc_video_decoder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 1 chunk +277 lines, -0 lines 0 comments Download
A content/renderer/media/rtc_video_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +736 lines, -0 lines 0 comments Download
A content/renderer/media/rtc_video_decoder_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +46 lines, -0 lines 0 comments Download
A content/renderer/media/rtc_video_decoder_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +53 lines, -0 lines 0 comments Download
A content/renderer/media/rtc_video_decoder_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +176 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2 chunks +24 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 chunk +2 lines, -15 lines 0 comments Download
A media/filters/mock_gpu_video_decoder_factories.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +55 lines, -0 lines 0 comments Download
A + media/filters/mock_gpu_video_decoder_factories.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +4 lines, -2 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +4 lines, -0 lines 0 comments Download
A media/video/mock_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +43 lines, -0 lines 0 comments Download
A media/video/mock_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 81 (0 generated)
wuchengli
Pawel and Ami. I've updated Dongwon's CL and uploaded it. apprtc loopback is still not ...
7 years, 8 months ago (2013-04-25 12:35:40 UTC) #1
wuchengli
https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc File content/renderer/media/rtc_video_decoder_bridge.cc (right): https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc#newcode317 content/renderer/media/rtc_video_decoder_bridge.cc:317: ready_video_frames_.push_back(frame); How can I call decode_complete_callback_ using webrtc DecodingThread ...
7 years, 8 months ago (2013-04-25 12:38:54 UTC) #2
Ami GONE FROM CHROMIUM
See my comment at content/renderer/media/rtc_video_decoder_bridge.cc:203 for what I believe your problem is and how to ...
7 years, 8 months ago (2013-04-26 00:42:04 UTC) #3
wuchengli
https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc File content/renderer/media/rtc_video_decoder_bridge.cc (right): https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc#newcode203 content/renderer/media/rtc_video_decoder_bridge.cc:203: scoped_refptr<media::DecoderBuffer> buffer; GpuVideoDecoder::Read is called in RTCVideoDecoderBridge::RequestFrame. I think ...
7 years, 8 months ago (2013-04-26 05:08:08 UTC) #4
Pawel Osciak
https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc File content/renderer/media/rtc_video_decoder_bridge.cc (right): https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc#newcode118 content/renderer/media/rtc_video_decoder_bridge.cc:118: if (codecSettings->codecType != webrtc::kVideoCodecVP8) { Can this happen if ...
7 years, 8 months ago (2013-04-26 07:08:01 UTC) #5
wuchengli
I've addressed some review comments. I'll address the rest after I come back from the ...
7 years, 8 months ago (2013-04-26 11:49:14 UTC) #6
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc File content/renderer/media/rtc_video_decoder_bridge.cc (right): https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc#newcode203 content/renderer/media/rtc_video_decoder_bridge.cc:203: scoped_refptr<media::DecoderBuffer> buffer; On 2013/04/26 05:08:08, wuchengli wrote: > GpuVideoDecoder::Read ...
7 years, 8 months ago (2013-04-26 15:13:33 UTC) #7
wuchengli
I'm not sure how to use GVDAH. Where in the source code can I take ...
7 years, 8 months ago (2013-04-26 15:38:55 UTC) #8
Ami GONE FROM CHROMIUM
On Fri, Apr 26, 2013 at 8:38 AM, <wuchengli@chromium.org> wrote: > I'm not sure how ...
7 years, 8 months ago (2013-04-26 16:07:06 UTC) #9
Ami GONE FROM CHROMIUM
On Fri, Apr 26, 2013 at 4:49 AM, <wuchengli@chromium.org> wrote: > I've addressed some review ...
7 years, 7 months ago (2013-04-29 18:43:28 UTC) #10
wuchengli
I've addressed most of the review comments. You can take another look. Here are the ...
7 years, 7 months ago (2013-05-08 15:58:56 UTC) #11
wuchengli
This is ready for review. I've addressed all review comments. https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc File content/renderer/media/rtc_video_decoder_bridge.cc (right): https://codereview.chromium.org/13890012/diff/1/content/renderer/media/rtc_video_decoder_bridge.cc#newcode203 ...
7 years, 7 months ago (2013-05-09 15:43:14 UTC) #12
wuchengli
https://codereview.chromium.org/13890012/diff/50001/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): https://codereview.chromium.org/13890012/diff/50001/content/renderer/media/rtc_video_decoder.cc#newcode213 content/renderer/media/rtc_video_decoder.cc:213: scoped_refptr<media::DecoderBuffer> buffer = media::DecoderBuffer::CopyFrom( Copy is necessary because the ...
7 years, 7 months ago (2013-05-10 15:57:15 UTC) #13
Ami GONE FROM CHROMIUM
Not reviewing code (per off-reviewlog convo, waiting for some more changes to filter in), only ...
7 years, 7 months ago (2013-05-13 04:03:33 UTC) #14
wuchengli
Argh. I didn't know volatile in C++ and Java are different. I need to use ...
7 years, 7 months ago (2013-05-13 16:20:33 UTC) #15
wuchengli
Hi Pawel and Ami. The CL is ready for review. Please take another look. I've ...
7 years, 7 months ago (2013-05-14 15:36:04 UTC) #16
Ami GONE FROM CHROMIUM
Exciting! https://codereview.chromium.org/13890012/diff/70001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/13890012/diff/70001/content/browser/renderer_host/render_process_host_impl.cc#newcode1 content/browser/renderer_host/render_process_host_impl.cc:1: // Copyright (c) 2012 The Chromium Authors. All ...
7 years, 7 months ago (2013-05-14 22:57:24 UTC) #17
wuchengli
Hi Ami. I have several questions in the comments. I did not update a new ...
7 years, 7 months ago (2013-05-15 15:30:46 UTC) #18
Pawel Osciak
Wu-cheng, did you forget to upload PS 11? https://chromiumcodereview.appspot.com/13890012/diff/70001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://chromiumcodereview.appspot.com/13890012/diff/70001/content/browser/renderer_host/render_process_host_impl.cc#newcode1 content/browser/renderer_host/render_process_host_impl.cc:1: // ...
7 years, 7 months ago (2013-05-15 17:26:32 UTC) #19
Ami GONE FROM CHROMIUM
> https://codereview.chromium.**org/13890012/diff/70001/** > content/browser/renderer_host/**render_process_host_impl.cc<https://codereview.chromium.org/13890012/diff/70001/content/browser/renderer_host/render_process_host_impl.cc> > File content/browser/renderer_host/**render_process_host_impl.cc (right): > > https://codereview.chromium.**org/13890012/diff/70001/** > content/browser/renderer_host/**render_process_host_impl.cc#**newcode1<https://codereview.chromium.org/13890012/diff/70001/content/browser/renderer_host/render_process_host_impl.cc#newcode1> > content/browser/renderer_host/**render_process_host_impl.cc:1: ...
7 years, 7 months ago (2013-05-15 19:42:04 UTC) #20
wuchengli
I spent most time rewriting the test today. I replied several comments that may need ...
7 years, 7 months ago (2013-05-16 16:05:45 UTC) #21
Ami GONE FROM CHROMIUM
> > https://chromiumcodereview.**appspot.com/13890012/diff/** > 70001/content/renderer/media/**rtc_video_decoder.cc#**newcode155<https://chromiumcodereview.appspot.com/13890012/diff/70001/content/renderer/media/rtc_video_decoder.cc#newcode155> > content/renderer/media/rtc_**video_decoder.cc:155: > frame_size_.SetSize(**codecSettings->width, codecSettings->height); > On 2013/05/15 17:26:32, posciak ...
7 years, 7 months ago (2013-05-17 02:30:37 UTC) #22
wuchengli
Hi Ami. I've updated a patchset that uses VDA in RTCVideoDecoder. The CL still needs ...
7 years, 7 months ago (2013-05-19 14:39:33 UTC) #23
wuchengli
https://codereview.chromium.org/13890012/diff/70001/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/13890012/diff/70001/content/renderer/media/media_stream_dependency_factory.cc#newcode470 content/renderer/media/media_stream_dependency_factory.cc:470: decoder_worker_thread_.message_loop_proxy(), gpu_factories_)); On 2013/05/15 15:30:46, wuchengli wrote: > On ...
7 years, 7 months ago (2013-05-20 14:32:15 UTC) #24
Ami GONE FROM CHROMIUM
> - The role of RTCVideoDecoder is similar to GpuVideoDecoder now. I copied > some ...
7 years, 7 months ago (2013-05-20 18:17:53 UTC) #25
wuchengli
> Note that your CL hasn't completely dropped these things; e.g. > Initialize()/SetVDA() still look ...
7 years, 7 months ago (2013-05-23 16:25:46 UTC) #26
wuchengli
Ami and Pawel. The CL is ready for review. After using VDA, the code is ...
7 years, 7 months ago (2013-05-23 16:50:46 UTC) #27
Ami GONE FROM CHROMIUM
On Thu, May 23, 2013 at 9:25 AM, <wuchengli@chromium.org> wrote: > Note that your CL ...
7 years, 7 months ago (2013-05-23 16:56:19 UTC) #28
Ami GONE FROM CHROMIUM
On Thu, May 23, 2013 at 9:50 AM, <wuchengli@chromium.org> wrote: > How do you usually ...
7 years, 7 months ago (2013-05-23 17:00:59 UTC) #29
wuchengli
On Fri, May 24, 2013 at 12:56 AM, Ami Fischman <fischman@chromium.org>wrote: > On Thu, May ...
7 years, 7 months ago (2013-05-23 17:17:52 UTC) #30
Ami GONE FROM CHROMIUM
On Thu, May 23, 2013 at 10:17 AM, Wu-Cheng Li (李務誠) <wuchengli@chromium.org>wrote: > I got ...
7 years, 7 months ago (2013-05-27 01:07:16 UTC) #31
wuchengli
GpuVideoDecoder makes all the calls to VDA on the message loop of gpu_factories (the compositor ...
7 years, 7 months ago (2013-05-27 05:38:44 UTC) #32
Ami GONE FROM CHROMIUM
On Sun, May 26, 2013 at 10:38 PM, <wuchengli@chromium.org> wrote: > I can try changing ...
7 years, 6 months ago (2013-05-28 05:46:50 UTC) #33
wuchengli
The test is updated. I added mock_gpu_video_decoder_factories.h and mock_video_decode_accelerator.h. - I'll try using a different ...
7 years, 6 months ago (2013-05-28 15:00:59 UTC) #34
Ami GONE FROM CHROMIUM
See below for replies to comments that seemed like questions or things that are still ...
7 years, 6 months ago (2013-05-29 21:11:45 UTC) #35
wuchengli
The CL is ready for review. Please take another look. RTCVideoDecoder and RendererGpuVideoDecoderFactories (RGVDF) cannot ...
7 years, 6 months ago (2013-06-10 12:33:42 UTC) #36
wuchengli
https://codereview.chromium.org/13890012/diff/130001/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): https://codereview.chromium.org/13890012/diff/130001/content/renderer/media/rtc_video_decoder.cc#newcode339 content/renderer/media/rtc_video_decoder.cc:339: aborted_waiter_.Signal(); This makes sure the functions won't block forever ...
7 years, 6 months ago (2013-06-10 15:24:22 UTC) #37
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/13890012/diff/130001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/13890012/diff/130001/content/browser/renderer_host/render_process_host_impl.cc#newcode1 content/browser/renderer_host/render_process_host_impl.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 6 months ago (2013-06-11 23:48:05 UTC) #38
wuchengli
Hi John. Please take a look at exynos_video_decode_accelerator.h and see if you have any concern. ...
7 years, 6 months ago (2013-06-12 09:17:47 UTC) #39
Pawel Osciak
mostly nits https://codereview.chromium.org/13890012/diff/130001/content/common/gpu/media/exynos_video_decode_accelerator.h File content/common/gpu/media/exynos_video_decode_accelerator.h (right): https://codereview.chromium.org/13890012/diff/130001/content/common/gpu/media/exynos_video_decode_accelerator.h#newcode93 content/common/gpu/media/exynos_video_decode_accelerator.h:93: kDpbOutputBufferExtraCount = 8, This adds almost 42MB ...
7 years, 6 months ago (2013-06-12 23:38:22 UTC) #40
sheu
https://codereview.chromium.org/13890012/diff/130001/content/common/gpu/media/exynos_video_decode_accelerator.h File content/common/gpu/media/exynos_video_decode_accelerator.h (right): https://codereview.chromium.org/13890012/diff/130001/content/common/gpu/media/exynos_video_decode_accelerator.h#newcode93 content/common/gpu/media/exynos_video_decode_accelerator.h:93: kDpbOutputBufferExtraCount = 8, On 2013/06/12 23:38:22, posciak wrote: > ...
7 years, 6 months ago (2013-06-13 01:24:25 UTC) #41
wuchengli
I address all review comments except the one in DismissPictureBuffer. I still need to check ...
7 years, 6 months ago (2013-06-13 10:28:06 UTC) #42
Ami GONE FROM CHROMIUM
So close! https://chromiumcodereview.appspot.com/13890012/diff/130001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://chromiumcodereview.appspot.com/13890012/diff/130001/content/browser/renderer_host/render_process_host_impl.cc#newcode1 content/browser/renderer_host/render_process_host_impl.cc:1: // Copyright (c) 2012 The Chromium Authors. ...
7 years, 6 months ago (2013-06-13 20:10:02 UTC) #43
sheu
The magic free-up-two-buffers deal is here: https://chromiumcodereview.appspot.com/16866016/
7 years, 6 months ago (2013-06-13 20:44:56 UTC) #44
Ami GONE FROM CHROMIUM
I had to dig a bit to re-figure-out why RGVDF was so specific about its ...
7 years, 6 months ago (2013-06-13 21:22:58 UTC) #45
Ami GONE FROM CHROMIUM
On Thu, Jun 13, 2013 at 2:22 PM, Ami Fischman <fischman@chromium.org> wrote: > ISTM the ...
7 years, 6 months ago (2013-06-13 22:02:05 UTC) #46
sheu
https://chromiumcodereview.appspot.com/13890012/diff/147001/content/common/gpu/media/exynos_video_decode_accelerator.h File content/common/gpu/media/exynos_video_decode_accelerator.h (right): https://chromiumcodereview.appspot.com/13890012/diff/147001/content/common/gpu/media/exynos_video_decode_accelerator.h#newcode88 content/common/gpu/media/exynos_video_decode_accelerator.h:88: kMfcInputBufferCount = 12, Each one of these are 512 ...
7 years, 6 months ago (2013-06-14 04:15:36 UTC) #47
wuchengli
All done. Please take another look. Sorry I forgot to put rebase in a separate ...
7 years, 6 months ago (2013-06-18 16:11:22 UTC) #48
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/13890012/diff/189001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/13890012/diff/189001/content/browser/renderer_host/render_process_host_impl.cc#newcode1 content/browser/renderer_host/render_process_host_impl.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 6 months ago (2013-06-18 21:54:29 UTC) #49
wuchengli
All done. Please take another look. https://codereview.chromium.org/13890012/diff/189001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/13890012/diff/189001/content/browser/renderer_host/render_process_host_impl.cc#newcode1 content/browser/renderer_host/render_process_host_impl.cc:1: // Copyright (c) ...
7 years, 6 months ago (2013-06-19 13:01:12 UTC) #50
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/13890012/diff/215001/content/renderer/media/media_stream_dependency_factory.cc File content/renderer/media/media_stream_dependency_factory.cc (right): https://codereview.chromium.org/13890012/diff/215001/content/renderer/media/media_stream_dependency_factory.cc#newcode499 content/renderer/media/media_stream_dependency_factory.cc:499: if (gpu_factories.get() != NULL) Is the .get() really required? ...
7 years, 6 months ago (2013-06-19 18:28:58 UTC) #51
wuchengli
All done. Please take another look. If it looks good, I want to separate native_handle_impl.cc/h ...
7 years, 6 months ago (2013-06-20 07:27:04 UTC) #52
wuchengli
The deadlock is fixed. Now RTCVideoDecoder calls RGVDF::CreateSharedMemory asynchronously. Please take another look.
7 years, 6 months ago (2013-06-24 14:48:13 UTC) #53
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/13890012/diff/232001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/13890012/diff/232001/content/browser/renderer_host/render_process_host_impl.cc#newcode1 content/browser/renderer_host/render_process_host_impl.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 6 months ago (2013-06-26 00:11:58 UTC) #54
wuchengli
All done. Please take another look. https://codereview.chromium.org/13890012/diff/232001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/13890012/diff/232001/content/browser/renderer_host/render_process_host_impl.cc#newcode1 content/browser/renderer_host/render_process_host_impl.cc:1: // Copyright (c) ...
7 years, 5 months ago (2013-06-28 15:08:44 UTC) #55
wuchengli
https://codereview.chromium.org/13890012/diff/267001/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): https://codereview.chromium.org/13890012/diff/267001/content/renderer/media/rtc_video_decoder.cc#newcode39 content/renderer/media/rtc_video_decoder.cc:39: static const size_t kMaxNumOfPendingBuffers = 300; kMaxNumSharedMemorySegments and kMaxNumOfPendingBuffers ...
7 years, 5 months ago (2013-06-28 15:45:40 UTC) #56
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/13890012/diff/232001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/13890012/diff/232001/content/browser/renderer_host/render_process_host_impl.cc#newcode1 content/browser/renderer_host/render_process_host_impl.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 5 months ago (2013-06-28 17:03:59 UTC) #57
wuchengli
https://codereview.chromium.org/13890012/diff/262001/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): https://codereview.chromium.org/13890012/diff/262001/content/renderer/media/rtc_video_decoder.cc#newcode508 content/renderer/media/rtc_video_decoder.cc:508: bool RTCVideoDecoder::IsBufferAfterReset(int32 id_buffer, int32 id_reset) { On 2013/06/28 17:04:00, ...
7 years, 5 months ago (2013-06-29 05:01:29 UTC) #58
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/13890012/diff/262001/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): https://codereview.chromium.org/13890012/diff/262001/content/renderer/media/rtc_video_decoder.cc#newcode508 content/renderer/media/rtc_video_decoder.cc:508: bool RTCVideoDecoder::IsBufferAfterReset(int32 id_buffer, int32 id_reset) { On 2013/06/29 05:01:30, ...
7 years, 5 months ago (2013-06-29 05:23:02 UTC) #59
wuchengli
All done. Please take another look. A bad news is the decode latency becomes worse ...
7 years, 5 months ago (2013-07-02 10:34:25 UTC) #60
Ami GONE FROM CHROMIUM
:( to perf loss. LGTM % minor suggestions for cleanup https://codereview.chromium.org/13890012/diff/283002/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): https://codereview.chromium.org/13890012/diff/283002/content/renderer/media/rtc_video_decoder.cc#newcode22 ...
7 years, 5 months ago (2013-07-02 23:36:56 UTC) #61
wuchengli
All done. Please take another look. https://codereview.chromium.org/13890012/diff/283002/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): https://codereview.chromium.org/13890012/diff/283002/content/renderer/media/rtc_video_decoder.cc#newcode228 content/renderer/media/rtc_video_decoder.cc:228: if (no_pending_buffers) On ...
7 years, 5 months ago (2013-07-03 09:09:37 UTC) #62
Ami GONE FROM CHROMIUM
LGTM https://codereview.chromium.org/13890012/diff/296001/content/renderer/media/rtc_video_decoder.cc File content/renderer/media/rtc_video_decoder.cc (right): https://codereview.chromium.org/13890012/diff/296001/content/renderer/media/rtc_video_decoder.cc#newcode534 content/renderer/media/rtc_video_decoder.cc:534: return diff < ID_HALF; Do you think this ...
7 years, 5 months ago (2013-07-03 16:45:56 UTC) #63
wuchengli
As I mentioned earlier, I'm going to separate content/renderer/media/native_handle_impl.h/cc to another CL so I can ...
7 years, 5 months ago (2013-07-04 15:46:33 UTC) #64
wuchengli
Hi Ami. I removed native_handle related code and this CL is stand-alone. So I could ...
7 years, 5 months ago (2013-07-08 14:55:20 UTC) #65
Ami GONE FROM CHROMIUM
PS#27 LGTM
7 years, 5 months ago (2013-07-08 20:03:57 UTC) #66
piman
mostly nits. https://codereview.chromium.org/13890012/diff/345001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/13890012/diff/345001/content/renderer/render_thread_impl.cc#newcode875 content/renderer/render_thread_impl.cc:875: RenderThreadImpl::GetGpuFactories() { nit: can you add a ...
7 years, 5 months ago (2013-07-08 20:53:38 UTC) #67
wuchengli
All done. Please take another look. https://codereview.chromium.org/13890012/diff/345001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/13890012/diff/345001/content/renderer/render_thread_impl.cc#newcode875 content/renderer/render_thread_impl.cc:875: RenderThreadImpl::GetGpuFactories() { On ...
7 years, 5 months ago (2013-07-09 07:39:17 UTC) #68
piman
https://codereview.chromium.org/13890012/diff/345001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/13890012/diff/345001/content/renderer/render_thread_impl.cc#newcode888 content/renderer/render_thread_impl.cc:888: CAUSE_FOR_GPU_LAUNCH_VIDEODECODEACCELERATOR_INITIALIZE); On 2013/07/09 07:39:19, wuchengli wrote: > On 2013/07/08 ...
7 years, 5 months ago (2013-07-09 19:35:21 UTC) #69
wuchengli
https://codereview.chromium.org/13890012/diff/345001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/13890012/diff/345001/content/renderer/render_thread_impl.cc#newcode888 content/renderer/render_thread_impl.cc:888: CAUSE_FOR_GPU_LAUNCH_VIDEODECODEACCELERATOR_INITIALIZE); On 2013/07/09 19:35:22, piman wrote: > On 2013/07/09 ...
7 years, 5 months ago (2013-07-09 22:29:25 UTC) #70
piman
On Tue, Jul 9, 2013 at 3:29 PM, <wuchengli@chromium.org> wrote: > > https://codereview.chromium.**org/13890012/diff/345001/** > content/renderer/render_**thread_impl.cc<https://codereview.chromium.org/13890012/diff/345001/content/renderer/render_thread_impl.cc> ...
7 years, 5 months ago (2013-07-09 22:37:03 UTC) #71
wuchengli
Done. Please take another look.
7 years, 5 months ago (2013-07-10 03:43:38 UTC) #72
piman
lgtm
7 years, 5 months ago (2013-07-10 17:35:34 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wuchengli@chromium.org/13890012/387001
7 years, 5 months ago (2013-07-11 03:16:38 UTC) #74
commit-bot: I haz the power
Failed to apply patch for webkit/renderer/media/webmediaplayer_ms.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
7 years, 5 months ago (2013-07-11 03:16:49 UTC) #75
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wuchengli@chromium.org/13890012/387001
7 years, 5 months ago (2013-07-11 03:21:18 UTC) #76
commit-bot: I haz the power
Failed to apply patch for webkit/renderer/media/webmediaplayer_ms.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; can't find ...
7 years, 5 months ago (2013-07-11 03:21:23 UTC) #77
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wuchengli@chromium.org/13890012/395002
7 years, 5 months ago (2013-07-11 04:15:48 UTC) #78
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=14735
7 years, 5 months ago (2013-07-11 04:28:26 UTC) #79
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wuchengli@chromium.org/13890012/413001
7 years, 5 months ago (2013-07-11 09:36:18 UTC) #80
commit-bot: I haz the power
7 years, 5 months ago (2013-07-11 13:13:07 UTC) #81
Message was sent while issue was closed.
Change committed as 211096

Powered by Google App Engine
This is Rietveld 408576698