summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/controller/metadata.h
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-07-12 11:55:10 +0100
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-07-24 11:38:15 +0200
commitcd7d917a04e252023f85afcf49e8c9ca1ee99838 (patch)
tree554ddf18d08c6f680e40ed4c904be6cf0a350b4a /src/ipa/rpi/controller/metadata.h
parent4edc162e3d36119f4a63fe8b43c73bdecffacfa1 (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 'src/ipa/rpi/controller/metadata.h')
0 files changed, 0 insertions, 0 deletions