@@ -152,6 +152,11 @@ module libcamera;
* RGB for sensors that don't have a CFA.
*/
+/**
+ * \var IPACameraSensorInfo::pixelArraySize
+ * \brief The size of the physical pixel array of the sensor in pixels
+ */
+
/**
* \var IPACameraSensorInfo::activeArea
* \brief The active pixel area of the sensor, relative to the physical pixel
@@ -250,6 +255,7 @@ struct IPACameraSensorInfo {
uint32 bitsPerPixel;
uint32 cfaPattern;
+ Size pixelArraySize;
Rectangle activeArea;
Rectangle analogCrop;
Size outputSize;
@@ -887,6 +887,7 @@ int CameraSensorLegacy::sensorInfo(IPACameraSensorInfo *info) const
return -EINVAL;
info->model = model();
+ info->pixelArraySize = pixelArraySize_;
/*
* The active area is a static property, while the crop rectangle needs
@@ -1007,6 +1007,7 @@ int CameraSensorRaw::setEmbeddedDataEnabled(bool enable)
int CameraSensorRaw::sensorInfo(IPACameraSensorInfo *info) const
{
info->model = model();
+ info->pixelArraySize = pixelArraySize_;
/*
* The active area is a static property, while the crop rectangle needs