Closed Bug 875608 Opened 6 years ago Closed 6 years ago

Use GrallocBuffer to display decoded video frame

Categories

(Core :: WebRTC: Audio/Video, defect)

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: chiajung, Assigned: chiajung)

Details

(Whiteboard: [WebRTC][blocking-webrtc-][b2g-webrtc+][qa-])

Attachments

(1 file)

Use GrallocBuffer in MediaPipeline for B2G directly can save 1 buffer copy per frame, which can reduce memory bandwidth consumption and save CPU power.
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.
Attachment #753588 - Flags: review?(bjacob)
Whiteboard: [WebRTC][blocking-webrtc-][b2g-webrtc+]
Attachment #753588 - Flags: review?(bjacob) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/f6faa7dae095
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Whiteboard: [WebRTC][blocking-webrtc-][b2g-webrtc+] → [WebRTC][blocking-webrtc-][b2g-webrtc+][qa-]
You need to log in before you can comment on or make changes to this bug.