command error_t HplPXA27XQuickCaptInt.setImageSize(uint16_t sizeX, uint16_t sizeY, uint8_t colorType)
{
- //was: if (sizeX > 2048 || sizeY > 2048)
- if (sizeX > 320 || sizeY > 240)
- return FAIL;
-
-
+ if (sizeX > 2048 || sizeY > 2048)
+ return FAIL;
// (1) - Set the Quick Capture Interface Size
//was: call HplPXA27XQuickCaptInt.disableQuick();
#define MAX_DESC_TRANSFER 8184 // max is 8K-1, CIF requires a multiple of 8 //8192
// ----------------------------------------------
-#define DescArray_NBR_DESC 20//8
+#define DescArray_NBR_DESC 100//8
#define DescArray_BYTE_ALLIGNMENT 16
#define DescArray_BUFFER_SIZE (DescArray_NBR_DESC*sizeof(DMADescriptor_t) + DescArray_BYTE_ALLIGNMENT)