Implement Android encoder and decoder backends with NDK, via ffmpeg
Categories
(Core :: Audio/Video: Playback, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | fixed |
People
(Reporter: padenot, Assigned: aosmond)
References
(Blocks 12 open bugs, Regressed 1 open bug)
Details
(Keywords: perf-alert, webcompat:platform-bug, Whiteboard: [fxdroid] [geckoview])
Attachments
(10 files, 22 obsolete files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
|
||
| Reporter | ||
Comment 2•1 year ago
|
||
| Reporter | ||
Comment 3•1 year ago
|
||
| Reporter | ||
Comment 4•1 year ago
|
||
| Reporter | ||
Comment 5•1 year ago
|
||
| Reporter | ||
Comment 6•1 year ago
|
||
| Reporter | ||
Comment 7•1 year ago
|
||
| Reporter | ||
Comment 8•1 year ago
|
||
| Reporter | ||
Comment 9•1 year ago
|
||
| Reporter | ||
Comment 10•1 year ago
|
||
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
| Assignee | ||
Comment 11•10 months ago
|
||
| Assignee | ||
Comment 12•10 months ago
|
||
| Assignee | ||
Comment 13•10 months ago
|
||
| Assignee | ||
Comment 14•10 months ago
|
||
| Assignee | ||
Comment 15•10 months ago
|
||
| Assignee | ||
Comment 16•10 months ago
|
||
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Updated•7 months ago
|
Comment 18•7 months ago
|
||
Comment on attachment 9460784 [details]
Bug 1934009 - Log PDM order on initialization to better understand what is being picked at run time.
Revision D235023 was moved to bug 1977399. Setting attachment 9460784 [details] to obsolete.
Updated•7 months ago
|
Updated•7 months ago
|
| Assignee | ||
Comment 19•7 months ago
|
||
| Assignee | ||
Comment 20•7 months ago
|
||
Updated•7 months ago
|
Updated•7 months ago
|
| Assignee | ||
Comment 21•7 months ago
|
||
Updated•7 months ago
|
Updated•7 months ago
|
| Assignee | ||
Comment 22•7 months ago
|
||
| Assignee | ||
Comment 23•7 months ago
|
||
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Comment 24•7 months ago
|
||
Comment on attachment 9477260 [details]
Bug 1934009 - Part 2. Add the ARM specializations to our ffmpeg copy.
Revision D244497 was moved to bug 1977468. Setting attachment 9477260 [details] to obsolete.
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
| Assignee | ||
Comment 25•7 months ago
|
||
Updated•7 months ago
|
Updated•7 months ago
|
| Assignee | ||
Comment 26•7 months ago
|
||
| Assignee | ||
Comment 27•7 months ago
|
||
Updated•7 months ago
|
| Assignee | ||
Comment 28•7 months ago
|
||
| Assignee | ||
Comment 29•7 months ago
|
||
Updated•7 months ago
|
| Assignee | ||
Comment 30•7 months ago
|
||
| Assignee | ||
Comment 31•7 months ago
|
||
| Assignee | ||
Comment 32•7 months ago
|
||
| Assignee | ||
Comment 33•7 months ago
|
||
| Assignee | ||
Comment 34•7 months ago
|
||
| Assignee | ||
Comment 35•7 months ago
|
||
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
| Assignee | ||
Updated•6 months ago
|
Comment 36•6 months ago
|
||
Comment 37•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/73d48ef5571e
https://hg.mozilla.org/mozilla-central/rev/35f161e1fa7d
https://hg.mozilla.org/mozilla-central/rev/9efdb4e152ff
https://hg.mozilla.org/mozilla-central/rev/bd3ab9487871
https://hg.mozilla.org/mozilla-central/rev/303d69a39570
https://hg.mozilla.org/mozilla-central/rev/6a648f21ccd9
https://hg.mozilla.org/mozilla-central/rev/dd768909145d
https://hg.mozilla.org/mozilla-central/rev/5d78c5be46be
https://hg.mozilla.org/mozilla-central/rev/df27149c03e3
https://hg.mozilla.org/mozilla-central/rev/4cee7dd64eca
https://hg.mozilla.org/mozilla-central/rev/13efd6515c88
Comment 38•6 months ago
|
||
(In reply to Pulsebot from comment #36)
Pushed by aosmond@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/e3c9a784011a
https://hg.mozilla.org/integration/autoland/rev/73d48ef5571e
Part 1. Add the MediaCodec NDK files to our ffmpeg copy.
r=media-playback-reviewers,jolin
https://github.com/mozilla-firefox/firefox/commit/aac5bad7a131
https://hg.mozilla.org/integration/autoland/rev/35f161e1fa7d
Part 2. Patch ffvpx to avoid importing unnecessary H264/HEVC dependencies.
r=media-playback-reviewers,jolin
https://github.com/mozilla-firefox/firefox/commit/b7ff02f5b401
https://hg.mozilla.org/integration/autoland/rev/9efdb4e152ff
Part 3. Patch ffvpx to expose end-of-stream flag for MediaCodec decoders.
r=media-playback-reviewers,jolin
https://github.com/mozilla-firefox/firefox/commit/9b9cf2c4be7e
https://hg.mozilla.org/integration/autoland/rev/bd3ab9487871
Part 4. Update ffmpeg config and build files to support Android.
r=media-playback-reviewers,jolin
https://github.com/mozilla-firefox/firefox/commit/194a36f59d93
https://hg.mozilla.org/integration/autoland/rev/303d69a39570
Part 5. Expose one more MediaCodec NDK related function through
FFmpegLibWrapper. r=media-playback-reviewers,jolin
https://github.com/mozilla-firefox/firefox/commit/f6148c95eebc
https://hg.mozilla.org/integration/autoland/rev/6a648f21ccd9
Part 6. Allow the RDD process on Android.
r=geckoview-reviewers,jolin,nalexander
https://github.com/mozilla-firefox/firefox/commit/ebe516ffc144
https://hg.mozilla.org/integration/autoland/rev/dd768909145d
Part 7. Teach FFmpegVideoDecoder to perform hardware decoding on Android.
r=media-playback-reviewers,jolin
https://github.com/mozilla-firefox/firefox/commit/1484fb0a4b09
https://hg.mozilla.org/integration/autoland/rev/5d78c5be46be
Part 8. Make rendering pipeline support presenting SurfaceTextureImage from
FFmpegVideoDecoder. r=media-playback-reviewers,jolin
https://github.com/mozilla-firefox/firefox/commit/7e9c2b3561df
https://hg.mozilla.org/integration/autoland/rev/df27149c03e3
Part 9. Rework FFmpegDataDecoder draining to allow pausing/resuming.
r=media-playback-reviewers,jolin
https://github.com/mozilla-firefox/firefox/commit/7076e12d217d
https://hg.mozilla.org/integration/autoland/rev/4cee7dd64eca
Part 10. Teach FFmpegAudioDecoder to perform hardware decoding on Android.
r=media-playback-reviewers,jolin
https://github.com/mozilla-firefox/firefox/commit/73f2a7040deb
https://hg.mozilla.org/integration/autoland/rev/13efd6515c88
apply code formatting via Lando
Perfherder has detected a browsertime performance change from push 13efd6515c880c58fa37e2ceecce3ef8724fe95a.
If you have any questions, please reach out to a performance sheriff. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.
Improvements:
| Ratio | Test | Platform | Options | Absolute values (old vs new) | Performance Profiles |
|---|---|---|---|---|---|
| 4% | vpl-av1 secondFrame | android-hw-a55-14-0-aarch64-shippable | warm webrender | 213.62 -> 204.30 | Before/After |
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a performance sheriff to do that for you.
You can run all of these tests on try with ./mach try perf --alert 46163
The following documentation link provides more information about this command.
Updated•6 months ago
|
Description
•