PipeWire camera: add support for ARGB/ABGR formats
Categories
(Core :: WebRTC, enhancement)
Tracking
()
People
(Reporter: rmader, Assigned: rmader)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
In order to work with the libcamera softwareISP (see https://patchwork.libcamera.org/patch/20253/)
Upstream CL: https://webrtc-review.googlesource.com/c/src/+/354400
Assignee | ||
Comment 1•5 months ago
|
||
Assignee | ||
Comment 2•5 months ago
|
||
Test build for aarch64: https://treeherder.mozilla.org/jobs?repo=try&revision=50f905f686e50e27eedceed36ef606b340040fa1
Comment 3•5 months ago
|
||
This is a simple backport of an WebRTC upstream change.
Upstream commit: c3aeffd776a22050aff43c81e4a61da3492fa821.
Updated•5 months ago
|
Assignee | ||
Comment 4•5 months ago
|
||
For the record: it would be awesome to get this into the upcoming ESR 128 as mobile linux distros tend to use that (because of downstream mobile patches).
Comment 6•5 months ago
|
||
bugherder |
Assignee | ||
Comment 7•5 months ago
|
||
Jan: do you agree that we should request a backport to beta / 128 (upcoming ESR) for all these patches?
Comment 8•5 months ago
|
||
(In reply to Robert Mader [:rmader] from comment #7)
Jan: do you agree that we should request a backport to beta / 128 (upcoming ESR) for all these patches?
Yes, I think we should do that.
Comment 9•5 months ago
|
||
Comment on attachment 9407475 [details]
Bug 1901767 - WebRTC backport: PipeWire camera - add support for BGRA/RGBA formats r=pehrsons
Beta/Release Uplift Approval Request
- User impact if declined: This is a set of simple WebRTC backports allowing to use PipeWire camera with libcamera software ISP. This is needed for laptops with Snapdragon chips. There is no risk backporting these patches, they are simple and straightforward and also PipeWire camera is not enabled by default in Firefox. Since the next Firefox 128 is an ESR release, we think it makes sense to include these fixes.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: 1902618 1902615
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): These patches are fairly trivial without having any potential side-effect. They were thoroughly tested.
This patch adds just two additional formats (enums) to the set of supported formats. Fix in 1902618 fixes arguments in mmap() call following the documentation and fix in 1902615 just filters out existing camera devices by searching in a map.
- String changes made/needed:
- Is Android affected?: No
Comment 10•5 months ago
|
||
Comment on attachment 9407475 [details]
Bug 1901767 - WebRTC backport: PipeWire camera - add support for BGRA/RGBA formats r=pehrsons
Approved for 128.0b5.
Updated•5 months ago
|
Comment 11•5 months ago
|
||
uplift |
Description
•