[v3,0/2] virtual: Support more common pixel formats
mbox series

Message ID 20261013194345.98661-1-robert.mader@collabora.com
Headers show
Series
  • virtual: Support more common pixel formats
Related show

Message

Robert Mader Oct. 13, 2026, 7:43 p.m. UTC
A small list of patches originally developed for testing the webrtc patch at
https://webrtc-review.googlesource.com/c/src/+/491680

I found them so useful that I cleaned them up and would like to see them
upstream.

---

Changes in v3:
 - Dropped stride-related patches. The last patch requires further work
   to figure out how to best deal with
   https://gitlab.freedesktop.org/camera/libcamera/-/work_items/360
   and the other one doesn't make much sense on its own. Thus defer those
   patches to their own series.
 - Added tag

Changes in v2:
 - Applied tag
 - Applied various suggestions by Barnabás

Robert Mader (2):
  virtual: Fill alpha channels
  virtual: Support more common pixel formats

 .../pipeline/virtual/frame_generator.h        |  3 +-
 .../virtual/image_frame_generator.cpp         | 55 ++++++++++++++++---
 .../pipeline/virtual/image_frame_generator.h  |  2 +-
 .../virtual/test_pattern_generator.cpp        | 50 ++++++++++++++---
 .../pipeline/virtual/test_pattern_generator.h |  2 +-
 src/libcamera/pipeline/virtual/virtual.cpp    | 41 ++++++++++----
 6 files changed, 125 insertions(+), 28 deletions(-)