media: imx477: Convert line_length_pix values to decimal

line_length_pix is a value that the developer wants to know,
so write the values in decimal.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
Dave Stevenson
2025-09-17 17:35:30 +01:00
committed by Dom Cobley
parent 52305424f1
commit 97df6d90cf

View File

@@ -1006,7 +1006,7 @@ static const struct imx477_mode supported_modes_12bit[] = {
/* 12MPix 10fps mode */
.width = 4056,
.height = 3040,
.line_length_pix = 0x5dc0,
.line_length_pix = 24000,
.crop = {
.left = IMX477_PIXEL_ARRAY_LEFT,
.top = IMX477_PIXEL_ARRAY_TOP,
@@ -1030,7 +1030,7 @@ static const struct imx477_mode supported_modes_12bit[] = {
/* 2x2 binned 40fps mode */
.width = 2028,
.height = 1520,
.line_length_pix = 0x31c4,
.line_length_pix = 12740,
.crop = {
.left = IMX477_PIXEL_ARRAY_LEFT,
.top = IMX477_PIXEL_ARRAY_TOP,
@@ -1054,7 +1054,7 @@ static const struct imx477_mode supported_modes_12bit[] = {
/* 1080p 50fps cropped mode */
.width = 2028,
.height = 1080,
.line_length_pix = 0x31c4,
.line_length_pix = 12740,
.crop = {
.left = IMX477_PIXEL_ARRAY_LEFT,
.top = IMX477_PIXEL_ARRAY_TOP + 440,