[libcamera-devel] [PATCH v8 0/8] 2D transforms
David Plowman
david.plowman at raspberrypi.com
Mon Sep 7 09:15:55 CEST 2020
Hi everyone
Here's version 8 of the 2D transforms, benefitting from the latest
round of reviews from Laurent. Besides a couple of clarifications and
small fixes (discussed in an earlier email) the main changes are to
the BayerFormat class. Here, among other smaller things, I've changed
the "modifiers" to "packing", and added the IPU3 packing type and
formats.
Otherwise the changes have the same format and 8 commits as before.
Thanks and best regards
David
David Plowman (8):
libcamera: pipeline: raspberrypi: Revert "Set sensor default
orientation before configure()"
libcamera: Allow access to v4l2_query_ext_ctrl structure for a V4L2
control
libcamera: Add Transform enum to represent 2D plane transforms.
libcamera: Add BayerFormat type
libcamera: Add user Transform to CameraConfiguration
libcamera: raspberrypi: Set camera flips correctly from user transform
libcamera: raspberrypi: Plumb user transform through to IPA
libcamera: ipa: raspberrypi: ALSC: Handle user transform
include/libcamera/camera.h | 3 +
include/libcamera/internal/bayer_format.h | 61 ++++
include/libcamera/internal/v4l2_device.h | 2 +
include/libcamera/meson.build | 1 +
include/libcamera/transform.h | 78 +++++
src/ipa/raspberrypi/controller/camera_mode.h | 4 +
src/ipa/raspberrypi/controller/rpi/alsc.cpp | 13 +-
src/ipa/raspberrypi/raspberrypi.cpp | 48 +--
src/libcamera/bayer_format.cpp | 268 +++++++++++++++
src/libcamera/camera.cpp | 16 +-
src/libcamera/meson.build | 2 +
src/libcamera/pipeline/ipu3/ipu3.cpp | 5 +
.../pipeline/raspberrypi/raspberrypi.cpp | 161 ++++++++-
src/libcamera/pipeline/rkisp1/rkisp1.cpp | 5 +
src/libcamera/pipeline/simple/simple.cpp | 5 +
src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 5 +
src/libcamera/pipeline/vimc/vimc.cpp | 5 +
src/libcamera/transform.cpp | 322 ++++++++++++++++++
src/libcamera/v4l2_device.cpp | 15 +
19 files changed, 985 insertions(+), 34 deletions(-)
create mode 100644 include/libcamera/internal/bayer_format.h
create mode 100644 include/libcamera/transform.h
create mode 100644 src/libcamera/bayer_format.cpp
create mode 100644 src/libcamera/transform.cpp
--
2.20.1
More information about the libcamera-devel
mailing list