From 86aba2fdc3e08a1a3f45be78532601486a850639 Mon Sep 17 00:00:00 2001 From: Comma Device Date: Wed, 21 Feb 2024 18:55:46 -0600 Subject: [PATCH] 16:10 --- system/camerad/sensors/os04c10_registers.h | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/system/camerad/sensors/os04c10_registers.h b/system/camerad/sensors/os04c10_registers.h index c2d5ecc4bb..b0d8d3bf18 100644 --- a/system/camerad/sensors/os04c10_registers.h +++ b/system/camerad/sensors/os04c10_registers.h @@ -236,22 +236,22 @@ const struct i2c_random_wr_payload init_array_os04c10[] = { {0x4041, 0x07}, {0x4008, 0x02}, {0x4009, 0x0d}, - {0x3800, 0x01}, - {0x3801, 0x80}, - {0x3802, 0x00}, - {0x3803, 0xdc}, - {0x3804, 0x09}, - {0x3805, 0x0f}, - {0x3806, 0x05}, - {0x3807, 0x23}, - {0x3808, 0x07}, - {0x3809, 0x80}, - {0x380a, 0x04}, - {0x380b, 0x38}, - {0x380c, 0x04}, - {0x380d, 0x2e}, - {0x380e, 0x12}, - {0x380f, 0x70}, + + // crop mode 1928x1208 + {0x3800, 0x01}, {0x3801, 0x7c}, // x addr start = 364 + 16 + {0x3802, 0x00}, {0x3803, 0x9c}, // y addr start = 140 + 16 + {0x3804, 0x09}, {0x3805, 0x13}, // x addr end = 2324 - 1 + {0x3806, 0x05}, {0x3807, 0x63}, // y addr end = 1380 - 1 + {0x3810, 0x00}, {0x3811, 0x08}, // isp x = 8 + {0x3812, 0x00}, {0x3813, 0x08}, // isp y = 8 + {0x3808, 0x07}, {0x3809, 0x88}, // x out size = 1928 + {0x380a, 0x04}, {0x380b, 0xb8}, // y out size = 1208 + + // HTS + {0x380c, 0x04}, {0x380d, 0x2e}, + // VTS + {0x380e, 0x12}, {0x380f, 0x70}, + {0x3811, 0x08}, {0x3813, 0x08}, {0x3814, 0x01},