diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-02-18 20:43:18 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-03-09 08:53:39 +0100 |
commit | cbd4617a098afe251e9c3386ed3fa0aedb0e89ec (patch) | |
tree | f9e8a3471a6042da2f1870b118573df9bedd8a5b /test/v4l2_videodevice/double_open.cpp | |
parent | 45ebe9a209fc5bcce649b8b3f27f80131fc4e2c7 (diff) |
libcamera: ipu3: Initialize controls using sensor resolution
The controls' limits initialized by the IPU3 pipeline handler depend
on the sensor configuration. In order to compute controls using a known
state apply to the sensor a configuration equal to its own resolution.
Move the \todo note regarding the controls' limits dependency on the
sensor configuration at the beginning of the function and remove the
other redundant ones in the function body.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/v4l2_videodevice/double_open.cpp')
0 files changed, 0 insertions, 0 deletions