Last Comment Bug 875608 - Use GrallocBuffer to display decoded video frame
: Use GrallocBuffer to display decoded video frame
Status: RESOLVED FIXED
[WebRTC][blocking-webrtc-][b2g-webrtc...
:
Product: Core
Classification: Components
Component: WebRTC: Audio/Video (show other bugs)
: unspecified
: ARM Gonk (Firefox OS)
: -- normal (vote)
: mozilla24
Assigned To: Chiajung Hung [:chiajung]
: Jason Smith [:jsmith]
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-23 19:25 PDT by Chiajung Hung [:chiajung]
Modified: 2013-05-30 20:00 PDT (History)
5 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Use GrallocYCbCrImage directly to reduce memcpy (1.13 KB, patch)
2013-05-23 19:30 PDT, Chiajung Hung [:chiajung]
jacob.benoit.1: review+
Details | Diff | Review

Description Chiajung Hung [:chiajung] 2013-05-23 19:25:50 PDT
Use GrallocBuffer in MediaPipeline for B2G directly can save 1 buffer copy per frame, which can reduce memory bandwidth consumption and save CPU power.
Comment 1 Chiajung Hung [:chiajung] 2013-05-23 19:30:15 PDT
Created attachment 753588 [details] [diff] [review]
Use GrallocYCbCrImage directly to reduce memcpy

Current implementation for WebRTC decoding path will cause texture upload before the frame can be composited. Use GrallocPlanarYCbCrImage can share the decoded frame with compositor process directly and avoid texture upload.
Comment 2 Chiajung Hung [:chiajung] 2013-05-23 21:32:54 PDT
https://tbpl.mozilla.org/?tree=Try&rev=b6a2122ca5a1
Comment 3 Ryan VanderMeulen [:RyanVM] 2013-05-29 17:59:22 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/f6faa7dae095
Comment 4 Ryan VanderMeulen [:RyanVM] 2013-05-30 09:08:30 PDT
https://hg.mozilla.org/mozilla-central/rev/f6faa7dae095

Note You need to log in before you can comment on or make changes to this bug.