[0/4] virtual: Support more common pixel formats
mbox series

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

Message

Robert Mader Oct. 8, 2026, 9:11 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.

Robert Mader (4):
  virtual: Fill alpha channels
  virtual: Support more common pixel formats
  virtual: Validate stride and frameSize
  virtual: Align strides to 256 bytes

 .../pipeline/virtual/frame_generator.h        |  4 +-
 .../virtual/image_frame_generator.cpp         | 67 +++++++++++++++----
 .../pipeline/virtual/image_frame_generator.h  |  2 +-
 .../virtual/test_pattern_generator.cpp        | 56 +++++++++++++---
 .../pipeline/virtual/test_pattern_generator.h |  2 +-
 src/libcamera/pipeline/virtual/virtual.cpp    | 55 +++++++++++----
 6 files changed, 149 insertions(+), 37 deletions(-)