summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/rpi/contrast.cpp
diff options
context:
space:
mode:
authorHelen Koike <helen.koike@collabora.com>2020-11-06 17:32:27 -0300
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-11-23 00:14:23 +0100
commita4e8a3bf3da1526cb74970c0312c357f35d72525 (patch)
tree2f16d70b65a2948b80f56a169cb89bcf0e37c477 /src/ipa/raspberrypi/controller/rpi/contrast.cpp
parent666905182511153f86d041dcc501f6fc37ba793b (diff)
libcamera: pipeline: rkisp1: fix crop configuration
Crop rectangle was not being configured on the isp output pad nor in the resizer input pad, causing an unecessary crop in the image and an unecessary scaling by the resizer when streaming with a higher resolution then the default 800x600. Example: cam -c 1 -C -s width=3280,height=2464 In the pipeline: sensor->isp->resizer->dma_engine isp output crop is set to 800x600, which limits the output format to 800x600, which is propagated to the resizer input format set to 800x600, and the resizer output format is set to the desired end resolution 3280x2464. Signed-off-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/ipa/raspberrypi/controller/rpi/contrast.cpp')
0 files changed, 0 insertions, 0 deletions