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

Issue 1769673002: Transfer media::VideoFrame using mojo shared memory (Closed)

Created:
4 years, 9 months ago by jrummell
Modified:
4 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), feature-media-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Transfer media::VideoFrame using mojo shared memory Now that MojoSharedBufferVideoFrame exists and uses mojo shared memory, pass the shared memory handle when passing using mojo. TypeConverter for this interface updated to handle the shared memory. BUG=510088 TEST=update media_mojo_unittests pass Committed: https://crrev.com/5e18b5d78b3bf914052759d5ab3bd39778f0bceb Cr-Commit-Position: refs/heads/master@{#380200}

Patch Set 1 #

Total comments: 17

Patch Set 2 : changes #

Total comments: 4

Patch Set 3 : changes #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -106 lines) Patch
M media/mojo/common/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M media/mojo/common/media_type_converters.cc View 1 2 4 chunks +37 lines, -84 lines 0 comments Download
M media/mojo/common/media_type_converters_unittest.cc View 1 2 4 chunks +76 lines, -16 lines 0 comments Download
M media/mojo/common/mojo_shared_buffer_video_frame.h View 1 2 3 3 chunks +24 lines, -0 lines 0 comments Download
M media/mojo/common/mojo_shared_buffer_video_frame.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M media/mojo/interfaces/media_types.mojom View 2 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
jrummell
PTAL.
4 years, 9 months ago (2016-03-04 22:25:19 UTC) #2
xhwang
Mostly looking good. I do have one question about the failure handling in TypeConverter. rockot: ...
4 years, 9 months ago (2016-03-07 19:29:21 UTC) #4
Ken Rockot(use gerrit already)
https://chromiumcodereview.appspot.com/1769673002/diff/1/media/mojo/common/media_type_converters.cc File media/mojo/common/media_type_converters.cc (right): https://chromiumcodereview.appspot.com/1769673002/diff/1/media/mojo/common/media_type_converters.cc#newcode618 media/mojo/common/media_type_converters.cc:618: return buffer; On 2016/03/07 at 19:29:21, xhwang wrote: > ...
4 years, 9 months ago (2016-03-07 19:36:29 UTC) #5
jrummell
Updated. https://codereview.chromium.org/1769673002/diff/1/media/mojo/common/media_type_converters.cc File media/mojo/common/media_type_converters.cc (right): https://codereview.chromium.org/1769673002/diff/1/media/mojo/common/media_type_converters.cc#newcode600 media/mojo/common/media_type_converters.cc:600: media::interfaces::VideoFramePtr buffer(media::interfaces::VideoFrame::New()); On 2016/03/07 19:29:21, xhwang wrote: > ...
4 years, 9 months ago (2016-03-07 21:07:33 UTC) #6
xhwang
Looking good. Just two extra thoughts. https://chromiumcodereview.appspot.com/1769673002/diff/20001/media/mojo/common/media_type_converters.cc File media/mojo/common/media_type_converters.cc (right): https://chromiumcodereview.appspot.com/1769673002/diff/20001/media/mojo/common/media_type_converters.cc#newcode610 media/mojo/common/media_type_converters.cc:610: input->storage_type()); EOS doesn't ...
4 years, 9 months ago (2016-03-07 21:33:15 UTC) #7
jrummell
Updated. https://codereview.chromium.org/1769673002/diff/20001/media/mojo/common/media_type_converters.cc File media/mojo/common/media_type_converters.cc (right): https://codereview.chromium.org/1769673002/diff/20001/media/mojo/common/media_type_converters.cc#newcode610 media/mojo/common/media_type_converters.cc:610: input->storage_type()); On 2016/03/07 21:33:15, xhwang wrote: > EOS ...
4 years, 9 months ago (2016-03-09 00:41:50 UTC) #8
xhwang
lgtm
4 years, 9 months ago (2016-03-09 17:18:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1769673002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1769673002/40001
4 years, 9 months ago (2016-03-09 19:13:36 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/142530) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-03-09 19:16:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1769673002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1769673002/60001
4 years, 9 months ago (2016-03-09 19:46:02 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-09 20:24:47 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/5e18b5d78b3bf914052759d5ab3bd39778f0bceb Cr-Commit-Position: refs/heads/master@{#380200}
4 years, 9 months ago (2016-03-09 20:25:47 UTC) #19
tsergeant
4 years, 9 months ago (2016-03-10 00:48:16 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1781923002/ by tsergeant@chromium.org.

The reason for reverting is: media_type_converters.cc is failing to compile on
Win X64 GN.

See:
https://build.chromium.org/p/chromium.win/builders/Win%20x64%20GN/builds/11580
https://build.chromium.org/p/chromium.win/builders/Win%20x64%20GN%20%28dbg%29....

Powered by Google App Engine
This is Rietveld 408576698