@@ -618,6 +618,7 @@ static struct ov7670_format_struct {
* which is allegedly provided by the sensor. So here's the weird register
* settings.
*/
+#if 0
static struct regval_list ov7670_qcif_regs[] = {
{ REG_COM3, COM3_SCALEEN|COM3_DCWEN },
{ REG_COM3, COM3_DCWEN },
@@ -636,6 +637,7 @@ static struct regval_list ov7670_qcif_regs[] = {
{ REG_COM13, 0xc0 },
{ 0xff, 0xff },
};
+#endif
static struct ov7670_win_size {
int width;
@@ -681,7 +683,8 @@ static struct ov7670_win_size {
.vstop = 494,
.regs = NULL,
},
- /* QCIF */
+#if 0
+ /* QCIF - disabled because it only shows a small portion of sensor FOV */
{
.width = QCIF_WIDTH,
.height = QCIF_HEIGHT,
@@ -692,6 +695,7 @@ static struct ov7670_win_size {
.vstop = 494,
.regs = ov7670_qcif_regs,
},
+#endif
};
#define N_WIN_SIZES (ARRAY_SIZE(ov7670_win_sizes))