Closed
Bug 1039182
Opened 10 years ago
Closed 10 years ago
Add getGrapicBuffer interface to MediaCodecProxy
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
2.1 S3 (29aug)
People
(Reporter: bwu, Assigned: brsun)
References
Details
Attachments
(1 file, 2 obsolete files)
6.67 KB,
patch
|
brsun
:
review+
|
Details | Diff | Splinter Review |
Add an interface, getOutputGraphicBufferFromIndex, to get GraphicBuffer from MediaCodec. This is currently blocked by bug 1009410.
Assignee | ||
Updated•10 years ago
|
Reporter | ||
Comment 1•10 years ago
|
||
Add getOutputGraphicBufferFromIndex() to get Graphic Buffer from MediaCodec. This needs to be called right after calling dequeueOutputBuffer().
Updated•10 years ago
|
Assignee: nobody → bwu
Target Milestone: --- → 2.1 S3 (29aug)
Comment 3•10 years ago
|
||
[Blocking Requested - why for this release]: Per offline discussion with Ken Chang, Marvin Khoo and Blake Wu, I'm going to move this from 2.1 feat+ to 2.1? and nominate this as 2.1+ since it will largely improve the performance.
blocking-b2g: --- → 2.1?
feature-b2g: 2.1 → ---
Comment 5•10 years ago
|
||
[Blocking Requested - why for this release]: Hi Ken, Ivan and Eric! Can you explain why this should block the whole release? Usually we do not block on performance improvements. For reference, the reasons to block a release are listed at https://wiki.mozilla.org/B2G/Triage#Blocker_Triage_Guidelines.
blocking-b2g: 2.1+ → 2.1?
Assignee | ||
Comment 6•10 years ago
|
||
Use SFINAE trick and template specialization trick to wrap interface-difference of MediaCodec. So that the correct OutputGraphicBufferStub template class can be chosen during compile time.
Assignee: bwu → brsun
Attachment #8487040 -
Flags: review?(sotaro.ikeda.g)
Comment 7•10 years ago
|
||
Comment on attachment 8487040 [details] [diff] [review] bug1039182_add_graphic_buffer_interface_into_media_codec_proxy.patch Review of attachment 8487040 [details] [diff] [review]: ----------------------------------------------------------------- Nice!
Attachment #8487040 -
Flags: review?(sotaro.ikeda.g) → review+
Assignee | ||
Comment 8•10 years ago
|
||
TBPL result seems good: - [default] media.omx.async.enabled pref-off: https://tbpl.mozilla.org/?tree=Try&rev=7b4aaa1ff606 - media.omx.async.enabled pref-on: https://tbpl.mozilla.org/?tree=Try&rev=a2583a942188
Attachment #8487040 -
Attachment is obsolete: true
Attachment #8487733 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Attachment #8456705 -
Attachment is obsolete: true
Comment 9•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4eb5b760919a
Keywords: checkin-needed
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4eb5b760919a
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 11•10 years ago
|
||
Hi Eric, triage group is trying to make a determination on why this blocks. See comment #5 - we automatically block on perf *regressions* but perf wins usually ride the trains. Is there a reason we should block here? Also, we're still in the approvals stage - so maybe instead of requesting blocking, you can ask for approval on the patch and land that way.
Flags: needinfo?(echou)
Comment 12•10 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #11) > Hi Eric, triage group is trying to make a determination on why this blocks. > See comment #5 - we automatically block on perf *regressions* but perf wins > usually ride the trains. Is there a reason we should block here? > Since this is not a perf regression, I'll remove the nomination (sorry for not noticing comment 5. You may want to ni me directly next time ;-) ). The reason we nominated this as a blocker was because we know that the patch could make a huge improvement on performance by using the new interface which has been created in bug 1009410. > Also, we're still in the approvals stage - so maybe instead of requesting > blocking, you can ask for approval on the patch and land that way. Sure. Thanks Dietrich.
blocking-b2g: 2.1? → ---
Flags: needinfo?(echou)
You need to log in
before you can comment on or make changes to this bug.
Description
•