// /NOTE: If $page<0 here - sensor failed to initialize, if this script was called from the daemon - it will never restart on it's own. Log record is made
// will create $SENSOR_PHASE=...;MULTI_PHASE1=...;MULTI_PHASE3=...;)
// extract ( calculateDefaultPhases () ); // read sensor phases from memory or calculate from the eeproms for newer devices
// / Now select window orientations based on eyesis_mode
...
...
@@ -3034,17 +3041,17 @@ DEFAULT_CONFIG
<BSCALE>"Ratio of gains in Blue and Green (base) colors, multiplied by 0x10000. This value is connected to individual gains: GAINB and GAING, when you change BSCALE it will cause GAINB to be updated also (if BSCALE is not disabled in BSCALE_CTL). When GAINB is changed, this BSCALE value may also change (or not - depending on the BSCALE_CTL)"</BSCALE>
<RSCALE_CTL>"A 2-bit RSCALE control. The following constants are defined:`
ELPHEL_CONST_CSCALES_CTL_NORMAL - use RSCALE to update GAINR and be updated when GAINR is changed`
ELPHEL_CONST_CSCALES_CTL_RECALC - recalculate RSCALE from GAINR/GAING once, then driver will modify the RSCALE_CTL value to ELPHEL_CONST_CSCALES_CTL_NORMAL`
ELPHEL_CONST_CSCALES_CTL_RECALC - recalculate RSCALE from GAINR/GAING once, then driver will modify the RSCALE_CTL value to ELPHEL_CONST_CSCALES_CTL_NORMAL`
ELPHEL_CONST_CSCALES_CTL_FOLLOW - update RSCALE from GAINR/GAING, but ignore any (external to the driver) changes to RSCALE itself`
ELPHEL_CONST_CSCALES_CTL_DISABLE - completely disable RSCALE - do not update it from GAINR and ignore any external changes to RSCALE`"</RSCALE_CTL>
<GSCALE_CTL>"A 2-bit GSCALE control. The following constants are defined:`
ELPHEL_CONST_CSCALES_CTL_NORMAL - use GSCALE to update GAINGB and be updated when GAINGB is changed`
ELPHEL_CONST_CSCALES_CTL_RECALC - recalculate GSCALE from GAINGB/GAING once, then driver will modify the GRSCALE_CTL value to ELPHEL_CONST_CSCALES_CTL_NORMAL`
ELPHEL_CONST_CSCALES_CTL_RECALC - recalculate GSCALE from GAINGB/GAING once, then driver will modify the GRSCALE_CTL value to ELPHEL_CONST_CSCALES_CTL_NORMAL`
ELPHEL_CONST_CSCALES_CTL_FOLLOW - update GSCALE from GAINGB/GAING, but ignore any (external to the driver) changes to GSCALE itself`
ELPHEL_CONST_CSCALES_CTL_DISABLE - completely disable GSCALE - do not update it from GAING and ignore any external changes to GSCALE`"</GSCALE_CTL>
<BSCALE_CTL>"A 2-bit BSCALE control. The following constants are defined:`
ELPHEL_CONST_CSCALES_CTL_NORMAL - use BSCALE to update GAINB and be updated when GAINB is changed`
ELPHEL_CONST_CSCALES_CTL_RECALC - recalculate BSCALE from GAINB/GAING once, then driver will modify the BSCALE_CTL value to ELPHEL_CONST_CSCALES_CTL_NORMAL`
ELPHEL_CONST_CSCALES_CTL_RECALC - recalculate BSCALE from GAINB/GAING once, then driver will modify the BSCALE_CTL value to ELPHEL_CONST_CSCALES_CTL_NORMAL`
ELPHEL_CONST_CSCALES_CTL_FOLLOW - update BSCALE from GAINB/GAING, but ignore any (external to the driver) changes to BSCALE itself`
ELPHEL_CONST_CSCALES_CTL_DISABLE - completely disable BSCALE - do not update it from GAINB and ignore any external changes to BSCALE`"</BSCALE_CTL>
<FATZERO>"not used"</FATZERO>
...
...
@@ -3247,9 +3254,9 @@ DEFAULT_CONFIG
<MULTI_CHEIGHT>"Composite frame height (stored while in single-sensor mode)"</MULTI_CHEIGHT>
<MULTI_CLEFT> "Composite frame left margin (stored while in single-sensor mode, copied to WOI_LEFT)"</MULTI_CLEFT>
<MULTI_CTOP> "Composite frame top margin (stored while in single-sensor mode)"</MULTI_CTOP>
<MULTI_CFLIPH> "Horizontal flip for composite image (stored while in single-sensor mode)"</MULTI_CFLIPH>
<MULTI_CFLIPH> "Horizontal flip for composite image (stored while in single-sensor mode)"</MULTI_CFLIPH>
<MULTI_CFLIPV> "Vertical flip for composite image (stored while in single-sensor mode)"</MULTI_CFLIPV>
<MULTI_VBLANK> "Vertical blanking for buffered frames (2,3) BEFORE FRAME, not after"</MULTI_VBLANK>
<MULTI_VBLANK> "Vertical blanking for buffered frames (2,3) BEFORE FRAME, not after"</MULTI_VBLANK>
<MULTI_WOI> "Width of frame 1 (direct) // Same as next"</MULTI_WOI>
<MULTI_WIDTH1> "Width of frame 1 (direct) // same as MULTI_WOI !!!!"</MULTI_WIDTH1>
<MULTI_WIDTH2> "Width of frame 2 (first buffered)"</MULTI_WIDTH2>