update(driver): update ir sensor driver adaption rgb sensor orientation.
This commit is contained in:
@@ -340,7 +340,7 @@ static struct regval_list sensor_800x600_30_regs[] = {
|
||||
static struct regval_list sensor_1600x1200_30_regs[] = {
|
||||
{0x0103,0x01},
|
||||
{0x0100,0x00},
|
||||
{0x3221,0x06},//hflip:0x06 vflip:0x60
|
||||
{0x3221,0x60},//hflip:0x06 vflip:0x60
|
||||
{0x36e9,0x80},
|
||||
{0x36e9,0x24},
|
||||
{0x301f,0x01},
|
||||
@@ -695,7 +695,7 @@ static int sensor_init(int id)
|
||||
static struct sensor_format_struct sensor_formats[] = {
|
||||
#ifdef SC2356_800X600_30FPS
|
||||
{
|
||||
.mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, /*.mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, */
|
||||
.mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10,//MEDIA_BUS_FMT_SBGGR10_1X10, /*.mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, */
|
||||
.width = 800,
|
||||
.height = 600,//1080,
|
||||
.hoffset = 0,
|
||||
@@ -719,7 +719,7 @@ static struct sensor_format_struct sensor_formats[] = {
|
||||
|
||||
#ifdef SC2356_1600X1200_30FPS
|
||||
{
|
||||
.mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, /*.mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, */
|
||||
.mbus_code = MEDIA_BUS_FMT_SRGGB10_1X10,//MEDIA_BUS_FMT_SBGGR10_1X10, /*.mbus_code = MEDIA_BUS_FMT_SBGGR10_1X10, */
|
||||
.width = 1600,
|
||||
.height = 1200,//1080,
|
||||
.hoffset = 0,
|
||||
|
||||
Reference in New Issue
Block a user