mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
common/csi: Add support for custom resolutions.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
This commit is contained in:
parent
294eaf309f
commit
451c1e7664
@ -78,6 +78,7 @@ typedef struct _i2c_dev {
|
|||||||
// Sensor frame size/resolution table.
|
// Sensor frame size/resolution table.
|
||||||
uint16_t resolution[][2] = {
|
uint16_t resolution[][2] = {
|
||||||
{0, 0 },
|
{0, 0 },
|
||||||
|
{0, 0 }, /* Custom set by drivers */
|
||||||
// C/SIF Resolutions
|
// C/SIF Resolutions
|
||||||
{88, 72 }, /* QQCIF */
|
{88, 72 }, /* QQCIF */
|
||||||
{176, 144 }, /* QCIF */
|
{176, 144 }, /* QCIF */
|
||||||
|
@ -145,6 +145,7 @@ typedef enum {
|
|||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
OMV_CSI_FRAMESIZE_INVALID = 0,
|
OMV_CSI_FRAMESIZE_INVALID = 0,
|
||||||
|
OMV_CSI_FRAMESIZE_CUSTOM,
|
||||||
// C/SIF Resolutions
|
// C/SIF Resolutions
|
||||||
OMV_CSI_FRAMESIZE_QQCIF, // 88x72
|
OMV_CSI_FRAMESIZE_QQCIF, // 88x72
|
||||||
OMV_CSI_FRAMESIZE_QCIF, // 176x144
|
OMV_CSI_FRAMESIZE_QCIF, // 176x144
|
||||||
|
Loading…
Reference in New Issue
Block a user