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

Issue 1823443002: Use data pipe for encoded buffers in MojoAudioDecoder (Closed)

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

Description

Use data pipe for encoded buffers in MojoAudioDecoder Create data pipe, connect the client and the service and serialize/deserialize DecoderBuffers for this pipe. The propagation of decoded AudioBuffers is not implemented. BUG=542910 Committed: https://crrev.com/12a1c911094fea7f8b9452d096eb346faaf79714 Cr-Commit-Position: refs/heads/master@{#382438}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Passed AudioBuffers over MessagePipe #

Patch Set 3 : Rebase only #

Total comments: 6

Patch Set 4 : Addressed comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -7 lines) Patch
M media/mojo/interfaces/audio_decoder.mojom View 1 chunk +3 lines, -0 lines 1 comment Download
M media/mojo/services/mojo_audio_decoder.h View 1 2 3 2 chunks +16 lines, -1 line 0 comments Download
M media/mojo/services/mojo_audio_decoder.cc View 1 2 3 6 chunks +41 lines, -4 lines 0 comments Download
M media/mojo/services/mojo_audio_decoder_service.h View 3 chunks +6 lines, -0 lines 0 comments Download
M media/mojo/services/mojo_audio_decoder_service.cc View 1 2 3 3 chunks +29 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (5 generated)
Tima Vaisburd
With this CL I observed the stream of packets in the log. PTAL.
4 years, 9 months ago (2016-03-19 04:27:16 UTC) #2
xhwang
Mostly looking good. Thanks! Just some comments. With the comments you should have unencrypted playback ...
4 years, 9 months ago (2016-03-19 04:57:25 UTC) #3
Tima Vaisburd
https://chromiumcodereview.appspot.com/1823443002/diff/1/media/mojo/interfaces/audio_decoder.mojom File media/mojo/interfaces/audio_decoder.mojom (right): https://chromiumcodereview.appspot.com/1823443002/diff/1/media/mojo/interfaces/audio_decoder.mojom#newcode25 media/mojo/interfaces/audio_decoder.mojom:25: SetDataSource(handle<data_pipe_consumer> receive_pipe); On 2016/03/19 04:57:25, xhwang wrote: > See ...
4 years, 9 months ago (2016-03-19 22:04:47 UTC) #4
xhwang
https://chromiumcodereview.appspot.com/1823443002/diff/1/media/mojo/interfaces/audio_decoder.mojom File media/mojo/interfaces/audio_decoder.mojom (right): https://chromiumcodereview.appspot.com/1823443002/diff/1/media/mojo/interfaces/audio_decoder.mojom#newcode25 media/mojo/interfaces/audio_decoder.mojom:25: SetDataSource(handle<data_pipe_consumer> receive_pipe); On 2016/03/19 22:04:46, Tima Vaisburd wrote: > ...
4 years, 9 months ago (2016-03-20 16:15:57 UTC) #5
Tima Vaisburd
https://codereview.chromium.org/1823443002/diff/1/media/mojo/services/mojo_audio_decoder.cc File media/mojo/services/mojo_audio_decoder.cc (right): https://codereview.chromium.org/1823443002/diff/1/media/mojo/services/mojo_audio_decoder.cc#newcode127 media/mojo/services/mojo_audio_decoder.cc:127: NOTIMPLEMENTED(); On 2016/03/20 16:15:57, xhwang wrote: > On 2016/03/19 ...
4 years, 9 months ago (2016-03-21 19:08:27 UTC) #6
xhwang
LGTM % nits https://codereview.chromium.org/1823443002/diff/40001/media/mojo/services/mojo_audio_decoder.cc File media/mojo/services/mojo_audio_decoder.cc (right): https://codereview.chromium.org/1823443002/diff/40001/media/mojo/services/mojo_audio_decoder.cc#newcode201 media/mojo/services/mojo_audio_decoder.cc:201: // TODO(timav): consider capasity calculation based ...
4 years, 9 months ago (2016-03-21 21:05:43 UTC) #7
Tima Vaisburd
https://codereview.chromium.org/1823443002/diff/40001/media/mojo/services/mojo_audio_decoder.cc File media/mojo/services/mojo_audio_decoder.cc (right): https://codereview.chromium.org/1823443002/diff/40001/media/mojo/services/mojo_audio_decoder.cc#newcode201 media/mojo/services/mojo_audio_decoder.cc:201: // TODO(timav): consider capasity calculation based on AudioDecoderConfig. On ...
4 years, 9 months ago (2016-03-21 22:50:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1823443002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1823443002/80001
4 years, 9 months ago (2016-03-21 22:50:49 UTC) #12
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/1823443002/diff/80001/media/mojo/interfaces/audio_decoder.mojom File media/mojo/interfaces/audio_decoder.mojom (right): https://codereview.chromium.org/1823443002/diff/80001/media/mojo/interfaces/audio_decoder.mojom#newcode24 media/mojo/interfaces/audio_decoder.mojom:24: // Established data connection. Should be called before ...
4 years, 9 months ago (2016-03-21 23:12:38 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 9 months ago (2016-03-21 23:46:05 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 23:47:14 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/12a1c911094fea7f8b9452d096eb346faaf79714
Cr-Commit-Position: refs/heads/master@{#382438}

Powered by Google App Engine
This is Rietveld 408576698