libcamera: camera_sensor: Define CameraSensorInfo

Define the CameraSensorInfo structure that reports the current image sensor
configuration.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Jacopo Mondi
2020-03-05 10:44:14 +01:00
parent 0e36d26dad
commit 56baa28a79
2 changed files with 94 additions and 0 deletions
+13
View File
@@ -22,6 +22,19 @@ class V4L2Subdevice;
struct V4L2SubdeviceFormat;
struct CameraSensorInfo {
std::string model;
uint32_t bitsPerPixel;
Size activeAreaSize;
Rectangle analogCrop;
Size outputSize;
uint64_t pixelRate;
uint32_t lineLength;
};
class CameraSensor : protected Loggable
{
public: