diff options
author | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2023-07-12 11:55:10 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo.mondi@ideasonboard.com> | 2023-07-24 11:38:15 +0200 |
commit | cd7d917a04e252023f85afcf49e8c9ca1ee99838 (patch) | |
tree | 554ddf18d08c6f680e40ed4c904be6cf0a350b4a /test/v4l2_subdevice/v4l2_subdevice_test.cpp | |
parent | 4edc162e3d36119f4a63fe8b43c73bdecffacfa1 (diff) |
libcamera: rpi: pipeline_base: Cache sensor format
The format to be applied on the sensor is selected by two criteria: the
desired output size and the bit depth. As the selection depends on the
presence of a RAW stream and the streams configuration is handled in
validate() there is no need to re-compute the format in configure().
Centralize the computation of the sensor format in validate() and remove
it from configure().
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'test/v4l2_subdevice/v4l2_subdevice_test.cpp')
0 files changed, 0 insertions, 0 deletions