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

Issue 1230793009: Initial support for the desktop media pipeline on Android. (Closed)

Created:
5 years, 5 months ago by watk
Modified:
5 years, 5 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, Paweł Hajdan Jr., tlegrand1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initial support for the desktop media pipeline on Android. Add experimental support for the desktop src= media pipeline on Android behind a compile-time variable. To compile with it enabled, set the gyp variable media_use_ffmpeg=1. Currently only H/W accelerated VP8 is supported because that is all that the existing AndroidVideoDecodeAccelerator supports. BUG=507834 Committed: https://crrev.com/45c3063debd193f953d5c4aa55902d185469f4bc Cr-Commit-Position: refs/heads/master@{#339498}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Removed flag, only set default config on Android #

Patch Set 3 : I forgot what year it is #

Total comments: 6

Patch Set 4 : rebase only #

Patch Set 5 : addressed comments #

Total comments: 4

Patch Set 6 : updated comment #

Patch Set 7 : Rebase only #

Patch Set 8 : build_ffmpegsumo is gone! yay #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -44 lines) Patch
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M media/blink/media_blink.gyp View 2 chunks +4 lines, -1 line 0 comments Download
M media/ffmpeg/ffmpeg_common.cc View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M media/filters/audio_decoder_unittest.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_glue_unittest.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 6 chunks +44 lines, -21 lines 0 comments Download
M media/media_cdm.gypi View 1 2 3 4 3 chunks +9 lines, -13 lines 0 comments Download
A media/media_variables.gypi View 1 2 3 4 5 6 7 1 chunk +21 lines, -0 lines 0 comments Download
M media/renderers/default_renderer_factory.cc View 1 2 3 4 3 chunks +5 lines, -3 lines 0 comments Download
M third_party/opus/opus.gyp View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 41 (14 generated)
watk
This is basically a minimal working patch. Full screen isn't working yet. Note: this won't ...
5 years, 5 months ago (2015-07-10 01:02:04 UTC) #3
watk
I forgot to mention, I haven't done the GN changes yet. Was going to wait ...
5 years, 5 months ago (2015-07-10 01:03:37 UTC) #4
liberato (no reviews please)
so far so good. only two meaningful comments. https://codereview.chromium.org/1230793009/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1230793009/diff/1/content/renderer/render_frame_impl.cc#newcode1978 content/renderer/render_frame_impl.cc:1978: #if ...
5 years, 5 months ago (2015-07-10 17:15:09 UTC) #5
xhwang
Drive-by comments: Great work! I didn't review the whole CL. Just some comments as I ...
5 years, 5 months ago (2015-07-10 17:27:51 UTC) #6
liberato (no reviews please)
https://codereview.chromium.org/1230793009/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1230793009/diff/1/content/renderer/render_frame_impl.cc#newcode1978 content/renderer/render_frame_impl.cc:1978: #if defined(OS_ANDROID) && defined(ENABLE_MEDIA_PIPELINE_ON_ANDROID) On 2015/07/10 17:27:50, xhwang wrote: ...
5 years, 5 months ago (2015-07-10 17:32:07 UTC) #7
liberato (no reviews please)
On 2015/07/10 17:32:07, liberato wrote: > https://codereview.chromium.org/1230793009/diff/1/content/renderer/render_frame_impl.cc > File content/renderer/render_frame_impl.cc (right): > > https://codereview.chromium.org/1230793009/diff/1/content/renderer/render_frame_impl.cc#newcode1978 > ...
5 years, 5 months ago (2015-07-10 17:38:36 UTC) #8
watk
On 2015/07/10 17:38:36, liberato wrote: > On 2015/07/10 17:32:07, liberato wrote: > > > https://codereview.chromium.org/1230793009/diff/1/content/renderer/render_frame_impl.cc ...
5 years, 5 months ago (2015-07-10 18:51:04 UTC) #9
watk
https://codereview.chromium.org/1230793009/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1230793009/diff/1/content/renderer/render_frame_impl.cc#newcode1978 content/renderer/render_frame_impl.cc:1978: #if defined(OS_ANDROID) && defined(ENABLE_MEDIA_PIPELINE_ON_ANDROID) On 2015/07/10 17:32:07, liberato wrote: ...
5 years, 5 months ago (2015-07-10 18:51:26 UTC) #10
liberato (no reviews please)
lgtm
5 years, 5 months ago (2015-07-10 18:55:19 UTC) #11
watk
xhwang@: would you mind being the owner reviewer?
5 years, 5 months ago (2015-07-10 22:53:31 UTC) #13
watk
On 2015/07/10 17:27:51, xhwang wrote: > ... > Also, you need to update the CL ...
5 years, 5 months ago (2015-07-10 22:56:44 UTC) #14
xhwang
On 2015/07/10 22:56:44, watk wrote: > On 2015/07/10 17:27:51, xhwang wrote: > > ... > ...
5 years, 5 months ago (2015-07-10 23:11:05 UTC) #15
xhwang
https://codereview.chromium.org/1230793009/diff/40001/media/media.gyp File media/media.gyp (right): https://codereview.chromium.org/1230793009/diff/40001/media/media.gyp#newcode733 media/media.gyp:733: 'renderers/default_renderer_factory.h', You need to rebase on this. Now we ...
5 years, 5 months ago (2015-07-10 23:13:18 UTC) #16
watk
Thanks xhwang! Now you only need to set build_ffmpegsumo=1 to compile for android. https://codereview.chromium.org/1230793009/diff/40001/media/media.gyp File ...
5 years, 5 months ago (2015-07-14 23:33:57 UTC) #22
xhwang
Looking pretty good now! Just a few comments for discussion. https://codereview.chromium.org/1230793009/diff/170001/media/media.gyp File media/media.gyp (right): https://codereview.chromium.org/1230793009/diff/170001/media/media.gyp#newcode720 ...
5 years, 5 months ago (2015-07-15 00:14:21 UTC) #23
watk
> I found "media_use_ffmpeg" more intuitive than "build_ffmpegsumo". Can we use > media_use_ffmpeg=1 to enable ...
5 years, 5 months ago (2015-07-16 18:51:33 UTC) #24
xhwang
+dalecurtis Actually I don't fully understand the "build_ffmpegsumo" flag. Can we replace "build_ffmpegsumo" in common.gypi ...
5 years, 5 months ago (2015-07-16 19:10:25 UTC) #26
DaleCurtis
+chcunningham, my recollection is we need both flags because some external vendors want media_use_ffmpeg=true, but ...
5 years, 5 months ago (2015-07-16 19:26:51 UTC) #28
watk
nick@, could you please take a look at render_frame_impl.cc? henrika@, could you please take a ...
5 years, 5 months ago (2015-07-16 20:55:14 UTC) #30
ncarter (slow)
render_frame_host.cc lgtm
5 years, 5 months ago (2015-07-16 21:08:42 UTC) #31
ncarter (slow)
On 2015/07/16 21:08:42, ncarter wrote: > render_frame_host.cc lgtm I mean _impl.cc. The file you edited. ...
5 years, 5 months ago (2015-07-16 21:09:30 UTC) #32
chcunningham
On 2015/07/16 19:26:51, DaleCurtis wrote: > +chcunningham, my recollection is we need both flags because ...
5 years, 5 months ago (2015-07-16 22:16:17 UTC) #33
henrika (OOO until Aug 14)
LGTM for opus.gyp Adding tlegrand to CC:list so she can take a closer look as ...
5 years, 5 months ago (2015-07-17 07:46:57 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230793009/240001
5 years, 5 months ago (2015-07-20 18:44:01 UTC) #38
DaleCurtis
lgtm
5 years, 5 months ago (2015-07-20 18:48:38 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:240001)
5 years, 5 months ago (2015-07-20 20:16:23 UTC) #40
commit-bot: I haz the power
5 years, 5 months ago (2015-07-20 20:17:28 UTC) #41
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/45c3063debd193f953d5c4aa55902d185469f4bc
Cr-Commit-Position: refs/heads/master@{#339498}

Powered by Google App Engine
This is Rietveld 408576698