Closed
Bug 980266
Opened 10 years ago
Closed 6 years ago
[META] Improve the performance of B2G::WebRTC video encoding path
Categories
(Core :: WebRTC: Audio/Video, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: u459114, Unassigned)
References
(Depends on 2 open bugs)
Details
(Keywords: meta)
This is a follow up bug of Bug 970183. With the change in bug 970183, we always rotate source images, came from camera, at MediaEngineWebRTCVideoSource::OnNewPreviewFrame. It introduces two side effects 1. Since we changed graphic buffer into normal YCrCB image, we need to image uploading at compositor side. Before the change, upload texture is not needed since we use direct texture. 2. We introduce one more image copy in MediaEngineWebRTCVideoSource To recover this performance downgrade, instead of rotating image at the upstream of media pipeline, we do the rotation in later stage: 1. (Preview path) Rotate image in layer. The performance impact in compositor side of image rotation is pretty minor. 2. (Encode path) Rotate image at http://dxr.mozilla.org/mozilla-central/source/media/webrtc/trunk/webrtc/common_video/i420_video_frame.cc#61
Summary: Improve the performance of B2G::WebRTC video encoding path → [META] Improve the performance of B2G::WebRTC video encoding path
Comment 2•6 years ago
|
||
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 3•6 years ago
|
||
Mass closing as we are no longer working on b2g/firefox os.
You need to log in
before you can comment on or make changes to this bug.
Description
•