[libcamera-devel] [PATCH v2 0/6] Raspberry Pi: Conversion to media controller
Naushir Patuck
naush at raspberrypi.com
Fri Oct 22 16:39:01 CEST 2021
Hi,
Very quick turn-around for v2 this time :-)
I wanted to post this as it incorporates David's suggestions before others have
started reviewing it as they do simplify things a bit.
Differences from v1:
- 1/6: Removes the BayerFormat::toMbusCode() as it is not needed.
- 2/6: Return V4L2SubdeviceFormat from findBestMode to simplify the code a bit. This also makes the old 3/6 patch redundant.
- 3/6: This is a new patch that sets the packing modes on the format correctly.
Regards,
Naush
Naushir Patuck (6):
libcamera: bayer_format: Add a toPixelFormat() helpers to the
BayerFormat class
pipeline: raspberrypi: Convert the pipeline handler to use media
controller
pipeline: raspberrypi: Set packing formats for the Unicam image node
pipeline: raspberrypi: Remove "unpacked" format penalty in mode
selection
pipeline: raspberrypi: Account for a missing Unicam embedded data node
pipeline: raspberrypi: Apply sensor flips at the start of configure()
include/libcamera/internal/bayer_format.h | 3 +
src/libcamera/bayer_format.cpp | 13 ++
.../pipeline/raspberrypi/raspberrypi.cpp | 214 ++++++++++--------
3 files changed, 138 insertions(+), 92 deletions(-)
--
2.25.1
More information about the libcamera-devel
mailing list