From 5661c934ec6bc3b04e811dc828e946e30584610f Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Thu, 6 Oct 2022 14:17:40 +0100 Subject: 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 Tested-by: Dave Stevenson Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/ipa/raspberrypi/controller/camera_mode.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ipa/raspberrypi/controller') diff --git a/src/ipa/raspberrypi/controller/camera_mode.h b/src/ipa/raspberrypi/controller/camera_mode.h index 204c96a0..94c51ddf 100644 --- a/src/ipa/raspberrypi/controller/camera_mode.h +++ b/src/ipa/raspberrypi/controller/camera_mode.h @@ -46,4 +46,6 @@ struct CameraMode { uint32_t maxFrameLength; /* sensitivity of this mode */ double sensitivity; + /* pixel clock rate */ + uint64_t pixelRate; }; -- cgit v1.2.1