Last Comment Bug 875608 - Use GrallocBuffer to display decoded video frame
: Use GrallocBuffer to display decoded video frame
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]
Depends on:
  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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

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 | Splinter 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
Comment 3 Ryan VanderMeulen [:RyanVM] 2013-05-29 17:59:22 PDT
Comment 4 Ryan VanderMeulen [:RyanVM] 2013-05-30 09:08:30 PDT

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