summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Wu <pengw@nvidia.com>2013-10-16 11:07:58 -0700
committerMatthew Pedro <mapedro@nvidia.com>2013-11-18 14:18:15 -0800
commitf6cd9007c40d2c9e8da0629b7afe8a77063e7aa9 (patch)
treed98cf3cca16c1fa7c9e3fe183b45705646045890
parent3c3f3589ca261a1e8d5e9355d540585fe1a164dd (diff)
media: ov5640: change 1080p resolution to 1088p
Setting the resolution to 1088p (as of now), since there are flickers observed for 1080p and also the encoder is not compatible with alignement of the RM surfaces of 1080p. 1088p is a stop-gap solution until the issues with 1080p are resolved. Bug 1369083 Change-Id: I3e73076451e7671d90603c6496ad14733591edeb Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/309543 Tested-by: Vikram Fugro <vfugro@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kaustubh Purandare <kpurandare@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
-rw-r--r--drivers/media/video/ov5640.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/ov5640.c b/drivers/media/video/ov5640.c
index 795d9bd541b3..04b0443a4d22 100644
--- a/drivers/media/video/ov5640.c
+++ b/drivers/media/video/ov5640.c
@@ -288,7 +288,7 @@ static struct ov5640_reg mode_2592x1944[] = {
{OV5640_TABLE_END, 0x0000}
};
-static struct ov5640_reg mode_1920x1080[] = {
+static struct ov5640_reg mode_1920x1088[] = {
/* PLL Control MIPI bit rate/lane = 672MHz, 16-bit mode.
* Output size: 1936x1096 (336, 426) - (2287, 1529),
* Line Length = 2500, Frame Length = 1120.
@@ -1097,7 +1097,7 @@ static struct ov5640_reg mode_640x480[] = {
enum {
OV5640_MODE_640x480,
OV5640_MODE_1296x972,
- OV5640_MODE_1920x1080,
+ OV5640_MODE_1920x1088,
OV5640_MODE_2592x1944,
OV5640_SIZE_LAST,
};
@@ -1105,7 +1105,7 @@ enum {
static struct ov5640_reg *mode_table[] = {
[OV5640_MODE_640x480] = mode_640x480,
[OV5640_MODE_1296x972] = mode_1296x972,
- [OV5640_MODE_1920x1080] = mode_1920x1080,
+ [OV5640_MODE_1920x1088] = mode_1920x1088,
[OV5640_MODE_2592x1944] = mode_2592x1944,
};
@@ -1144,7 +1144,7 @@ static enum v4l2_mbus_pixelcode ov5640_codes[] = {
static const struct v4l2_frmsize_discrete ov5640_frmsizes[OV5640_SIZE_LAST] = {
{640, 480},
{1296, 972},
- {1920, 1080},
+ {1920, 1088},
{2592, 1944},
};