@@ -152,6 +152,13 @@ module libcamera;
* RGB for sensors that don't have a CFA.
*/
+/**
+ * \var IPACameraSensorInfo::pixelArrayArea
+ * \brief The area of the physical pixel array of the sensor in pixels
+ *
+ * The top left corner of this rectangle is always at (0,0).
+ */
+
/**
* \var IPACameraSensorInfo::activeArea
* \brief The active pixel area of the sensor, relative to the physical pixel
@@ -250,6 +257,7 @@ struct IPACameraSensorInfo {
uint32 bitsPerPixel;
uint32 cfaPattern;
+ Rectangle pixelArrayArea;
Rectangle activeArea;
Rectangle analogCrop;
Size outputSize;
@@ -886,6 +886,7 @@ int CameraSensorLegacy::sensorInfo(IPACameraSensorInfo *info) const
return -EINVAL;
info->model = model();
+ info->pixelArrayArea = pixelArrayArea_;
/*
* 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->pixelArrayArea = pixelArrayArea_;
/*
* The active area is a static property, while the crop rectangle needs