|
|
Log in / Subscribe / Register

media: vimc: add RGB/YUV input entity and improve pipeline support

From:  Pavan Bobba <opensource206-AT-gmail.com>
To:  skhan-AT-linuxfoundation.org, kieran.bingham-AT-ideasonboard.com, mchehab-AT-kernel.org
Subject:  [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Date:  Thu, 20 Nov 2025 14:19:21 +0530
Message-ID:  <20251120084926.18620-1-opensource206@gmail.com>
Cc:  linux-kernel-AT-vger.kernel.org, linux-media-AT-vger.kernel.org, Pavan Bobba <opensource206-AT-gmail.com>
Archive-link:  Article

This series extends the vimc test driver with a new RGB/YUV input entity,
pipeline enhancements, and documentation updates.

Patch 1 adds an RGB/YUV input entity that can be used to simulate pipelines
starting after a real debayer stage.

Patch 2 adds V4L2_FIELD_ALTERNATE support to vimc-sensor, allowing it to
simulate interlaced sources.

Patch 3 extends the debayer to support multiple RGB output formats.

Patch 4 allows vimc-capture to accept custom bytesperline values so users can
exercise padded strides when testing the RGB/YUV path.

Patch 5 updates the vimc documentation with the RGB/YUV input entity and
revised media-ctl/v4l2-ctl examples.

Tested with:
  - vimc.0 on x86_64 using media-ctl and v4l2-ctl pipelines

Pavan Bobba (5):
  media: vimc: add RGB/YUV input entity implementation
  media: vimc: add support for V4L2_FIELD_ALTERNATE in vimc-sensor
  media: vimc: debayer: add support for multiple RGB formats
  media: vimc: capture: support custom bytesperline values
  docs: media: vimc: document RGB/YUV input entity

 Documentation/admin-guide/media/vimc.rst      |  39 +++-
 drivers/media/test-drivers/vimc/Makefile      |   3 +-
 .../media/test-drivers/vimc/vimc-capture.c    |  15 +-
 drivers/media/test-drivers/vimc/vimc-common.h |   1 +
 drivers/media/test-drivers/vimc/vimc-core.c   |   3 +-
 .../media/test-drivers/vimc/vimc-debayer.c    | 113 ++++++++--
 drivers/media/test-drivers/vimc/vimc-input.c  | 210 ++++++++++++++++++
 drivers/media/test-drivers/vimc/vimc-sensor.c |   9 +-
 8 files changed, 352 insertions(+), 41 deletions(-)
 create mode 100644 drivers/media/test-drivers/vimc/vimc-input.c

-- 
2.43.0




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds