pipeline: rkisp1: Fix vblank delay
The vblank delay for delayed controls was incorrectly hardcoded to 1.
Get it from the camera sensor properties instead.
Fixes: f72c76eb6e
("rkisp1: Honor the FrameDurationLimits control")
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
6e24360d3f
commit
86c45c8fdf
1 changed files with 1 additions and 1 deletions
|
@ -1325,7 +1325,7 @@ int PipelineHandlerRkISP1::createCamera(MediaEntity *sensor)
|
||||||
std::unordered_map<uint32_t, DelayedControls::ControlParams> params = {
|
std::unordered_map<uint32_t, DelayedControls::ControlParams> params = {
|
||||||
{ V4L2_CID_ANALOGUE_GAIN, { delays.gainDelay, false } },
|
{ V4L2_CID_ANALOGUE_GAIN, { delays.gainDelay, false } },
|
||||||
{ V4L2_CID_EXPOSURE, { delays.exposureDelay, false } },
|
{ V4L2_CID_EXPOSURE, { delays.exposureDelay, false } },
|
||||||
{ V4L2_CID_VBLANK, { 1, false } },
|
{ V4L2_CID_VBLANK, { delays.vblankDelay, false } },
|
||||||
};
|
};
|
||||||
|
|
||||||
data->delayedCtrls_ =
|
data->delayedCtrls_ =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue