[v7,0/7] Add VirtualPipelineHandler
mbox series

Message ID 20240801073339.4061027-1-chenghaoyang@google.com
Headers show
Series
  • Add VirtualPipelineHandler
Related show

Message

Harvey Yang Aug. 1, 2024, 7:30 a.m. UTC
Hi folks,

This series of patches drop the usage of image loading in the example
`virtual.yaml` config file, as it requires images being installed / 
placed in certain paths.

The series also passed the gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1238353
, with only merge-check warnings remaining.

Please check again. Thanks :)

BR,
Harvey


Harvey Yang (3):
  libcamera: add DmaBufAllocation::exportFrameBuffers()
  libcamera: Remove PipelineHandler Fatal check of non-empty
    MediaDevices
  libcamera: pipeline: Add VirtualPipelineHandler

Konami Shu (4):
  libcamera: pipeline: Add test pattern for VirtualPipelineHandler
  libcamera: pipeline: Read config and register cameras based on the
    config
  libcamera: pipeline: Shift test pattern by 1 pixel left every frame
  libcamera: pipeline: Load images

 .../libcamera/internal/dma_buf_allocator.h    |  10 +
 meson.build                                   |   1 +
 meson_options.txt                             |   3 +-
 src/libcamera/dma_buf_allocator.cpp           |  68 ++++-
 src/libcamera/pipeline/virtual/README.md      |  76 +++++
 .../pipeline/virtual/common_functions.cpp     |  27 ++
 .../pipeline/virtual/common_functions.h       |  18 ++
 .../pipeline/virtual/data/virtual.yaml        |  49 +++
 .../pipeline/virtual/frame_generator.h        |  33 +++
 .../virtual/image_frame_generator.cpp         | 154 ++++++++++
 .../pipeline/virtual/image_frame_generator.h  |  65 ++++
 src/libcamera/pipeline/virtual/meson.build    |  32 ++
 src/libcamera/pipeline/virtual/parser.cpp     | 243 +++++++++++++++
 src/libcamera/pipeline/virtual/parser.h       |  48 +++
 .../virtual/test_pattern_generator.cpp        | 148 ++++++++++
 .../pipeline/virtual/test_pattern_generator.h |  58 ++++
 src/libcamera/pipeline/virtual/virtual.cpp    | 279 ++++++++++++++++++
 src/libcamera/pipeline/virtual/virtual.h      |  96 ++++++
 src/libcamera/pipeline_handler.cpp            |  11 +-
 19 files changed, 1413 insertions(+), 6 deletions(-)
 create mode 100644 src/libcamera/pipeline/virtual/README.md
 create mode 100644 src/libcamera/pipeline/virtual/common_functions.cpp
 create mode 100644 src/libcamera/pipeline/virtual/common_functions.h
 create mode 100644 src/libcamera/pipeline/virtual/data/virtual.yaml
 create mode 100644 src/libcamera/pipeline/virtual/frame_generator.h
 create mode 100644 src/libcamera/pipeline/virtual/image_frame_generator.cpp
 create mode 100644 src/libcamera/pipeline/virtual/image_frame_generator.h
 create mode 100644 src/libcamera/pipeline/virtual/meson.build
 create mode 100644 src/libcamera/pipeline/virtual/parser.cpp
 create mode 100644 src/libcamera/pipeline/virtual/parser.h
 create mode 100644 src/libcamera/pipeline/virtual/test_pattern_generator.cpp
 create mode 100644 src/libcamera/pipeline/virtual/test_pattern_generator.h
 create mode 100644 src/libcamera/pipeline/virtual/virtual.cpp
 create mode 100644 src/libcamera/pipeline/virtual/virtual.h