[libcamera-devel,v2,0/6] Raspberry Pi: Conversion to media controller
mbox series

Message ID 20211022143907.3089419-1-naush@raspberrypi.com
Headers show
Series
  • Raspberry Pi: Conversion to media controller
Related show

Message

Naushir Patuck Oct. 22, 2021, 2:39 p.m. UTC
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(-)