Use GrallocBuffer to display decoded video frame

RESOLVED FIXED in mozilla24

Status

()

Core
WebRTC: Audio/Video
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: chiajung, Assigned: chiajung)

Tracking

unspecified
mozilla24
ARM
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(1 attachment)

(Assignee)

Description

4 years ago
Use GrallocBuffer in MediaPipeline for B2G directly can save 1 buffer copy per frame, which can reduce memory bandwidth consumption and save CPU power.
(Assignee)

Comment 1

4 years ago
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.
Attachment #753588 - Flags: review?(bjacob)

Updated

4 years ago
Whiteboard: [WebRTC][blocking-webrtc-][b2g-webrtc+]
Attachment #753588 - Flags: review?(bjacob) → review+
(Assignee)

Comment 2

4 years ago
https://tbpl.mozilla.org/?tree=Try&rev=b6a2122ca5a1
(Assignee)

Updated

4 years ago
Keywords: checkin-needed
https://hg.mozilla.org/integration/mozilla-inbound/rev/f6faa7dae095
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/f6faa7dae095
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24

Updated

4 years ago
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.