mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #2413 from openmv/res_table
misc/common: Support overriding the resolution table.
This commit is contained in:
commit
37144464a5
@ -72,7 +72,7 @@
|
||||
#define OMV_FB_ALLOC_SIZE (84K) // minimum fb alloc size
|
||||
#define OMV_DMA_MEMORY DTCM // Misc DMA buffers
|
||||
#define OMV_GC_BLOCK0_MEMORY DTCM // Main GC block
|
||||
#define OMV_GC_BLOCK0_SIZE (54K)
|
||||
#define OMV_GC_BLOCK0_SIZE (53K)
|
||||
#define OMV_JPEG_SIZE (22K) // IDE JPEG buffer (header + data).
|
||||
#define OMV_MSC_BUF_SIZE (2K) // USB MSC bot data
|
||||
#define OMV_VFS_BUF_SIZE (1K) // VFS struct + FATFS file buffer (624 bytes)
|
||||
|
||||
@ -293,7 +293,7 @@ typedef struct _sensor {
|
||||
extern sensor_t sensor;
|
||||
|
||||
// Resolution table
|
||||
extern const int resolution[][2];
|
||||
extern uint16_t resolution[][2];
|
||||
|
||||
// Initialize the sensor state.
|
||||
void sensor_init0();
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
#endif
|
||||
|
||||
// Sensor frame size/resolution table.
|
||||
const int resolution[][2] = {
|
||||
uint16_t resolution[][2] = {
|
||||
{0, 0 },
|
||||
// C/SIF Resolutions
|
||||
{88, 72 }, /* QQCIF */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user