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

Issue 258663003: Use texture-backed VideoFrame pipeline for Aura desktop capturing. (Closed)

Created:
6 years, 8 months ago by hshi1
Modified:
6 years, 7 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Visibility:
Public.

Description

Use texture-backed VideoFrame pipeline for Aura desktop capturing. BUG=269312 TEST=local build, run on CrOS snow Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267717

Patch Set 1 #

Patch Set 2 : Add early-out for unsupported formats in ContentVideoCaptureDeviceCore::AllocateAndStart. #

Patch Set 3 : Use LOG(FATAL) because the format is not expected. #

Patch Set 4 : Fix a DCHECK failure in base::Bind. #

Total comments: 3

Patch Set 5 : Rebase at trunk and revert the incorrect change in media_stream_remote_video_source.cc #

Patch Set 6 : Rebased at trunk (r267290 changed ReleaseMailboxCB). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -76 lines) Patch
M content/browser/media/capture/content_video_capture_device_core.h View 5 chunks +14 lines, -15 lines 0 comments Download
M content/browser/media/capture/content_video_capture_device_core.cc View 1 2 8 chunks +55 lines, -41 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device_aura.cc View 1 2 3 4 5 7 chunks +44 lines, -5 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.cc View 1 2 3 4 5 5 chunks +10 lines, -15 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
hshi1
note: original CL from sheu is here: https://codereview.chromium.org/213253005/ this hasn't addressed any comments yet; I'm ...
6 years, 8 months ago (2014-04-24 18:32:41 UTC) #1
hshi1
+fischman PTAL (+sheu as CC) The Patch Set #1 is copied from sheu's original CL ...
6 years, 8 months ago (2014-04-25 21:15:56 UTC) #2
hshi1
ping...?
6 years, 7 months ago (2014-04-30 00:23:45 UTC) #3
Ami GONE FROM CHROMIUM
Yeah, still in my TODO stack, which is sadly on fire. Soon, I hope. On ...
6 years, 7 months ago (2014-04-30 00:30:24 UTC) #4
Ami GONE FROM CHROMIUM
Sorry for the delay; I somehow thought this was a huge CL :( but it's ...
6 years, 7 months ago (2014-04-30 03:03:43 UTC) #5
Ami GONE FROM CHROMIUM
LGTM assuming that GetNativeHandle business was just craxy before.
6 years, 7 months ago (2014-04-30 03:04:10 UTC) #6
hshi1
https://codereview.chromium.org/258663003/diff/60001/content/renderer/media/webrtc/media_stream_remote_video_source.cc File content/renderer/media/webrtc/media_stream_remote_video_source.cc (right): https://codereview.chromium.org/258663003/diff/60001/content/renderer/media/webrtc/media_stream_remote_video_source.cc#newcode67 content/renderer/media/webrtc/media_stream_remote_video_source.cc:67: video_frame = static_cast<media::VideoFrame*>(frame->GetNativeHandle()); On 2014/04/30 03:03:43, Ami Fischman wrote: ...
6 years, 7 months ago (2014-04-30 18:05:19 UTC) #7
Ami GONE FROM CHROMIUM
SGTM On Wed, Apr 30, 2014 at 11:05 AM, <hshi@chromium.org> wrote: > > https://codereview.chromium.org/258663003/diff/60001/ > ...
6 years, 7 months ago (2014-04-30 18:06:26 UTC) #8
sheu
On 2014/04/30 18:05:19, hshi1 wrote: > I actually don't think this change is correct, we ...
6 years, 7 months ago (2014-04-30 18:50:49 UTC) #9
hshi1
The CQ bit was checked by hshi@chromium.org
6 years, 7 months ago (2014-04-30 18:52:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/258663003/80001
6 years, 7 months ago (2014-04-30 18:53:31 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 22:01:14 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium
6 years, 7 months ago (2014-04-30 22:01:14 UTC) #13
hshi1
The CQ bit was checked by hshi@chromium.org
6 years, 7 months ago (2014-04-30 22:21:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/258663003/80001
6 years, 7 months ago (2014-04-30 22:22:20 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-01 01:47:55 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium
6 years, 7 months ago (2014-05-01 01:47:55 UTC) #17
hshi1
The CQ bit was checked by hshi@chromium.org
6 years, 7 months ago (2014-05-01 21:15:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/258663003/80001
6 years, 7 months ago (2014-05-01 21:15:43 UTC) #19
hshi1
The CQ bit was unchecked by hshi@chromium.org
6 years, 7 months ago (2014-05-01 21:22:27 UTC) #20
hshi1
On 2014/05/01 21:15:43, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 7 months ago (2014-05-01 21:23:36 UTC) #21
hshi1
The CQ bit was checked by hshi@chromium.org
6 years, 7 months ago (2014-05-01 22:18:47 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/258663003/100001
6 years, 7 months ago (2014-05-01 22:19:34 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-01 23:16:11 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium
6 years, 7 months ago (2014-05-01 23:16:12 UTC) #25
hshi1
The CQ bit was checked by hshi@chromium.org
6 years, 7 months ago (2014-05-01 23:18:57 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/258663003/100001
6 years, 7 months ago (2014-05-01 23:19:42 UTC) #27
commit-bot: I haz the power
Change committed as 267717
6 years, 7 months ago (2014-05-02 01:24:20 UTC) #28
Lei Zhang
6 years, 7 months ago (2014-05-02 03:49:20 UTC) #29
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/267813002/ by thestig@chromium.org.

The reason for reverting is: Likely cause of all Mac browser_tests failures

[4296:71427:0501/193356:FATAL:video_util.cc(145)] Check failed:
!(view_area.height() & 1).
0   libbase.dylib                       0x698ac3ef
base::debug::StackTrace::StackTrace() + 63
1   libbase.dylib                       0x698ac44b
base::debug::StackTrace::StackTrace() + 43
2   libbase.dylib                       0x69951672
logging::LogMessage::~LogMessage() + 82
3   libbase.dylib                       0x699500eb
logging::LogMessage::~LogMessage() + 43
4   libmedia.dylib                      0x67756110
media::LetterboxYUV(media::VideoFrame*, gfx::Rect const&) + 928
5   libmedia.dylib                      0x6775773c
media::CopyRGBToVideoFrame(unsigned char const*, int, gfx::Rect const&,
media::VideoFrame*) + 492
6   libcontent.dylib                    0x75f39814 content::(anonymous
namespace)::RenderVideoFrame(SkBitmap const&,
scoped_refptr\u003Cmedia::VideoFrame> const&, base::Callback\u003Cvoid ()(bool)>
const&) + 2420.

Powered by Google App Engine
This is Rietveld 408576698