Skip to content
Commit 0fa01ae1 authored by Jacopo Mondi's avatar Jacopo Mondi Committed by Dom Cobley
Browse files

media: ov64a40: Report the full crop rectangle



The analogue crop rectangle defined in the sensor supported modes
reports the index of the last pixel in the horizontal/vertical
directions, instead of reporting the actual rectangle's width and
height.

Fix this by reporting the correct width and height and subtracting 1
pixel when applying the rectangle sizes to the sensor's registers.

Signed-off-by: default avatarJacopo Mondi <jacopo.mondi@ideasonboard.com>
parent 027fbc02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment