ipa: raspberrypi: Add pixel clock rate to the CameraMode structure
The pixel clock rate will be used in subsequent commits to calculate line length durations. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Tested-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
aa2fe6a86f
commit
5661c934ec
2 changed files with 3 additions and 0 deletions
|
@ -331,6 +331,7 @@ void IPARPi::setMode(const IPACameraSensorInfo &sensorInfo)
|
|||
mode_.sensorHeight = sensorInfo.activeAreaSize.height;
|
||||
mode_.cropX = sensorInfo.analogCrop.x;
|
||||
mode_.cropY = sensorInfo.analogCrop.y;
|
||||
mode_.pixelRate = sensorInfo.pixelRate;
|
||||
|
||||
/*
|
||||
* Calculate scaling parameters. The scale_[xy] factors are determined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue