Andreas Pehrson
91d5fc2ed6
Support more pixel formats in v4l2 camera backend
These were tested with gstreamer and v4l2loopback, example setup:
$ sudo v4l2loopback-ctl add -n BGRA 10
$ gst-launch-1.0 videotestsrc pattern=smpte-rp-219 ! \
video/x-raw,format=BGRA ! v4l2sink device=/dev/video10 > /dev/null &
Then conversion was confirmed with video_loopback:
$ ./video_loopback --capture_device_index=3 --logs 2>&1 | grep -i \
capture
Bug: webrtc:14830
Change-Id: I35c8e453cf7f9a2923935b0ad82477a3144e8c12
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/291532
Commit-Queue: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39979}
2023-05-03 14:22:36 +00:00
..
2022-04-25 12:15:30 +00:00
2023-04-26 13:40:17 +00:00
2023-04-28 11:16:20 +00:00
2023-04-24 10:05:35 +00:00
2023-04-20 02:02:45 +00:00
2023-04-20 02:02:45 +00:00
2023-04-28 16:07:00 +00:00
2023-01-12 14:44:21 +00:00
2023-04-20 02:02:45 +00:00
2023-02-02 17:20:04 +00:00
2023-04-20 02:02:45 +00:00
2023-05-03 09:25:23 +00:00
2023-04-20 02:02:45 +00:00
2023-04-18 07:07:02 +00:00
2023-05-03 14:22:36 +00:00
2023-04-21 11:29:32 +00:00
2023-04-18 07:07:02 +00:00
2023-01-12 14:44:21 +00:00