Skip to content

Commit 05f881c

Browse files
committed
media: i2c: imx477: Fix crop height in 12Mpix 16:9 struct
Struct definition doesn't match the cropped height of the mode causing Picamera2 ScalerCrop to distort any cropped images. Also causes the rpi-cam apps --list-cameras to report an incorrect mode crop height. Signed-off-by: Sandy Sutherland <ao_sutherland@outlook.com>
1 parent 5baf7a0 commit 05f881c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/media/i2c/imx477.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ static const struct imx477_mode supported_modes[] = {
884884
.left = IMX477_PIXEL_ARRAY_LEFT,
885885
.top = IMX477_PIXEL_ARRAY_TOP + 440,
886886
.width = 4056,
887-
.height = 3040,
887+
.height = 2160,
888888
},
889889
.frm_length_default = 10,
890890
.reg_list = {

0 commit comments

Comments
 (0)