=== NVIDIA Libargus Camera Service (0.97.3)=== Listening for connections...=== argus_camera[4730]: Connection established (7F7B4701C0)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0 NvPclHwGetModuleList: WARNING: Could not map module to ISP config string NvPclHwGetModuleList: No module data found OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree ---- imager: No override file found. ---- LSC: LSC surface is not based on full res! Static property: In AE: MaxIspDigitalGain 256.00000 AF: pick pAL/PclFocuser: 0, pAL offset: 0 AF: pick pAH/PclFocuser: 0, pAH offset: 0 NvIspAfSanitizeConfigParams: actualLow = 0, actualHigh = 0, workingLow = 0, workingHigh = 0 hyperFocal = 0 rangeEndsReversed 0 NvIspAfSanitizeConfigParams: Warning: settle_time too large: 100, capped to 30 NvIspAfSanitizeConfigParams: cfg.positionResting 0 MLS:+De-init === argus_camera[4730]: CameraProvider initialized (0x7f7493a950)SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56) LSC: LSC surface is not based on full res! InitializeDataFromConfigFile: Tuning Table gains[0] {0.17361, 0.03333, 1.00000, 1.00000} InitializeDataFromConfigFile: Tuning Table gains[1] {0.17361, 0.03800, 1.48703, 1.00000} InitializeDataFromConfigFile: Tuning Table gains[2] {0.17361, 0.04331, 2.20740, 1.00000} InitializeDataFromConfigFile: Tuning Table gains[3] {0.17361, 0.04937, 3.28163, 1.00000} InitializeDataFromConfigFile: Tuning Table gains[4] {0.17361, 0.05627, 4.87653, 1.00000} InitializeDataFromConfigFile: Tuning Table gains[5] {0.17361, 0.06414, 7.24523, 1.00000} InitializeDataFromConfigFile: Tuning Table gains[6] {0.17361, 0.07311, 10.76748, 1.00000} InitializeDataFromConfigFile: Tuning Table gains[7] {0.17361, 0.08333, 1000.00000, 1.00000} InitializeDataFromConfigFile: Tuning Table gains[8] {0.17361, 0.08333, 1000.00000, 1000.00000} InitializeDataFromConfigFile: ApertureSettleTimeMs 100.00000 and ApertureFrameSkipCount 1 LoadConfig In AE: MaxIspDigitalGain 256.00000 SyncSensorAgent: ET limits {0.00000, 1.00000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} initialize: fNumber Corresponding CoarseTableAA[1] 0.17361 initialize: fNumber Corresponding CoarseTableAA[2] 0.17361 initialize: fNumber Corresponding CoarseTableAA[3] 0.17361 initialize: fNumber Corresponding CoarseTableAA[4] 0.17361 initialize: fNumber Corresponding CoarseTableAA[5] 0.17361 initialize: fNumber Corresponding CoarseTableAA[6] 0.17361 initialize: fNumber Corresponding CoarseTableAA[7] 0.17361 initialize: fNumber Corresponding CoarseTableAA[8] 0.17361 initialize: fNumber Corresponding CoarseTableAA[9] 0.17361 initializeApertureLUT: fNumber Corresponding coarseTableAA[0] 2.40000 initializeApertureLUT: m_apertureLUT[0] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[1] 2.40000 initializeApertureLUT: m_apertureLUT[1] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[2] 2.40000 initializeApertureLUT: m_apertureLUT[2] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[3] 2.40000 initializeApertureLUT: m_apertureLUT[3] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[4] 2.40000 initializeApertureLUT: m_apertureLUT[4] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[5] 2.40000 initializeApertureLUT: m_apertureLUT[5] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[6] 2.40000 initializeApertureLUT: m_apertureLUT[6] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[7] 2.40000 initializeApertureLUT: m_apertureLUT[7] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[8] 2.40000 initializeApertureLUT: m_apertureLUT[8] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[9] 2.40000 initializeApertureLUT: m_apertureLUT[9] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initializeApertureLUT: fNumber Corresponding coarseTableAA[10] 2.40000 initializeApertureLUT: m_apertureLUT[10] AACoarseGain 0.17361, table fNumber 2.40000, IndexFromLUT 0, AAGainLUT 7950051724284302594197651154467040939514024497674814777689089742373118614815423611829546565767635402752.00000 initialize: AA Gain stage is initialized m_gainStage 0x7f74937bc0 initialize: ET coarseTableET[1] 0.03333 initialize: ET coarseTableET[2] 0.03800 initialize: ET coarseTableET[3] 0.04331 initialize: ET coarseTableET[4] 0.04937 initialize: ET coarseTableET[5] 0.05627 initialize: ET coarseTableET[6] 0.06414 initialize: ET coarseTableET[7] 0.07311 initialize: ET coarseTableET[8] 0.08333 initialize: ET coarseTableET[9] 0.08333 initialize: ET Gain stage is initialized m_gainStage 0x7f7491d230 initialize: Analog Gain coarseTableAG[1] 1.00000 initialize: Analog Gain coarseTableAG[2] 1.48703 initialize: Analog Gain coarseTableAG[3] 2.20740 initialize: Analog Gain coarseTableAG[4] 3.28163 initialize: Analog Gain coarseTableAG[5] 4.87653 initialize: Analog Gain coarseTableAG[6] 7.24523 initialize: Analog Gain coarseTableAG[7] 10.76748 initialize: Analog Gain coarseTableAG[8] 1000.00000 initialize: Analog Gain coarseTableAG[9] 1000.00000 initialize: AG Gain stage is initialized m_gainStage 0x7f7491d280 initialize: ISP Digital Gain coarseTableAG[1] 1.00000 initialize: ISP Digital Gain coarseTableAG[2] 1.00000 initialize: ISP Digital Gain coarseTableAG[3] 1.00000 initialize: ISP Digital Gain coarseTableAG[4] 1.00000 initialize: ISP Digital Gain coarseTableAG[5] 1.00000 initialize: ISP Digital Gain coarseTableAG[6] 1.00000 initialize: ISP Digital Gain coarseTableAG[7] 1.00000 initialize: ISP Digital Gain coarseTableAG[8] 1.00000 initialize: ISP Digital Gain coarseTableAG[9] 1000.00000 initialize: ISPDG Gain stage is initialized m_gainStage 0x7f7491d2d0 AF: NvIspAfSetConfiguration Enter AF: pick pAL/PclFocuser: 0, pAL offset: 0 AF: pick pAH/PclFocuser: 0, pAH offset: 0 NvIspAfSanitizeConfigParams: actualLow = 0, actualHigh = 0, workingLow = 0, workingHigh = 0 hyperFocal = 0 rangeEndsReversed 0 NvIspAfSanitizeConfigParams: Warning: settle_time too large: 100, capped to 30 NvIspAfSanitizeConfigParams: cfg.positionResting 0 NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0 NvIspAfConfigParamsSanityCheck: Returning 0 NvIspAfSetConfiguration: AFConfigParamsSanityCheck failed. Disabling Autofocus CAF: working range [0, 0], settle time 30 CAF: tunable setting list: CAF-setting: overscan size percent: 0.150000 CAF-setting: smooth overscan size percent: 0.035000 CAF-setting: speed up factor: 2.000000 CAF-setting: steps numer: 2 CAF-setting: sharpness threshold 1: 20.000000 CAF-setting: scene change threshold 1: 300.000000 CAF-setting: scene change threshold 2: 500.000000 CAF-setting: scene change guard factor: 0.300000 CAF-setting: scene stable sharpness: 0.150000 CAF-setting: scene change sharpness: 0.300000 CAF-setting: scene change peak min percentage: 4.000000 CAF-setting: timeout setting (ms): 2000 CAF: sweep (0, 0), step 8 AF: NvIspAfSetConfiguration Enter AF: pick pAL/PclFocuser: 0, pAL offset: 0 AF: pick pAH/PclFocuser: 0, pAH offset: 0 NvIspAfSanitizeConfigParams: actualLow = 0, actualHigh = 0, workingLow = 0, workingHigh = 0 hyperFocal = 0 rangeEndsReversed 0 NvIspAfSanitizeConfigParams: Warning: settle_time too large: 100, capped to 30 NvIspAfSanitizeConfigParams: cfg.positionResting 0 NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0 NvIspAfConfigParamsSanityCheck: Returning 0 NvIspAfSetConfiguration: AFConfigParamsSanityCheck failed. Disabling Autofocus AF: NvIspAfSetConfiguration Enter AF: pick pAL/PclFocuser: 0, pAL offset: 0 AF: pick pAH/PclFocuser: 0, pAH offset: 0 NvIspAfSanitizeConfigParams: actualLow = 0, actualHigh = 0, workingLow = 0, workingHigh = 0 hyperFocal = 0 rangeEndsReversed 0 NvIspAfSanitizeConfigParams: Warning: settle_time too large: 100, capped to 30 NvIspAfSanitizeConfigParams: cfg.positionResting 0 NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0 NvIspAfConfigParamsSanityCheck: Returning 0 NvIspAfSetConfiguration: AFConfigParamsSanityCheck failed. Disabling Autofocus currentSceneLux 1000.000, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 0.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.000 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 Damping: AeSpeed 0.15000 and AbsFStopDelta 0.00000 and NewCommonGains 0.00579 runBreakDownAlgorithm:TargetCGain 0.00579, 0.00579, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00579, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.26667 GainSelected 1.26667, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00579 totalAchievedCGains 0.00579 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.26667, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00579, DRE 1.00000 and Pre {0.00579, 0.00579} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.26667, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: Getting stats failed. currentSceneLux 1000.000, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 0.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.000 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 Damping: AeSpeed 0.15000 and AbsFStopDelta 0.00000 and NewCommonGains 0.00579 runBreakDownAlgorithm:TargetCGain 0.00579, 0.00579, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00579, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.26667 GainSelected 1.26667, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00579 totalAchievedCGains 0.00579 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.26667, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00579, DRE 1.00000 and Pre {0.00579, 0.00579} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.26667, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) MLS: idl[0]-127, cct 5524, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.266666, log2(Gain) = 0.341037 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: Getting stats failed. MLS: idl[0]-127, cct 5554, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.266666, log2(Gain) = 0.341037 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) currentSceneLux 1000.000, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 Damping: AeSpeed 0.15000 and AbsFStopDelta 0.00000 and NewCommonGains 0.00579 runBreakDownAlgorithm:TargetCGain 0.00579, 0.00579, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00579, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.26667 GainSelected 1.26667, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00579 totalAchievedCGains 0.00579 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.26667, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00579, DRE 1.00000 and Pre {0.00579, 0.00579} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.26667, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: Getting stats failed. MLS: idl[0]-127, cct 5584, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.266666, log2(Gain) = 0.341037 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) currentSceneLux 1000.000, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 Damping: AeSpeed 0.15000 and AbsFStopDelta 0.00000 and NewCommonGains 0.00579 runBreakDownAlgorithm:TargetCGain 0.00579, 0.00579, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00579, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.26667 GainSelected 1.26667, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00579 totalAchievedCGains 0.00579 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.26667, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00579, DRE 1.00000 and Pre {0.00579, 0.00579} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.26667, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: Getting stats failed. MLS: idl[0]-127, cct 5614, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.266666, log2(Gain) = 0.341037 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) currentSceneLux 1000.000, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 Damping: AeSpeed 0.15000 and AbsFStopDelta 0.00000 and NewCommonGains 0.00579 runBreakDownAlgorithm:TargetCGain 0.00579, 0.00579, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00579, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.26667 GainSelected 1.26667, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00579 totalAchievedCGains 0.00579 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.26667, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00579, DRE 1.00000 and Pre {0.00579, 0.00579} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.26667, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: Getting stats failed. MLS: idl[0]-127, cct 5643, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.266666, log2(Gain) = 0.341037 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Return: input length change to 136 After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1585.703, linearMetric .0.249087, cameraEfficiency 0.151 cg highlight 0.006 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 7.276338 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) currentSceneLux 1585.703, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.00000 and NewCommonGains 0.00579 runBreakDownAlgorithm:TargetCGain 0.00579, 0.00579, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00579, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.00579 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03333, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03333 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.26667 CoarseSearch If: for Stage 2, coarseTarget 1.26667 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.26667 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03333 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.03333 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.26667 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.26667, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.26667 GainSelected 1.26667, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00579 totalAchievedCGains 0.00579 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.26667, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00579, DRE 1.00000 and Pre {0.00579, 0.00579} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.26667, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5632, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.266666, log2(Gain) = 0.341037 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 3539.060303 candidate freq = 100.000000 (idx = 0) response = 2.477836 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1585.836, linearMetric .0.249108, cameraEfficiency 0.151 cg highlight 0.006 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 7.268673 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) currentSceneLux 1585.836, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.319720 m_highlightGainApplied 0.005787 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.005787 # JR :: (mLux, hLux) (mGain, hGain) dre = (2289.770, 1790.451) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.69874 and NewCommonGains 0.00551 runBreakDownAlgorithm:TargetCGain 0.00551, 0.00551, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00551, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00551 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00551 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00551 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.20678 CoarseSearch If: for Stage 2, coarseTarget 1.20678 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.20678 IndexCoarseTaget 1 PWL requiredCGain 0.00551 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03176 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03176 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.20678 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.20678, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03176, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.03176 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03176 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.20678 CoarseSearch If: for Stage 2, coarseTarget 1.20678 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.20678 IndexCoarseTaget 1 PWL requiredCGain 0.03176 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03176 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03176 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.20678 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.20678, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03176, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.03176 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03176 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.20678 CoarseSearch If: for Stage 2, coarseTarget 1.20678 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.20678 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03176 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.03176 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.20678 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.20678, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.20678 GainSelected 1.20678, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00551 totalAchievedCGains 0.00551 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.20678, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00551, DRE 1.00000 and Pre {0.00551, 0.00551} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.20678, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5621, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.206781, log2(Gain) = 0.271163 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 897.970520 candidate freq = 120.000000 (idx = 1) response = 5.517088 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1587.281, linearMetric .0.249335, cameraEfficiency 0.151 cg highlight 0.006 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 7.239061 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) currentSceneLux 1587.281, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.321709 m_highlightGainApplied 0.005787 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.005787 # JR :: (mLux, hLux) (mGain, hGain) dre = (2304.019, 1790.451) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.63781 and NewCommonGains 0.00527 runBreakDownAlgorithm:TargetCGain 0.00527, 0.00527, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00527, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00527 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00527 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00527 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.15459 CoarseSearch If: for Stage 2, coarseTarget 1.15459 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.15459 IndexCoarseTaget 1 PWL requiredCGain 0.00527 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03038 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03038 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.15459 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.15459, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03038, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.03038 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03038 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.15459 CoarseSearch If: for Stage 2, coarseTarget 1.15459 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.15459 IndexCoarseTaget 1 PWL requiredCGain 0.03038 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03038 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.03038 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.15459 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.15459, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.03038, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.03038 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.03038 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.15459 CoarseSearch If: for Stage 2, coarseTarget 1.15459 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.15459 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.03038 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.03038 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.15459 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.15459, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.15459 GainSelected 1.15459, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00527 totalAchievedCGains 0.00527 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.15459, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00527, DRE 1.00000 and Pre {0.00527, 0.00527} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.15459, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5611, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.154591, log2(Gain) = 0.207382 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 1162.079468 candidate freq = 120.000000 (idx = 1) response = 1.716725 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1588.321, linearMetric .0.249499, cameraEfficiency 0.151 cg highlight 0.006 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 7.284908 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) currentSceneLux 1588.321, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.322620 m_highlightGainApplied 0.005787 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.005787 # JR :: (mLux, hLux) (mGain, hGain) dre = (2310.545, 1790.451) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.57811 and NewCommonGains 0.00507 runBreakDownAlgorithm:TargetCGain 0.00507, 0.00507, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00507, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00507 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00507 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00507 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.10924 CoarseSearch If: for Stage 2, coarseTarget 1.10924 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.10924 IndexCoarseTaget 1 PWL requiredCGain 0.00507 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02919 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02919 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.10924 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.10924, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02919, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02919 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.02919 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.10924 CoarseSearch If: for Stage 2, coarseTarget 1.10924 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.10924 IndexCoarseTaget 1 PWL requiredCGain 0.02919 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02919 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02919 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.10924 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.10924, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02919, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02919 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.02919 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.10924 CoarseSearch If: for Stage 2, coarseTarget 1.10924 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.10924 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02919 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02919 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.10924 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.10924, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.10924 GainSelected 1.10924, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00507 totalAchievedCGains 0.00507 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.10924, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00507, DRE 1.00000 and Pre {0.00507, 0.00507} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.10924, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5392, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.109239, log2(Gain) = 0.149571 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 1109.257690 candidate freq = 100.000000 (idx = 0) response = 4.529057 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1588.048, linearMetric .0.249456, cameraEfficiency 0.151 cg highlight 0.006 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 7.271321 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 7.27, diff 0.43% (7.24, 7.28), , , , , avgDCT 1.25, thsDCT 300.00 currentSceneLux 1588.048, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.323304 m_highlightGainApplied 0.005787 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.005787 # JR :: (mLux, hLux) (mGain, hGain) dre = (2315.441, 1790.451) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.52335 and NewCommonGains 0.00489 runBreakDownAlgorithm:TargetCGain 0.00489, 0.00489, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00489, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00489 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00489 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00489 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.06972 CoarseSearch If: for Stage 2, coarseTarget 1.06972 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.06972 IndexCoarseTaget 1 PWL requiredCGain 0.00489 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02815 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02815 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.06972 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.06972, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02815, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02815 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.02815 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.06972 CoarseSearch If: for Stage 2, coarseTarget 1.06972 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.06972 IndexCoarseTaget 1 PWL requiredCGain 0.02815 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02815 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02815 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.06972 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.06972, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02815, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02815 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.02815 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.06972 CoarseSearch If: for Stage 2, coarseTarget 1.06972 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.06972 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02815 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02815 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.06972 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.06972, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.06972 GainSelected 1.06972, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00489 totalAchievedCGains 0.00489 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.06972, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00489, DRE 1.00000 and Pre {0.00489, 0.00489} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.06972, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5196, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.069721, log2(Gain) = 0.097235 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 1109.257690 candidate freq = 120.000000 (idx = 1) response = 2.897803 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1587.726, linearMetric .0.249405, cameraEfficiency 0.151 cg highlight 0.006 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 7.104724 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 7.27, diff 3.51% (7.10, 7.28), , , , , avgDCT 1.25, thsDCT 300.00 currentSceneLux 1587.726, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.320630 m_highlightGainApplied 0.005787 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.005787 # JR :: (mLux, hLux) (mGain, hGain) dre = (2296.290, 1790.451) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45904 and NewCommonGains 0.00473 runBreakDownAlgorithm:TargetCGain 0.00473, 0.00473, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00473, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00473 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00473 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00473 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.03622 CoarseSearch If: for Stage 2, coarseTarget 1.03622 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.03622 IndexCoarseTaget 1 PWL requiredCGain 0.00473 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02727 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02727 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.03622 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.03622, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02727, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02727 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.02727 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.03622 CoarseSearch If: for Stage 2, coarseTarget 1.03622 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.03622 IndexCoarseTaget 1 PWL requiredCGain 0.02727 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02727 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02727 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.03622 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.03622, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02727, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02727 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.02727 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.03622 CoarseSearch If: for Stage 2, coarseTarget 1.03622 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.03622 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02727 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02727 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.03622 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.03622, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.03622 GainSelected 1.03622, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00473 totalAchievedCGains 0.00473 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.03622, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00473, DRE 1.00000 and Pre {0.00473, 0.00473} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.03622, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5020, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.036221, log2(Gain) = 0.051332 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 173.724960 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1577.943, linearMetric .0.236150, cameraEfficiency 0.151 cg highlight 0.006 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 7.965440 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 7.27, diff 12.09% (7.10, 7.97), , , , , avgDCT 2.75, thsDCT 300.00 currentSceneLux 1577.943, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.303548 m_highlightGainApplied 0.005513 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.005513 # JR :: (mLux, hLux) (mGain, hGain) dre = (2281.836, 1879.302) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.40402 and NewCommonGains 0.00460 runBreakDownAlgorithm:TargetCGain 0.00460, 0.00460, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00460, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00460 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 1, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 1 PWL requiredCGain 0.00460 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.00460 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00760 CoarseSearch If: for Stage 2, coarseTarget 1.00760 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.00760 IndexCoarseTaget 1 PWL requiredCGain 0.00460 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL for_loop:n 2 and point 0.00679, PWL: n is 2 PWL: else:point 0.00679, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 1, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 1, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02652 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02652 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00760 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.00760, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02652, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.02652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00760 CoarseSearch If: for Stage 2, coarseTarget 1.00760 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.00760 IndexCoarseTaget 1 PWL requiredCGain 0.02652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 1, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02652 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02652 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00760 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.00760, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 1, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02652, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 0.02632 CoarseSearch If: for Stage 1, coarseTarget 0.02632 IndexCoarseTaget 1, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 1 PWL requiredCGain 0.02652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.03913, PWL: n is 2 PWL: else:point 0.03913, Value 1.00760 CoarseSearch If: for Stage 2, coarseTarget 1.00760 IndexCoarseTaget 1, low point 1.00000, high 1.48703 CoarseSearch: stageType 2, coarseTarget 1.00760 IndexCoarseTaget 1 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02652 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02652 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 1, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00760 points {1.00000, 1.48703}, IndexCoarseTaget 1, bestMatch 1.00760, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00760 GainSelected 1.00760, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL for_loop:n 2 and point 0.02632, PWL for_loop:n 3 and point 0.02632, PWL for_loop:n 4 and point 0.02632, PWL for_loop:n 5 and point 0.02632, PWL for_loop:n 6 and point 0.02632, PWL for_loop:n 7 and point 0.02632, PWL for_loop:n 8 and point 0.02632, PWL for_loop:n 9 and point 0.02632, PWL for_loop:n 10 and point 0.02632, PWL: n is 11 PWL: else if:point 0.00000, Value 0.02632 CoarseSearch else: ForStage 1, coarseTarget 0.02632 IndexCoarseTaget 10, low point 0.02632, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02632 IndexCoarseTaget 10 findBestMatch: before flicker gainSelected 0.02632 , remainingCGain 0.02632 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02632 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02632 points {0.02632, 0.02632}, IndexCoarseTaget 10, bestMatch 0.02632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02632 GainSelected 0.02632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00460 totalAchievedCGains 0.00460 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02632, AG 1.00760, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00460, DRE 1.00000 and Pre {0.00460, 0.00460} UdpateFrameData: AA 0.17361, ET 0.02632, AG 1.00760, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4861, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.007605, log2(Gain) = 0.010930 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 87.457352 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1606.292, linearMetric .0.229996, cameraEfficiency 0.151 cg highlight 0.005 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 8.366987 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 7.27, diff 21.30% (7.10, 8.37), , , , , avgDCT 5.25, thsDCT 300.00 currentSceneLux 1606.292, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.296103 m_highlightGainApplied 0.005275 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.005275 # JR :: (mLux, hLux) (mGain, hGain) dre = (2326.483, 1964.249) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.39158 and NewCommonGains 0.00448 runBreakDownAlgorithm:TargetCGain 0.00448, 0.00448, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00448, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00448 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00448 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.02581 CoarseSearch If: for Stage 1, coarseTarget 0.02581 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02581 IndexCoarseTaget 0 PWL requiredCGain 0.00448 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00448 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02581 , remainingCGain 0.02581 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02581 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02581, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02581 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02581, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02581, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02581 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02581 CoarseSearch If: for Stage 1, coarseTarget 0.02581 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02581 IndexCoarseTaget 0 PWL requiredCGain 0.02581 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.02581 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02581 , remainingCGain 0.02581 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02581 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02581, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02581 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02581, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02581, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02581 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02581 CoarseSearch If: for Stage 1, coarseTarget 0.02581 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02581 IndexCoarseTaget 0 PWL requiredCGain 0.02581 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02581 , remainingCGain 0.02581 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02581 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02581, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02581 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02581, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02581, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02581 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02581 CoarseSearch If: for Stage 1, coarseTarget 0.02581 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02581 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02581 , remainingCGain 0.02581 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02581 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02581, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02581 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02581, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02581 GainSelected 0.02581, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00448 totalAchievedCGains 0.00448 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02581, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00448, DRE 1.00000 and Pre {0.00448, 0.00448} UdpateFrameData: AA 0.17361, ET 0.02581, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4719, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 85.832115 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1628.167, linearMetric .0.223971, cameraEfficiency 0.151 cg highlight 0.005 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 8.739688 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 7.27, diff 29.84% (7.10, 8.74), , , , , avgDCT 6.00, thsDCT 300.00 currentSceneLux 1628.167, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.282920 m_highlightGainApplied 0.005068 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.005068 # JR :: (mLux, hLux) (mGain, hGain) dre = (2313.790, 2044.558) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.34453 and NewCommonGains 0.00437 runBreakDownAlgorithm:TargetCGain 0.00437, 0.00437, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00437, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00437 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00437 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.02520 CoarseSearch If: for Stage 1, coarseTarget 0.02520 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02520 IndexCoarseTaget 0 PWL requiredCGain 0.00437 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00437 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02520 , remainingCGain 0.02520 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02520 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02520, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02520 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02520, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02520, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02520 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02520 CoarseSearch If: for Stage 1, coarseTarget 0.02520 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02520 IndexCoarseTaget 0 PWL requiredCGain 0.02520 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.02520 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02520 , remainingCGain 0.02520 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02520 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02520, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02520 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02520, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02520, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02520 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02520 CoarseSearch If: for Stage 1, coarseTarget 0.02520 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02520 IndexCoarseTaget 0 PWL requiredCGain 0.02520 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02520 , remainingCGain 0.02520 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02520 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02520, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02520 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02520, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02520, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02520 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02520 CoarseSearch If: for Stage 1, coarseTarget 0.02520 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02520 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02520 , remainingCGain 0.02520 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02520 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02520, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02520 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02520, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02520 GainSelected 0.02520, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00437 totalAchievedCGains 0.00437 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02520, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00437, DRE 1.00000 and Pre {0.00437, 0.00437} UdpateFrameData: AA 0.17361, ET 0.02520, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4596, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 98.404221 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1643.878, linearMetric .0.218076, cameraEfficiency 0.151 cg highlight 0.005 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 9.154404 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 7.27, diff 59.07% (7.97, 9.15), , , , , avgDCT 8.25, thsDCT 300.00 currentSceneLux 1643.878, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.270088 m_highlightGainApplied 0.004887 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.004887 # JR :: (mLux, hLux) (mGain, hGain) dre = (2290.442, 2120.089) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.29544 and NewCommonGains 0.00429 runBreakDownAlgorithm:TargetCGain 0.00429, 0.00429, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00429, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.02469 CoarseSearch If: for Stage 1, coarseTarget 0.02469 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02469 IndexCoarseTaget 0 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02469 , remainingCGain 0.02469 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02469 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02469, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02469 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02469, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02469, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02469 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02469 CoarseSearch If: for Stage 1, coarseTarget 0.02469 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02469 IndexCoarseTaget 0 PWL requiredCGain 0.02469 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.02469 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02469 , remainingCGain 0.02469 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02469 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02469, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02469 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02469, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02469, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02469 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02469 CoarseSearch If: for Stage 1, coarseTarget 0.02469 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02469 IndexCoarseTaget 0 PWL requiredCGain 0.02469 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02469 , remainingCGain 0.02469 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02469 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02469, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02469 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02469, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02469, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02469 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02469 CoarseSearch If: for Stage 1, coarseTarget 0.02469 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02469 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02469 , remainingCGain 0.02469 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02469 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02469, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02469 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02469, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02469 GainSelected 0.02469, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00429 totalAchievedCGains 0.00429 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02469, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00429, DRE 1.00000 and Pre {0.00429, 0.00429} UdpateFrameData: AA 0.17361, ET 0.02469, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4486, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 93.577667 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1652.898, linearMetric .0.212406, cameraEfficiency 0.151 cg highlight 0.005 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 9.582218 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 7.27, diff 78.08% (8.37, 9.58), , , , , avgDCT 7.75, thsDCT 300.00 currentSceneLux 1652.898, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.257653 m_highlightGainApplied 0.004734 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.004734 # JR :: (mLux, hLux) (mGain, hGain) dre = (2255.632, 2188.630) (0.004, 0.004) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.24380 and NewCommonGains 0.00421 runBreakDownAlgorithm:TargetCGain 0.00421, 0.00421, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00421, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.02427 CoarseSearch If: for Stage 1, coarseTarget 0.02427 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02427 IndexCoarseTaget 0 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02427 , remainingCGain 0.02427 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02427 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02427, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02427 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02427, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02427, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02427 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02427 CoarseSearch If: for Stage 1, coarseTarget 0.02427 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02427 IndexCoarseTaget 0 PWL requiredCGain 0.02427 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.02427 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02427 , remainingCGain 0.02427 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02427 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02427, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02427 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02427, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02427, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02427 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02427 CoarseSearch If: for Stage 1, coarseTarget 0.02427 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02427 IndexCoarseTaget 0 PWL requiredCGain 0.02427 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02427 , remainingCGain 0.02427 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02427 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02427, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02427 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02427, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02427, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02427 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02427 CoarseSearch If: for Stage 1, coarseTarget 0.02427 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02427 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02427 , remainingCGain 0.02427 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02427 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02427, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02427 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02427, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02427 GainSelected 0.02427, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00421 totalAchievedCGains 0.00421 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02427, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00421, DRE 1.00000 and Pre {0.00421, 0.00421} UdpateFrameData: AA 0.17361, ET 0.02427, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.026316 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 93.209877 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.026316 frame rate = 38.000000 currentSceneLux 1655.287, linearMetric .0.206838, cameraEfficiency 0.151 cg highlight 0.005 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 10.087792 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 7.27, diff 98.21% (8.74, 10.09), , , , , avgDCT 5.25, thsDCT 300.00 currentSceneLux 1655.287, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.246178 m_highlightGainApplied 0.004603 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.004603 # JR :: (mLux, hLux) (mGain, hGain) dre = (2216.377, 2250.788) (0.003, 0.003) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.51632 and NewCommonGains 0.00407 runBreakDownAlgorithm:TargetCGain 0.00407, 0.00407, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00407, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00407 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00407 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.02342 CoarseSearch If: for Stage 1, coarseTarget 0.02342 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02342 IndexCoarseTaget 0 PWL requiredCGain 0.00407 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00407 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02342 , remainingCGain 0.02342 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02342 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02342, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02342 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02342, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02342, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02342 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02342 CoarseSearch If: for Stage 1, coarseTarget 0.02342 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02342 IndexCoarseTaget 0 PWL requiredCGain 0.02342 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.02342 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02342 , remainingCGain 0.02342 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02342 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02342, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02342 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02342, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02342, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02342 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02342 CoarseSearch If: for Stage 1, coarseTarget 0.02342 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02342 IndexCoarseTaget 0 PWL requiredCGain 0.02342 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02342 , remainingCGain 0.02342 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02342 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02342, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02342 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02342, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02342, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02342 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02342 CoarseSearch If: for Stage 1, coarseTarget 0.02342 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02342 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02342 , remainingCGain 0.02342 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02342 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02342, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02342 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02342, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02342 GainSelected 0.02342, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00407 totalAchievedCGains 0.00407 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02342, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00407, DRE 1.00000 and Pre {0.00407, 0.00407} UdpateFrameData: AA 0.17361, ET 0.02342, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4298, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.025806 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 56.166187 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.025806 frame rate = 38.000000 currentSceneLux 1675.446, linearMetric .0.203751, cameraEfficiency 0.151 cg highlight 0.004 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 10.381550 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 7.27, diff 114.45% (9.15, 10.38), SharpTrigger, , , , avgDCT 6.25, thsDCT 300.00 currentSceneLux 1675.446, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.238709 m_highlightGainApplied 0.004480 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.004480 # JR :: (mLux, hLux) (mGain, hGain) dre = (2208.264, 2312.716) (0.003, 0.003) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.50385 and NewCommonGains 0.00393 runBreakDownAlgorithm:TargetCGain 0.00393, 0.00393, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00393, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00393 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00393 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.02262 CoarseSearch If: for Stage 1, coarseTarget 0.02262 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02262 IndexCoarseTaget 0 PWL requiredCGain 0.00393 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00393 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02262 , remainingCGain 0.02262 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02262 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02262, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02262 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02262, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02262, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02262 CoarseSearch If: for Stage 1, coarseTarget 0.02262 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02262 IndexCoarseTaget 0 PWL requiredCGain 0.02262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.02262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02262 , remainingCGain 0.02262 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02262 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02262, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02262 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02262, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02262, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02262 CoarseSearch If: for Stage 1, coarseTarget 0.02262 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02262 IndexCoarseTaget 0 PWL requiredCGain 0.02262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02262 , remainingCGain 0.02262 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02262 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02262, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02262 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02262, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02262, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02262 CoarseSearch If: for Stage 1, coarseTarget 0.02262 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02262 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02262 , remainingCGain 0.02262 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02262 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02262, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02262 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02262, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02262 GainSelected 0.02262, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00393 totalAchievedCGains 0.00393 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02262, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00393, DRE 1.00000 and Pre {0.00393, 0.00393} UdpateFrameData: AA 0.17361, ET 0.02262, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4224, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.025197 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 60.099586 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.025197 frame rate = 38.000000 currentSceneLux 1684.944, linearMetric .0.200071, cameraEfficiency 0.151 cg highlight 0.004 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 10.762403 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:++++++ SCENE_CHANGING, Sharp delta 10.97%, (9.58, 10.76), SharpTrigger, , avgDCT 5.00, thsDCT 90.00 currentSceneLux 1684.944, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.232032 m_highlightGainApplied 0.004374 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.004374 # JR :: (mLux, hLux) (mGain, hGain) dre = (2198.378, 2368.610) (0.003, 0.003) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.48792 and NewCommonGains 0.00380 runBreakDownAlgorithm:TargetCGain 0.00380, 0.00380, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00380, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00380 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00380 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.02186 CoarseSearch If: for Stage 1, coarseTarget 0.02186 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02186 IndexCoarseTaget 0 PWL requiredCGain 0.00380 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00380 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02186 , remainingCGain 0.02186 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02186 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02186, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02186 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02186, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02186, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02186 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02186 CoarseSearch If: for Stage 1, coarseTarget 0.02186 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02186 IndexCoarseTaget 0 PWL requiredCGain 0.02186 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.02186 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02186 , remainingCGain 0.02186 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02186 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02186, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02186 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02186, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02186, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02186 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02186 CoarseSearch If: for Stage 1, coarseTarget 0.02186 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02186 IndexCoarseTaget 0 PWL requiredCGain 0.02186 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02186 , remainingCGain 0.02186 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02186 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02186, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02186 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02186, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02186, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02186 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02186 CoarseSearch If: for Stage 1, coarseTarget 0.02186 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02186 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02186 , remainingCGain 0.02186 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02186 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02186, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02186 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02186, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02186 GainSelected 0.02186, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00380 totalAchievedCGains 0.00380 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02186, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00380, DRE 1.00000 and Pre {0.00380, 0.00380} UdpateFrameData: AA 0.17361, ET 0.02186, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4157, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.024686 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 48.737659 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.024686 frame rate = 38.000000 currentSceneLux 1692.989, linearMetric .0.196952, cameraEfficiency 0.151 cg highlight 0.004 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 11.098104 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:++++++ SCENE_CHANGING, Sharp delta 9.10%, (10.09, 11.10), SharpTrigger, , avgDCT 3.50, thsDCT 90.00 currentSceneLux 1692.989, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.226732 m_highlightGainApplied 0.004286 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.004286 # JR :: (mLux, hLux) (mGain, hGain) dre = (2192.600, 2417.615) (0.003, 0.003) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.46867 and NewCommonGains 0.00367 runBreakDownAlgorithm:TargetCGain 0.00367, 0.00367, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00367, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00367 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00367 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.02116 CoarseSearch If: for Stage 1, coarseTarget 0.02116 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02116 IndexCoarseTaget 0 PWL requiredCGain 0.00367 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00367 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02116 , remainingCGain 0.02116 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02116 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02116, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02116 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02116, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02116, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02116 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02116 CoarseSearch If: for Stage 1, coarseTarget 0.02116 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02116 IndexCoarseTaget 0 PWL requiredCGain 0.02116 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.02116 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02116 , remainingCGain 0.02116 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02116 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02116, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02116 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02116, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02116, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02116 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02116 CoarseSearch If: for Stage 1, coarseTarget 0.02116 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02116 IndexCoarseTaget 0 PWL requiredCGain 0.02116 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02116 , remainingCGain 0.02116 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02116 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02116, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02116 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02116, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02116, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02116 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02116 CoarseSearch If: for Stage 1, coarseTarget 0.02116 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02116 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02116 , remainingCGain 0.02116 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02116 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02116, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02116 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02116, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02116 GainSelected 0.02116, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00367 totalAchievedCGains 0.00367 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02116, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00367, DRE 1.00000 and Pre {0.00367, 0.00367} UdpateFrameData: AA 0.17361, ET 0.02116, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4097, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.024273 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 39.046848 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.024273 frame rate = 38.000000 currentSceneLux 1699.533, linearMetric .0.194400, cameraEfficiency 0.151 cg highlight 0.004 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 11.413531 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:++++++ SCENE_CHANGING, Sharp delta 9.04%, (10.38, 11.41), SharpTrigger, , avgDCT 4.00, thsDCT 90.00 currentSceneLux 1699.533, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.223056 m_highlightGainApplied 0.004214 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.004214 # JR :: (mLux, hLux) (mGain, hGain) dre = (2193.812, 2458.817) (0.003, 0.003) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.44618 and NewCommonGains 0.00356 runBreakDownAlgorithm:TargetCGain 0.00356, 0.00356, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00356, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.02052 CoarseSearch If: for Stage 1, coarseTarget 0.02052 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02052 IndexCoarseTaget 0 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.02052 , remainingCGain 0.02052 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02052 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02052, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02052 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02052, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02052, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.02052 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02052 CoarseSearch If: for Stage 1, coarseTarget 0.02052 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02052 IndexCoarseTaget 0 PWL requiredCGain 0.02052 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.02052 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02052 , remainingCGain 0.02052 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.02052 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02052, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02052 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02052, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02052, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.02052 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02052 CoarseSearch If: for Stage 1, coarseTarget 0.02052 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02052 IndexCoarseTaget 0 PWL requiredCGain 0.02052 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02052 , remainingCGain 0.02052 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.02052 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02052, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02052 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02052, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.02052, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.02052 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.02052 CoarseSearch If: for Stage 1, coarseTarget 0.02052 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.02052 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.02052 , remainingCGain 0.02052 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.02052 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.02052, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.02052 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.02052, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.02052 GainSelected 0.02052, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00356 totalAchievedCGains 0.00356 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.02052, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00356, DRE 1.00000 and Pre {0.00356, 0.00356} UdpateFrameData: AA 0.17361, ET 0.02052, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4043, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.023419 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 73.951302 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.023419 frame rate = 38.000000 currentSceneLux 1715.533, linearMetric .0.189331, cameraEfficiency 0.151 cg highlight 0.004 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 11.954640 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) currentSceneLux 1715.533, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.217014 m_highlightGainApplied 0.004066 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.004066 # JR :: (mLux, hLux) (mGain, hGain) dre = (2212.165, 2548.410) (0.003, 0.003) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45320 and NewCommonGains 0.00345 runBreakDownAlgorithm:TargetCGain 0.00345, 0.00345, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00345, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00345 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00345 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01989 CoarseSearch If: for Stage 1, coarseTarget 0.01989 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01989 IndexCoarseTaget 0 PWL requiredCGain 0.00345 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00345 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01989 , remainingCGain 0.01989 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01989 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01989, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01989 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01989, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01989, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01989 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01989 CoarseSearch If: for Stage 1, coarseTarget 0.01989 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01989 IndexCoarseTaget 0 PWL requiredCGain 0.01989 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01989 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01989 , remainingCGain 0.01989 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01989 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01989, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01989 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01989, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01989, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01989 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01989 CoarseSearch If: for Stage 1, coarseTarget 0.01989 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01989 IndexCoarseTaget 0 PWL requiredCGain 0.01989 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01989 , remainingCGain 0.01989 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01989 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01989, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01989 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01989, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01989, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01989 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01989 CoarseSearch If: for Stage 1, coarseTarget 0.01989 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01989 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01989 , remainingCGain 0.01989 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01989 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01989, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01989 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01989, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01989 GainSelected 0.01989, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00345 totalAchievedCGains 0.00345 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01989, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00345, DRE 1.00000 and Pre {0.00345, 0.00345} UdpateFrameData: AA 0.17361, ET 0.01989, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3999, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.022615 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 46.113182 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.022615 frame rate = 38.000000 currentSceneLux 1730.074, linearMetric .0.184383, cameraEfficiency 0.151 cg highlight 0.004 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 12.449066 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 6.89% (11.95, 12.45), , , , , avgDCT 4.00, thsDCT 300.00 currentSceneLux 1730.074, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.211418 m_highlightGainApplied 0.003926 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.003926 # JR :: (mLux, hLux) (mGain, hGain) dre = (2231.716, 2638.983) (0.003, 0.003) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45826 and NewCommonGains 0.00334 runBreakDownAlgorithm:TargetCGain 0.00334, 0.00334, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00334, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00334 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00334 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01926 CoarseSearch If: for Stage 1, coarseTarget 0.01926 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01926 IndexCoarseTaget 0 PWL requiredCGain 0.00334 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00334 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01926 , remainingCGain 0.01926 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01926 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01926, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01926 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01926, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01926, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01926 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01926 CoarseSearch If: for Stage 1, coarseTarget 0.01926 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01926 IndexCoarseTaget 0 PWL requiredCGain 0.01926 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01926 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01926 , remainingCGain 0.01926 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01926 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01926, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01926 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01926, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01926, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01926 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01926 CoarseSearch If: for Stage 1, coarseTarget 0.01926 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01926 IndexCoarseTaget 0 PWL requiredCGain 0.01926 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01926 , remainingCGain 0.01926 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01926 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01926, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01926 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01926, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01926, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01926 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01926 CoarseSearch If: for Stage 1, coarseTarget 0.01926 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01926 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01926 , remainingCGain 0.01926 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01926 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01926, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01926 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01926, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01926 GainSelected 0.01926, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00334 totalAchievedCGains 0.00334 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01926, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00334, DRE 1.00000 and Pre {0.00334, 0.00334} UdpateFrameData: AA 0.17361, ET 0.01926, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3960, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.021863 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 56.017227 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.021863 frame rate = 38.000000 currentSceneLux 1745.842, linearMetric .0.179876, cameraEfficiency 0.151 cg highlight 0.004 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 12.920917 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 13.47% (11.95, 12.92), , , , , avgDCT 3.50, thsDCT 300.00 currentSceneLux 1745.842, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.206539 m_highlightGainApplied 0.003796 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.003796 # JR :: (mLux, hLux) (mGain, hGain) dre = (2255.209, 2729.758) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.46123 and NewCommonGains 0.00324 runBreakDownAlgorithm:TargetCGain 0.00324, 0.00324, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00324, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00324 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00324 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01866 CoarseSearch If: for Stage 1, coarseTarget 0.01866 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01866 IndexCoarseTaget 0 PWL requiredCGain 0.00324 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00324 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01866 , remainingCGain 0.01866 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01866 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01866, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01866 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01866, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01866, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01866 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01866 CoarseSearch If: for Stage 1, coarseTarget 0.01866 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01866 IndexCoarseTaget 0 PWL requiredCGain 0.01866 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01866 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01866 , remainingCGain 0.01866 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01866 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01866, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01866 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01866, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01866, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01866 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01866 CoarseSearch If: for Stage 1, coarseTarget 0.01866 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01866 IndexCoarseTaget 0 PWL requiredCGain 0.01866 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01866 , remainingCGain 0.01866 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01866 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01866, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01866 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01866, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01866, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01866 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01866 CoarseSearch If: for Stage 1, coarseTarget 0.01866 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01866 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01866 , remainingCGain 0.01866 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01866 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01866, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01866 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01866, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01866 GainSelected 0.01866, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00324 totalAchievedCGains 0.00324 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01866, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00324, DRE 1.00000 and Pre {0.00324, 0.00324} UdpateFrameData: AA 0.17361, ET 0.01866, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3924, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.021165 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 100.000000 (idx = 0) response = 52.828384 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.021165 frame rate = 38.000000 currentSceneLux 1761.155, linearMetric .0.175654, cameraEfficiency 0.151 cg highlight 0.004 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 13.295220 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 18.69% (11.95, 13.30), , , , , avgDCT 2.75, thsDCT 300.00 currentSceneLux 1761.155, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.202750 m_highlightGainApplied 0.003674 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.003674 # JR :: (mLux, hLux) (mGain, hGain) dre = (2286.932, 2819.891) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.46197 and NewCommonGains 0.00314 runBreakDownAlgorithm:TargetCGain 0.00314, 0.00314, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00314, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01807 CoarseSearch If: for Stage 1, coarseTarget 0.01807 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01807 IndexCoarseTaget 0 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01807 , remainingCGain 0.01807 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01807 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01807, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01807 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01807, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01807, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01807 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01807 CoarseSearch If: for Stage 1, coarseTarget 0.01807 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01807 IndexCoarseTaget 0 PWL requiredCGain 0.01807 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01807 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01807 , remainingCGain 0.01807 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01807 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01807, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01807 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01807, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01807, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01807 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01807 CoarseSearch If: for Stage 1, coarseTarget 0.01807 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01807 IndexCoarseTaget 0 PWL requiredCGain 0.01807 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01807 , remainingCGain 0.01807 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01807 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01807, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01807 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01807, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01807, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01807 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01807 CoarseSearch If: for Stage 1, coarseTarget 0.01807 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01807 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01807 , remainingCGain 0.01807 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01807 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01807, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01807 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01807, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01807 GainSelected 0.01807, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00314 totalAchievedCGains 0.00314 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01807, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00314, DRE 1.00000 and Pre {0.00314, 0.00314} UdpateFrameData: AA 0.17361, ET 0.01807, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3892, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.020520 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 100.000000 (idx = 0) response = 50.781082 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.020520 frame rate = 38.000000 currentSceneLux 1775.524, linearMetric .0.171694, cameraEfficiency 0.151 cg highlight 0.004 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 13.671405 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 30.83% (12.45, 13.67), , , , , avgDCT 1.75, thsDCT 300.00 currentSceneLux 1775.524, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.198865 m_highlightGainApplied 0.003563 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.003563 # JR :: (mLux, hLux) (mGain, hGain) dre = (2313.569, 2908.462) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.46039 and NewCommonGains 0.00304 runBreakDownAlgorithm:TargetCGain 0.00304, 0.00304, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00304, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00304 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00304 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01750 CoarseSearch If: for Stage 1, coarseTarget 0.01750 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01750 IndexCoarseTaget 0 PWL requiredCGain 0.00304 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00304 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01750 , remainingCGain 0.01750 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01750 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01750, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01750 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01750, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01750, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01750 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01750 CoarseSearch If: for Stage 1, coarseTarget 0.01750 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01750 IndexCoarseTaget 0 PWL requiredCGain 0.01750 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01750 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01750 , remainingCGain 0.01750 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01750 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01750, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01750 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01750, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01750, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01750 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01750 CoarseSearch If: for Stage 1, coarseTarget 0.01750 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01750 IndexCoarseTaget 0 PWL requiredCGain 0.01750 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01750 , remainingCGain 0.01750 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01750 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01750, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01750 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01750, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01750, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01750 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01750 CoarseSearch If: for Stage 1, coarseTarget 0.01750 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01750 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01750 , remainingCGain 0.01750 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01750 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01750, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01750 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01750, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01750 GainSelected 0.01750, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00304 totalAchievedCGains 0.00304 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01750, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00304, DRE 1.00000 and Pre {0.00304, 0.00304} UdpateFrameData: AA 0.17361, ET 0.01750, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3863, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.019885 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 100.000000 (idx = 0) response = 59.836403 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.019885 frame rate = 38.000000 currentSceneLux 1791.563, linearMetric .0.167888, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 13.991987 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 41.88% (12.92, 13.99), , , , , avgDCT 2.00, thsDCT 300.00 currentSceneLux 1791.563, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.195075 m_highlightGainApplied 0.003452 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.003452 # JR :: (mLux, hLux) (mGain, hGain) dre = (2341.893, 3001.276) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45967 and NewCommonGains 0.00294 runBreakDownAlgorithm:TargetCGain 0.00294, 0.00294, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00294, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00294 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00294 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01695 CoarseSearch If: for Stage 1, coarseTarget 0.01695 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01695 IndexCoarseTaget 0 PWL requiredCGain 0.00294 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00294 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01695 , remainingCGain 0.01695 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01695 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01695, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01695 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01695, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01695, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01695 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01695 CoarseSearch If: for Stage 1, coarseTarget 0.01695 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01695 IndexCoarseTaget 0 PWL requiredCGain 0.01695 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01695 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01695 , remainingCGain 0.01695 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01695 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01695, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01695 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01695, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01695, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01695 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01695 CoarseSearch If: for Stage 1, coarseTarget 0.01695 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01695 IndexCoarseTaget 0 PWL requiredCGain 0.01695 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01695 , remainingCGain 0.01695 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01695 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01695, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01695 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01695, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01695, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01695 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01695 CoarseSearch If: for Stage 1, coarseTarget 0.01695 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01695 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01695 , remainingCGain 0.01695 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01695 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01695, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01695 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01695, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01695 GainSelected 0.01695, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00294 totalAchievedCGains 0.00294 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01695, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00294, DRE 1.00000 and Pre {0.00294, 0.00294} UdpateFrameData: AA 0.17361, ET 0.01695, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3847, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.019264 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 65.234314 Return: peak confidence (9.702051) < th (10.000000) After detection: state = 1 flicker freq = inf exposure time = 0.019264 frame rate = 38.000000 currentSceneLux 1807.424, linearMetric .0.164079, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 14.328108 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 51.78% (13.30, 14.33), , , , , avgDCT 2.25, thsDCT 300.00 currentSceneLux 1807.424, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.191114 m_highlightGainApplied 0.003344 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.003344 # JR :: (mLux, hLux) (mGain, hGain) dre = (2368.385, 3098.139) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45953 and NewCommonGains 0.00285 runBreakDownAlgorithm:TargetCGain 0.00285, 0.00285, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00285, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00285 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00285 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01642 CoarseSearch If: for Stage 1, coarseTarget 0.01642 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01642 IndexCoarseTaget 0 PWL requiredCGain 0.00285 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00285 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01642 , remainingCGain 0.01642 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01642 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01642, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01642 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01642, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01642, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01642 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01642 CoarseSearch If: for Stage 1, coarseTarget 0.01642 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01642 IndexCoarseTaget 0 PWL requiredCGain 0.01642 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01642 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01642 , remainingCGain 0.01642 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01642 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01642, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01642 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01642, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01642, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01642 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01642 CoarseSearch If: for Stage 1, coarseTarget 0.01642 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01642 IndexCoarseTaget 0 PWL requiredCGain 0.01642 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01642 , remainingCGain 0.01642 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01642 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01642, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01642 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01642, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01642, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01642 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01642 CoarseSearch If: for Stage 1, coarseTarget 0.01642 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01642 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01642 , remainingCGain 0.01642 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01642 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01642, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01642 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01642, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01642 GainSelected 0.01642, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00285 totalAchievedCGains 0.00285 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01642, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00285, DRE 1.00000 and Pre {0.00285, 0.00285} UdpateFrameData: AA 0.17361, ET 0.01642, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3833, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.018658 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 69.062103 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.050000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.018658 frame rate = 38.000000 currentSceneLux 1824.263, linearMetric .0.160397, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 14.643673 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 61.42% (13.67, 14.64), , , , , avgDCT 2.75, thsDCT 300.00 currentSceneLux 1824.263, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.188083 m_highlightGainApplied 0.003239 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.003239 # JR :: (mLux, hLux) (mGain, hGain) dre = (2406.543, 3198.786) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45970 and NewCommonGains 0.00276 runBreakDownAlgorithm:TargetCGain 0.00276, 0.00276, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00276, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00276 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00276 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01591 CoarseSearch If: for Stage 1, coarseTarget 0.01591 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01591 IndexCoarseTaget 0 PWL requiredCGain 0.00276 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00276 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01591 , remainingCGain 0.01591 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01591 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01591, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01591 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01591, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01591, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01591 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01591 CoarseSearch If: for Stage 1, coarseTarget 0.01591 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01591 IndexCoarseTaget 0 PWL requiredCGain 0.01591 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01591 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01591 , remainingCGain 0.01591 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01591 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01591, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01591 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01591, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01591, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01591 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01591 CoarseSearch If: for Stage 1, coarseTarget 0.01591 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01591 IndexCoarseTaget 0 PWL requiredCGain 0.01591 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01591 , remainingCGain 0.01591 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01591 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01591, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01591 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01591, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01591, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01591 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01591 CoarseSearch If: for Stage 1, coarseTarget 0.01591 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01591 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01591 , remainingCGain 0.01591 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01591 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01591, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01591 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01591, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01591 GainSelected 0.01591, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00276 totalAchievedCGains 0.00276 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01591, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00276, DRE 1.00000 and Pre {0.00276, 0.00276} UdpateFrameData: AA 0.17361, ET 0.01591, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3820, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.018070 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 100.000000 (idx = 0) response = 75.323784 Return: no candidate frequency matched After detection: state = 1 flicker freq = inf exposure time = 0.018070 frame rate = 38.000000 currentSceneLux 1842.093, linearMetric .0.156860, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 14.942586 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 70.06% (13.99, 14.94), , , , , avgDCT 3.50, thsDCT 300.00 currentSceneLux 1842.093, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.185082 m_highlightGainApplied 0.003137 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.003137 # JR :: (mLux, hLux) (mGain, hGain) dre = (2445.210, 3302.871) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45993 and NewCommonGains 0.00267 runBreakDownAlgorithm:TargetCGain 0.00267, 0.00267, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00267, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00267 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00267 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01541 CoarseSearch If: for Stage 1, coarseTarget 0.01541 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01541 IndexCoarseTaget 0 PWL requiredCGain 0.00267 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00267 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01541 , remainingCGain 0.01541 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01541 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01541, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01541 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01541, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01541, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01541 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01541 CoarseSearch If: for Stage 1, coarseTarget 0.01541 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01541 IndexCoarseTaget 0 PWL requiredCGain 0.01541 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01541 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01541 , remainingCGain 0.01541 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01541 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01541, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01541 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01541, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01541, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01541 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01541 CoarseSearch If: for Stage 1, coarseTarget 0.01541 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01541 IndexCoarseTaget 0 PWL requiredCGain 0.01541 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01541 , remainingCGain 0.01541 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01541 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01541, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01541 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01541, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01541, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01541 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01541 CoarseSearch If: for Stage 1, coarseTarget 0.01541 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01541 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01541 , remainingCGain 0.01541 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01541 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01541, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01541 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01541, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01541 GainSelected 0.01541, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00267 totalAchievedCGains 0.00267 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01541, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00267, DRE 1.00000 and Pre {0.00267, 0.00267} UdpateFrameData: AA 0.17361, ET 0.01541, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3808, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.017502 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 78.048470 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.100000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.017502 frame rate = 38.000000 currentSceneLux 1860.740, linearMetric .0.153472, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 15.266514 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 79.26% (14.33, 15.27), , , , , avgDCT 3.25, thsDCT 300.00 currentSceneLux 1860.740, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.182257 m_highlightGainApplied 0.003039 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.003039 # JR :: (mLux, hLux) (mGain, hGain) dre = (2485.969, 3409.969) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45997 and NewCommonGains 0.00259 runBreakDownAlgorithm:TargetCGain 0.00259, 0.00259, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00259, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00259 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00259 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01492 CoarseSearch If: for Stage 1, coarseTarget 0.01492 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01492 IndexCoarseTaget 0 PWL requiredCGain 0.00259 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00259 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01492 , remainingCGain 0.01492 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01492 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01492, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01492 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01492, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01492, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01492 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01492 CoarseSearch If: for Stage 1, coarseTarget 0.01492 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01492 IndexCoarseTaget 0 PWL requiredCGain 0.01492 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01492 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01492 , remainingCGain 0.01492 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01492 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01492, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01492 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01492, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01492, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01492 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01492 CoarseSearch If: for Stage 1, coarseTarget 0.01492 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01492 IndexCoarseTaget 0 PWL requiredCGain 0.01492 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01492 , remainingCGain 0.01492 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01492 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01492, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01492 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01492, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01492, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01492 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01492 CoarseSearch If: for Stage 1, coarseTarget 0.01492 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01492 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01492 , remainingCGain 0.01492 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01492 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01492, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01492 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01492, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01492 GainSelected 0.01492, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 38.00000, requiredCain 0.00259 totalAchievedCGains 0.00259 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01492, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00259, DRE 1.00000 and Pre {0.00259, 0.00259} UdpateFrameData: AA 0.17361, ET 0.01492, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3798, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.016953 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 87.908958 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.150000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.016953 frame rate = 38.000000 currentSceneLux 1878.549, linearMetric .0.150081, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 15.513448 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 87.10% (14.64, 15.51), , , , , avgDCT 4.75, thsDCT 300.00 currentSceneLux 1878.549, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.178989 m_highlightGainApplied 0.002943 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002943 # JR :: (mLux, hLux) (mGain, hGain) dre = (2520.435, 3520.369) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45994 and NewCommonGains 0.00251 runBreakDownAlgorithm:TargetCGain 0.00251, 0.00251, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00251, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01446 CoarseSearch If: for Stage 1, coarseTarget 0.01446 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01446 IndexCoarseTaget 0 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01446 , remainingCGain 0.01446 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01446 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01446, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01446 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01446, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01446, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01446 CoarseSearch If: for Stage 1, coarseTarget 0.01446 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01446 IndexCoarseTaget 0 PWL requiredCGain 0.01446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01446 , remainingCGain 0.01446 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01446 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01446, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01446 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01446, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01446, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01446 CoarseSearch If: for Stage 1, coarseTarget 0.01446 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01446 IndexCoarseTaget 0 PWL requiredCGain 0.01446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01446 , remainingCGain 0.01446 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01446 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01446, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01446 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01446, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01446, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01446 CoarseSearch If: for Stage 1, coarseTarget 0.01446 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01446 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01446 , remainingCGain 0.01446 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01446 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01446, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01446 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01446, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01446 GainSelected 0.01446, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00251 totalAchievedCGains 0.00251 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01446, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00251, DRE 1.00000 and Pre {0.00251, 0.00251} UdpateFrameData: AA 0.17361, ET 0.01446, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3803, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.016422 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 87.497101 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.200000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.016422 frame rate = 38.000000 currentSceneLux 1897.245, linearMetric .0.146823, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 15.757456 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 94.67% (14.94, 15.76), , , , , avgDCT 5.00, thsDCT 300.00 currentSceneLux 1897.245, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.176143 m_highlightGainApplied 0.002851 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002851 # JR :: (mLux, hLux) (mGain, hGain) dre = (2560.636, 3634.306) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00243 runBreakDownAlgorithm:TargetCGain 0.00243, 0.00243, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00243, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00243 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00243 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01400 CoarseSearch If: for Stage 1, coarseTarget 0.01400 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01400 IndexCoarseTaget 0 PWL requiredCGain 0.00243 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00243 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01400 , remainingCGain 0.01400 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01400 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01400, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01400 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01400, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01400, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01400 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01400 CoarseSearch If: for Stage 1, coarseTarget 0.01400 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01400 IndexCoarseTaget 0 PWL requiredCGain 0.01400 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01400 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01400 , remainingCGain 0.01400 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01400 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01400, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01400 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01400, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01400, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01400 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01400 CoarseSearch If: for Stage 1, coarseTarget 0.01400 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01400 IndexCoarseTaget 0 PWL requiredCGain 0.01400 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01400 , remainingCGain 0.01400 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01400 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01400, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01400 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01400, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01400, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01400 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01400 CoarseSearch If: for Stage 1, coarseTarget 0.01400 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01400 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01400 , remainingCGain 0.01400 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01400 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01400, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01400 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01400, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01400 GainSelected 0.01400, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00243 totalAchievedCGains 0.00243 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01400, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00243, DRE 1.00000 and Pre {0.00243, 0.00243} UdpateFrameData: AA 0.17361, ET 0.01400, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3807, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.015907 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 95.768250 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.250000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.015907 frame rate = 38.000000 currentSceneLux 1917.302, linearMetric .0.143722, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 15.957149 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 11.95, diff 101.97% (15.27, 15.96), SharpTrigger, , , , avgDCT 4.75, thsDCT 300.00 currentSceneLux 1917.302, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.173226 m_highlightGainApplied 0.002762 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002762 # JR :: (mLux, hLux) (mGain, hGain) dre = (2599.758, 3751.974) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45988 and NewCommonGains 0.00235 runBreakDownAlgorithm:TargetCGain 0.00235, 0.00235, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00235, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00235 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00235 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01356 CoarseSearch If: for Stage 1, coarseTarget 0.01356 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01356 IndexCoarseTaget 0 PWL requiredCGain 0.00235 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00235 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01356 , remainingCGain 0.01356 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01356 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01356, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01356 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01356, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01356, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01356 CoarseSearch If: for Stage 1, coarseTarget 0.01356 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01356 IndexCoarseTaget 0 PWL requiredCGain 0.01356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01356 , remainingCGain 0.01356 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01356 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01356, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01356 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01356, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01356, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01356 CoarseSearch If: for Stage 1, coarseTarget 0.01356 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01356 IndexCoarseTaget 0 PWL requiredCGain 0.01356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01356 , remainingCGain 0.01356 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01356 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01356, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01356 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01356, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01356, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01356 CoarseSearch If: for Stage 1, coarseTarget 0.01356 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01356 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01356 , remainingCGain 0.01356 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01356 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01356, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01356 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01356, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01356 GainSelected 0.01356, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00235 totalAchievedCGains 0.00235 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01356, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00235, DRE 1.00000 and Pre {0.00235, 0.00235} UdpateFrameData: AA 0.17361, ET 0.01356, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3811, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.015408 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 97.798500 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.300000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.015408 frame rate = 38.000000 currentSceneLux 1938.685, linearMetric .0.140765, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 16.128553 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:++++++ SCENE_CHANGING, Sharp delta 3.81%, (15.51, 16.13), SharpTrigger, , avgDCT 4.25, thsDCT 90.00 currentSceneLux 1938.685, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.170705 m_highlightGainApplied 0.002675 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002675 # JR :: (mLux, hLux) (mGain, hGain) dre = (2644.912, 3873.511) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45989 and NewCommonGains 0.00228 runBreakDownAlgorithm:TargetCGain 0.00228, 0.00228, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00228, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00228 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00228 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01314 CoarseSearch If: for Stage 1, coarseTarget 0.01314 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01314 IndexCoarseTaget 0 PWL requiredCGain 0.00228 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00228 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01314 , remainingCGain 0.01314 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01314 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01314, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01314 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01314, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01314, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01314 CoarseSearch If: for Stage 1, coarseTarget 0.01314 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01314 IndexCoarseTaget 0 PWL requiredCGain 0.01314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01314 , remainingCGain 0.01314 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01314 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01314, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01314 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01314, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01314, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01314 CoarseSearch If: for Stage 1, coarseTarget 0.01314 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01314 IndexCoarseTaget 0 PWL requiredCGain 0.01314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01314 , remainingCGain 0.01314 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01314 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01314, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01314 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01314, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01314, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01314 CoarseSearch If: for Stage 1, coarseTarget 0.01314 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01314 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01314 , remainingCGain 0.01314 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01314 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01314, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01314 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01314, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01314 GainSelected 0.01314, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00228 totalAchievedCGains 0.00228 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01314, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00228, DRE 1.00000 and Pre {0.00228, 0.00228} UdpateFrameData: AA 0.17361, ET 0.01314, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3814, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.014924 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 100.145638 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.350000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.014924 frame rate = 38.000000 currentSceneLux 1959.447, linearMetric .0.137808, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 16.377926 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:++++++ SCENE_CHANGING, Sharp delta 3.79%, (15.76, 16.38), SharpTrigger, , avgDCT 4.25, thsDCT 90.00 currentSceneLux 1959.447, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.167942 m_highlightGainApplied 0.002591 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002591 # JR :: (mLux, hLux) (mGain, hGain) dre = (2686.399, 3998.997) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00221 runBreakDownAlgorithm:TargetCGain 0.00221, 0.00221, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00221, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00221 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00221 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01273 CoarseSearch If: for Stage 1, coarseTarget 0.01273 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01273 IndexCoarseTaget 0 PWL requiredCGain 0.00221 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00221 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01273 , remainingCGain 0.01273 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01273 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01273, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01273 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01273, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01273, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01273 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01273 CoarseSearch If: for Stage 1, coarseTarget 0.01273 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01273 IndexCoarseTaget 0 PWL requiredCGain 0.01273 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01273 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01273 , remainingCGain 0.01273 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01273 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01273, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01273 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01273, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01273, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01273 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01273 CoarseSearch If: for Stage 1, coarseTarget 0.01273 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01273 IndexCoarseTaget 0 PWL requiredCGain 0.01273 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01273 , remainingCGain 0.01273 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01273 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01273, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01273 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01273, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01273, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01273 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01273 CoarseSearch If: for Stage 1, coarseTarget 0.01273 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01273 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01273 , remainingCGain 0.01273 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01273 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01273, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01273 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01273, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01273 GainSelected 0.01273, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00221 totalAchievedCGains 0.00221 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01273, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00221, DRE 1.00000 and Pre {0.00221, 0.00221} UdpateFrameData: AA 0.17361, ET 0.01273, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3817, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.014456 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 107.412849 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.400000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.014456 frame rate = 38.000000 currentSceneLux 1981.426, linearMetric .0.134981, cameraEfficiency 0.151 cg highlight 0.003 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 16.557623 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:++++++ SCENE_CHANGING, Sharp delta 3.63%, (15.96, 16.56), SharpTrigger, , avgDCT 5.00, thsDCT 90.00 currentSceneLux 1981.426, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.165093 m_highlightGainApplied 0.002510 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002510 # JR :: (mLux, hLux) (mGain, hGain) dre = (2726.383, 4128.545) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00214 runBreakDownAlgorithm:TargetCGain 0.00214, 0.00214, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00214, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01233 CoarseSearch If: for Stage 1, coarseTarget 0.01233 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01233 IndexCoarseTaget 0 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01233 , remainingCGain 0.01233 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01233 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01233, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01233 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01233, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01233, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01233 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01233 CoarseSearch If: for Stage 1, coarseTarget 0.01233 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01233 IndexCoarseTaget 0 PWL requiredCGain 0.01233 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01233 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01233 , remainingCGain 0.01233 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01233 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01233, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01233 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01233, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01233, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01233 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01233 CoarseSearch If: for Stage 1, coarseTarget 0.01233 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01233 IndexCoarseTaget 0 PWL requiredCGain 0.01233 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01233 , remainingCGain 0.01233 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01233 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01233, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01233 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01233, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01233, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01233 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01233 CoarseSearch If: for Stage 1, coarseTarget 0.01233 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01233 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01233 , remainingCGain 0.01233 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01233 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01233, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01233 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01233, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01233 GainSelected 0.01233, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00214 totalAchievedCGains 0.00214 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01233, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00214, DRE 1.00000 and Pre {0.00214, 0.00214} UdpateFrameData: AA 0.17361, ET 0.01233, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3840, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.014002 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 113.211517 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.450000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.014002 frame rate = 38.000000 currentSceneLux 2002.671, linearMetric .0.132148, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 16.729445 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) currentSceneLux 2002.671, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.162679 m_highlightGainApplied 0.002431 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002431 # JR :: (mLux, hLux) (mGain, hGain) dre = (2773.538, 4262.275) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00207 runBreakDownAlgorithm:TargetCGain 0.00207, 0.00207, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00207, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01194 CoarseSearch If: for Stage 1, coarseTarget 0.01194 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01194 IndexCoarseTaget 0 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01194 , remainingCGain 0.01194 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01194 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01194, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01194 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01194, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01194, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01194 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01194 CoarseSearch If: for Stage 1, coarseTarget 0.01194 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01194 IndexCoarseTaget 0 PWL requiredCGain 0.01194 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01194 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01194 , remainingCGain 0.01194 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01194 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01194, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01194 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01194, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01194, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01194 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01194 CoarseSearch If: for Stage 1, coarseTarget 0.01194 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01194 IndexCoarseTaget 0 PWL requiredCGain 0.01194 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01194 , remainingCGain 0.01194 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01194 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01194, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01194 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01194, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01194, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01194 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01194 CoarseSearch If: for Stage 1, coarseTarget 0.01194 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01194 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01194 , remainingCGain 0.01194 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01194 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01194, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01194 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01194, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01194 GainSelected 0.01194, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00207 totalAchievedCGains 0.00207 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01194, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00207, DRE 1.00000 and Pre {0.00207, 0.00207} UdpateFrameData: AA 0.17361, ET 0.01194, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3860, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.013563 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 108.078163 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.500000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.013563 frame rate = 38.000000 currentSceneLux 2025.511, linearMetric .0.129462, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 16.947813 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 2.18% (16.73, 16.95), , , , , avgDCT 8.00, thsDCT 300.00 currentSceneLux 2025.511, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.160257 m_highlightGainApplied 0.002355 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002355 # JR :: (mLux, hLux) (mGain, hGain) dre = (2820.734, 4400.329) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00201 runBreakDownAlgorithm:TargetCGain 0.00201, 0.00201, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00201, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00201 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00201 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01156 CoarseSearch If: for Stage 1, coarseTarget 0.01156 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01156 IndexCoarseTaget 0 PWL requiredCGain 0.00201 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00201 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01156 , remainingCGain 0.01156 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01156 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01156, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01156 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01156, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01156, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01156 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01156 CoarseSearch If: for Stage 1, coarseTarget 0.01156 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01156 IndexCoarseTaget 0 PWL requiredCGain 0.01156 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01156 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01156 , remainingCGain 0.01156 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01156 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01156, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01156 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01156, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01156, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01156 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01156 CoarseSearch If: for Stage 1, coarseTarget 0.01156 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01156 IndexCoarseTaget 0 PWL requiredCGain 0.01156 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01156 , remainingCGain 0.01156 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01156 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01156, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01156 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01156, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01156, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01156 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01156 CoarseSearch If: for Stage 1, coarseTarget 0.01156 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01156 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01156 , remainingCGain 0.01156 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01156 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01156, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01156 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01156, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01156 GainSelected 0.01156, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00201 totalAchievedCGains 0.00201 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01156, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00201, DRE 1.00000 and Pre {0.00201, 0.00201} UdpateFrameData: AA 0.17361, ET 0.01156, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3878, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.013137 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 108.831940 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.550000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.013137 frame rate = 38.000000 currentSceneLux 2049.909, linearMetric .0.126911, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 17.075808 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 3.45% (16.73, 17.08), , , , , avgDCT 6.00, thsDCT 300.00 currentSceneLux 2049.909, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.157892 m_highlightGainApplied 0.002281 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002281 # JR :: (mLux, hLux) (mGain, hGain) dre = (2869.117, 4542.854) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00194 runBreakDownAlgorithm:TargetCGain 0.00194, 0.00194, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00194, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00194 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00194 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01120 CoarseSearch If: for Stage 1, coarseTarget 0.01120 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01120 IndexCoarseTaget 0 PWL requiredCGain 0.00194 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00194 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01120 , remainingCGain 0.01120 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01120 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01120, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01120 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01120, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01120, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01120 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01120 CoarseSearch If: for Stage 1, coarseTarget 0.01120 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01120 IndexCoarseTaget 0 PWL requiredCGain 0.01120 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01120 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01120 , remainingCGain 0.01120 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01120 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01120, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01120 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01120, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01120, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01120 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01120 CoarseSearch If: for Stage 1, coarseTarget 0.01120 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01120 IndexCoarseTaget 0 PWL requiredCGain 0.01120 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01120 , remainingCGain 0.01120 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01120 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01120, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01120 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01120, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01120, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01120 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01120 CoarseSearch If: for Stage 1, coarseTarget 0.01120 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01120 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01120 , remainingCGain 0.01120 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01120 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01120, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01120 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01120, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01120 GainSelected 0.01120, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00194 totalAchievedCGains 0.00194 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01120, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00194, DRE 1.00000 and Pre {0.00194, 0.00194} UdpateFrameData: AA 0.17361, ET 0.01120, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3894, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.012725 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 121.465530 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.600000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.012725 frame rate = 38.000000 currentSceneLux 2073.945, linearMetric .0.124370, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 17.228399 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 4.97% (16.73, 17.23), , , , , avgDCT 3.75, thsDCT 300.00 currentSceneLux 2073.945, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.155319 m_highlightGainApplied 0.002209 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002209 # JR :: (mLux, hLux) (mGain, hGain) dre = (2913.784, 4690.003) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00188 runBreakDownAlgorithm:TargetCGain 0.00188, 0.00188, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00188, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00188 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00188 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01085 CoarseSearch If: for Stage 1, coarseTarget 0.01085 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01085 IndexCoarseTaget 0 PWL requiredCGain 0.00188 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00188 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01085 , remainingCGain 0.01085 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01085 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01085, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01085 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01085, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01085, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01085 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01085 CoarseSearch If: for Stage 1, coarseTarget 0.01085 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01085 IndexCoarseTaget 0 PWL requiredCGain 0.01085 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01085 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01085 , remainingCGain 0.01085 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01085 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01085, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01085 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01085, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01085, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01085 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01085 CoarseSearch If: for Stage 1, coarseTarget 0.01085 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01085 IndexCoarseTaget 0 PWL requiredCGain 0.01085 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01085 , remainingCGain 0.01085 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01085 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01085, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01085 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01085, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01085, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01085 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01085 CoarseSearch If: for Stage 1, coarseTarget 0.01085 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01085 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01085 , remainingCGain 0.01085 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01085 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01085, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01085 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01085, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01085 GainSelected 0.01085, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00188 totalAchievedCGains 0.00188 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01085, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00188, DRE 1.00000 and Pre {0.00188, 0.00188} UdpateFrameData: AA 0.17361, ET 0.01085, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3908, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.012326 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 115.328255 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.650000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.012326 frame rate = 38.000000 currentSceneLux 2099.795, linearMetric .0.121970, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 17.370750 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 8.56% (16.95, 17.37), , , , , avgDCT 3.00, thsDCT 300.00 currentSceneLux 2099.795, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.153085 m_highlightGainApplied 0.002140 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002140 # JR :: (mLux, hLux) (mGain, hGain) dre = (2964.909, 4841.917) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00182 runBreakDownAlgorithm:TargetCGain 0.00182, 0.00182, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00182, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01051 CoarseSearch If: for Stage 1, coarseTarget 0.01051 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01051 IndexCoarseTaget 0 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01051 , remainingCGain 0.01051 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01051 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01051, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01051 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01051, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01051, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01051 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01051 CoarseSearch If: for Stage 1, coarseTarget 0.01051 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01051 IndexCoarseTaget 0 PWL requiredCGain 0.01051 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01051 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01051 , remainingCGain 0.01051 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01051 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01051, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01051 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01051, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01051, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01051 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01051 CoarseSearch If: for Stage 1, coarseTarget 0.01051 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01051 IndexCoarseTaget 0 PWL requiredCGain 0.01051 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01051 , remainingCGain 0.01051 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01051 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01051, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01051 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01051, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01051, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01051 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01051 CoarseSearch If: for Stage 1, coarseTarget 0.01051 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01051 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01051 , remainingCGain 0.01051 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01051 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01051, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01051 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01051, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01051 GainSelected 0.01051, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00182 totalAchievedCGains 0.00182 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01051, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00182, DRE 1.00000 and Pre {0.00182, 0.00182} UdpateFrameData: AA 0.17361, ET 0.01051, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3939, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.011939 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 117.935783 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.700000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.011939 frame rate = 38.000000 currentSceneLux 2127.533, linearMetric .0.119704, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 17.462234 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 10.75% (17.08, 17.46), , , , , avgDCT 2.25, thsDCT 300.00 currentSceneLux 2127.533, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.150936 m_highlightGainApplied 0.002073 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002073 # JR :: (mLux, hLux) (mGain, hGain) dre = (3017.964, 4998.753) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00177 runBreakDownAlgorithm:TargetCGain 0.00177, 0.00177, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00177, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00177 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00177 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.01018 CoarseSearch If: for Stage 1, coarseTarget 0.01018 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01018 IndexCoarseTaget 0 PWL requiredCGain 0.00177 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00177 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.01018 , remainingCGain 0.01018 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01018 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01018, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01018 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01018, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01018, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.01018 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01018 CoarseSearch If: for Stage 1, coarseTarget 0.01018 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01018 IndexCoarseTaget 0 PWL requiredCGain 0.01018 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.01018 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01018 , remainingCGain 0.01018 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.01018 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01018, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01018 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01018, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01018, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.01018 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01018 CoarseSearch If: for Stage 1, coarseTarget 0.01018 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01018 IndexCoarseTaget 0 PWL requiredCGain 0.01018 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01018 , remainingCGain 0.01018 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.01018 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01018, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01018 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01018, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.01018, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.01018 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.01018 CoarseSearch If: for Stage 1, coarseTarget 0.01018 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.01018 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.01018 , remainingCGain 0.01018 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.01018 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.01018, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.01018 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.01018, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.01018 GainSelected 0.01018, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00177 totalAchievedCGains 0.00177 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.01018, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00177, DRE 1.00000 and Pre {0.00177, 0.00177} UdpateFrameData: AA 0.17361, ET 0.01018, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3966, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.011565 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 132.522415 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.750000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.011565 frame rate = 38.000000 currentSceneLux 2152.412, linearMetric .0.117304, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 17.576574 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 13.41% (17.23, 17.58), , , , , avgDCT 2.50, thsDCT 300.00 currentSceneLux 2152.412, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.148359 m_highlightGainApplied 0.002008 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.002008 # JR :: (mLux, hLux) (mGain, hGain) dre = (3062.520, 5160.665) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00171 runBreakDownAlgorithm:TargetCGain 0.00171, 0.00171, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00171, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00986 CoarseSearch If: for Stage 1, coarseTarget 0.00986 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00986 IndexCoarseTaget 0 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00986 , remainingCGain 0.00986 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00986 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.00986, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00986 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00986, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00986, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00986 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00986 CoarseSearch If: for Stage 1, coarseTarget 0.00986 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00986 IndexCoarseTaget 0 PWL requiredCGain 0.00986 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00986 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00986 , remainingCGain 0.00986 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00986 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.00986, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00986 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00986, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00986, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00986 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00986 CoarseSearch If: for Stage 1, coarseTarget 0.00986 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00986 IndexCoarseTaget 0 PWL requiredCGain 0.00986 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00986 , remainingCGain 0.00986 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00986 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.00986, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00986 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00986, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00986, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00986 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00986 CoarseSearch If: for Stage 1, coarseTarget 0.00986 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00986 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00986 , remainingCGain 0.00986 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00986 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.00986, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00986 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00986, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00986 GainSelected 0.00986, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00171 totalAchievedCGains 0.00171 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00986, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00171, DRE 1.00000 and Pre {0.00171, 0.00171} UdpateFrameData: AA 0.17361, ET 0.00986, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3991, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.011202 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 116.275810 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.800000, th = 0.800000) After detection: state = 1 flicker freq = inf exposure time = 0.011202 frame rate = 38.000000 currentSceneLux 2181.959, linearMetric .0.115183, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 17.640608 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 15.47% (17.37, 17.64), , , , , avgDCT 2.50, thsDCT 300.00 currentSceneLux 2181.959, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.146331 m_highlightGainApplied 0.001945 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.001945 # JR :: (mLux, hLux) (mGain, hGain) dre = (3118.510, 5327.821) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00166 runBreakDownAlgorithm:TargetCGain 0.00166, 0.00166, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00166, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00166 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00166 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00955 CoarseSearch If: for Stage 1, coarseTarget 0.00955 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00955 IndexCoarseTaget 0 PWL requiredCGain 0.00166 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00166 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00955 , remainingCGain 0.00955 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00955 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.00955, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00955 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00955, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00955, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00955 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00955 CoarseSearch If: for Stage 1, coarseTarget 0.00955 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00955 IndexCoarseTaget 0 PWL requiredCGain 0.00955 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00955 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00955 , remainingCGain 0.00955 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00955 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.00955, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00955 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00955, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00955, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00955 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00955 CoarseSearch If: for Stage 1, coarseTarget 0.00955 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00955 IndexCoarseTaget 0 PWL requiredCGain 0.00955 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00955 , remainingCGain 0.00955 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00955 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.00955, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00955 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00955, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00955, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00955 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00955 CoarseSearch If: for Stage 1, coarseTarget 0.00955 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00955 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00955 , remainingCGain 0.00955 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00955 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 findBestMatch: after flicker gainSelected 0.00955, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00955 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00955, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00955 GainSelected 0.00955, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00166 totalAchievedCGains 0.00166 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00955, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00166, DRE 1.00000 and Pre {0.00166, 0.00166} UdpateFrameData: AA 0.17361, ET 0.00955, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4013, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 1 flicker period = 0.000000 exposure time = 0.010850 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 121.509003 Pass: (highest Score = 0.850000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.010850 frame rate = 38.000000 currentSceneLux 2211.230, linearMetric .0.113066, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 17.765816 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 17.63% (17.46, 17.77), , , , , avgDCT 2.25, thsDCT 300.00 currentSceneLux 2211.230, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.144206 m_highlightGainApplied 0.001884 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.001884 # JR :: (mLux, hLux) (mGain, hGain) dre = (3172.754, 5500.395) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00161 runBreakDownAlgorithm:TargetCGain 0.00161, 0.00161, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00161, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00161 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00161 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00925 CoarseSearch If: for Stage 1, coarseTarget 0.00925 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00925 IndexCoarseTaget 0 PWL requiredCGain 0.00161 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00161 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00925 , remainingCGain 0.00925 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00925 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00925 findBestMatch: after flicker gainSelected 0.00925, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00925 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00925, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00925, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00925 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00925 CoarseSearch If: for Stage 1, coarseTarget 0.00925 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00925 IndexCoarseTaget 0 PWL requiredCGain 0.00925 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00925 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00925 , remainingCGain 0.00925 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00925 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00925 findBestMatch: after flicker gainSelected 0.00925, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00925 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00925, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00925, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00925 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00925 CoarseSearch If: for Stage 1, coarseTarget 0.00925 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00925 IndexCoarseTaget 0 PWL requiredCGain 0.00925 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00925 , remainingCGain 0.00925 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00925 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00925 findBestMatch: after flicker gainSelected 0.00925, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00925 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00925, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00925, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00925 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00925 CoarseSearch If: for Stage 1, coarseTarget 0.00925 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00925 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00925 , remainingCGain 0.00925 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00925 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00925 findBestMatch: after flicker gainSelected 0.00925, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00925 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00925, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00925 GainSelected 0.00925, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00161 totalAchievedCGains 0.00161 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00925, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00161, DRE 1.00000 and Pre {0.00161, 0.00161} UdpateFrameData: AA 0.17361, ET 0.00925, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4044, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.010510 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 136.160248 Pass: (highest Score = 0.900000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.010510 frame rate = 38.000000 currentSceneLux 2239.980, linearMetric .0.110943, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 17.893951 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 20.04% (17.58, 17.89), , , , , avgDCT 2.00, thsDCT 300.00 currentSceneLux 2239.980, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.141894 m_highlightGainApplied 0.001825 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.001825 # JR :: (mLux, hLux) (mGain, hGain) dre = (3223.015, 5678.561) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00156 runBreakDownAlgorithm:TargetCGain 0.00156, 0.00156, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00156, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00156 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00156 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00896 CoarseSearch If: for Stage 1, coarseTarget 0.00896 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00896 IndexCoarseTaget 0 PWL requiredCGain 0.00156 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00156 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00896 , remainingCGain 0.00896 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00896 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00896 findBestMatch: after flicker gainSelected 0.00896, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00896 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00896, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00896, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00896 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00896 CoarseSearch If: for Stage 1, coarseTarget 0.00896 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00896 IndexCoarseTaget 0 PWL requiredCGain 0.00896 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00896 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00896 , remainingCGain 0.00896 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00896 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00896 findBestMatch: after flicker gainSelected 0.00896, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00896 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00896, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00896, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00896 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00896 CoarseSearch If: for Stage 1, coarseTarget 0.00896 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00896 IndexCoarseTaget 0 PWL requiredCGain 0.00896 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00896 , remainingCGain 0.00896 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00896 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00896 findBestMatch: after flicker gainSelected 0.00896, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00896 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00896, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00896, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00896 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00896 CoarseSearch If: for Stage 1, coarseTarget 0.00896 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00896 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00896 , remainingCGain 0.00896 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00896 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00896 findBestMatch: after flicker gainSelected 0.00896, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00896 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00896, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00896 GainSelected 0.00896, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00156 totalAchievedCGains 0.00156 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00896, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00156, DRE 1.00000 and Pre {0.00156, 0.00156} UdpateFrameData: AA 0.17361, ET 0.00896, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4071, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.010180 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 117.983231 Pass: (highest Score = 0.950000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.010180 frame rate = 38.000000 currentSceneLux 2271.272, linearMetric .0.108963, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 17.962166 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 21.36% (17.64, 17.96), , , , , avgDCT 1.75, thsDCT 300.00 currentSceneLux 2271.272, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.139473 m_highlightGainApplied 0.001767 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.001767 # JR :: (mLux, hLux) (mGain, hGain) dre = (3270.627, 5862.488) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00151 runBreakDownAlgorithm:TargetCGain 0.00151, 0.00151, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00151, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00151 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00151 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00868 CoarseSearch If: for Stage 1, coarseTarget 0.00868 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00868 IndexCoarseTaget 0 PWL requiredCGain 0.00151 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00151 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00868 , remainingCGain 0.00868 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00868 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00868 findBestMatch: after flicker gainSelected 0.00868, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00868 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00868, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00868, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00868 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00868 CoarseSearch If: for Stage 1, coarseTarget 0.00868 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00868 IndexCoarseTaget 0 PWL requiredCGain 0.00868 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00868 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00868 , remainingCGain 0.00868 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00868 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00868 findBestMatch: after flicker gainSelected 0.00868, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00868 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00868, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00868, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00868 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00868 CoarseSearch If: for Stage 1, coarseTarget 0.00868 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00868 IndexCoarseTaget 0 PWL requiredCGain 0.00868 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00868 , remainingCGain 0.00868 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00868 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00868 findBestMatch: after flicker gainSelected 0.00868, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00868 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00868, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00868, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00868 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00868 CoarseSearch If: for Stage 1, coarseTarget 0.00868 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00868 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00868 , remainingCGain 0.00868 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00868 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00868 findBestMatch: after flicker gainSelected 0.00868, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00868 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00868, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00868 GainSelected 0.00868, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00151 totalAchievedCGains 0.00151 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00868, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00151, DRE 1.00000 and Pre {0.00151, 0.00151} UdpateFrameData: AA 0.17361, ET 0.00868, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4096, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.009861 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 128.442108 Pass: (highest Score = 0.950000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.009861 frame rate = 38.000000 currentSceneLux 2302.427, linearMetric .0.106992, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 18.070930 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 23.69% (17.77, 18.07), , , , , avgDCT 2.50, thsDCT 300.00 currentSceneLux 2302.427, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.137423 m_highlightGainApplied 0.001712 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.001712 # JR :: (mLux, hLux) (mGain, hGain) dre = (3326.948, 6052.382) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00146 runBreakDownAlgorithm:TargetCGain 0.00146, 0.00146, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00146, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00146 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00146 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00841 CoarseSearch If: for Stage 1, coarseTarget 0.00841 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00841 IndexCoarseTaget 0 PWL requiredCGain 0.00146 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00146 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00841 , remainingCGain 0.00841 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00841 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00841 findBestMatch: after flicker gainSelected 0.00841, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00841 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00841, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00841, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00841 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00841 CoarseSearch If: for Stage 1, coarseTarget 0.00841 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00841 IndexCoarseTaget 0 PWL requiredCGain 0.00841 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00841 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00841 , remainingCGain 0.00841 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00841 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00841 findBestMatch: after flicker gainSelected 0.00841, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00841 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00841, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00841, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00841 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00841 CoarseSearch If: for Stage 1, coarseTarget 0.00841 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00841 IndexCoarseTaget 0 PWL requiredCGain 0.00841 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00841 , remainingCGain 0.00841 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00841 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00841 findBestMatch: after flicker gainSelected 0.00841, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00841 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00841, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00841, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00841 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00841 CoarseSearch If: for Stage 1, coarseTarget 0.00841 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00841 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00841 , remainingCGain 0.00841 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00841 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00841 findBestMatch: after flicker gainSelected 0.00841, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00841 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00841, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00841 GainSelected 0.00841, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00146 totalAchievedCGains 0.00146 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00841, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00146, DRE 1.00000 and Pre {0.00146, 0.00146} UdpateFrameData: AA 0.17361, ET 0.00841, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4119, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.009551 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 129.920258 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.009551 frame rate = 38.000000 currentSceneLux 2336.346, linearMetric .0.105162, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 18.155100 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 25.80% (17.89, 18.16), , , , , avgDCT 1.50, thsDCT 300.00 currentSceneLux 2336.346, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.135475 m_highlightGainApplied 0.001658 computeHighlightMeter: highlight signal 1.000000 m_highlightGainApplied 0.001658 # JR :: (mLux, hLux) (mGain, hGain) dre = (3386.020, 6248.425) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45990 and NewCommonGains 0.00141 runBreakDownAlgorithm:TargetCGain 0.00141, 0.00141, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00141, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00141 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00141 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00814 CoarseSearch If: for Stage 1, coarseTarget 0.00814 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00814 IndexCoarseTaget 0 PWL requiredCGain 0.00141 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00141 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00814 , remainingCGain 0.00814 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00814 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00814 findBestMatch: after flicker gainSelected 0.00814, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00814 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00814, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00814, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00814 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00814 CoarseSearch If: for Stage 1, coarseTarget 0.00814 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00814 IndexCoarseTaget 0 PWL requiredCGain 0.00814 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00814 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00814 , remainingCGain 0.00814 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00814 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00814 findBestMatch: after flicker gainSelected 0.00814, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00814 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00814, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00814, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00814 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00814 CoarseSearch If: for Stage 1, coarseTarget 0.00814 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00814 IndexCoarseTaget 0 PWL requiredCGain 0.00814 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00814 , remainingCGain 0.00814 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00814 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00814 findBestMatch: after flicker gainSelected 0.00814, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00814 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00814, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00814, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00814 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00814 CoarseSearch If: for Stage 1, coarseTarget 0.00814 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00814 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00814 , remainingCGain 0.00814 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00814 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00814 findBestMatch: after flicker gainSelected 0.00814, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00814 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00814, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00814 GainSelected 0.00814, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00141 totalAchievedCGains 0.00141 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00814, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00141, DRE 1.00000 and Pre {0.00141, 0.00141} UdpateFrameData: AA 0.17361, ET 0.00814, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4139, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.009252 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 132.418701 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.009252 frame rate = 38.000000 currentSceneLux 2369.987, linearMetric .0.103329, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 18.265190 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 27.58% (17.96, 18.27), , , , , avgDCT 1.25, thsDCT 300.00 currentSceneLux 2369.987, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.133490 m_highlightGainApplied 0.001606 computeHighlightMeter: highlight signal 0.999986 m_highlightGainApplied 0.001606 # JR :: (mLux, hLux) (mGain, hGain) dre = (3444.465, 6450.720) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45987 and NewCommonGains 0.00137 runBreakDownAlgorithm:TargetCGain 0.00137, 0.00137, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00137, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00137 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00137 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00789 CoarseSearch If: for Stage 1, coarseTarget 0.00789 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00789 IndexCoarseTaget 0 PWL requiredCGain 0.00137 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00137 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00789 , remainingCGain 0.00789 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00789 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00789 findBestMatch: after flicker gainSelected 0.00789, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00789 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00789, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00789, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00789 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00789 CoarseSearch If: for Stage 1, coarseTarget 0.00789 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00789 IndexCoarseTaget 0 PWL requiredCGain 0.00789 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00789 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00789 , remainingCGain 0.00789 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00789 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00789 findBestMatch: after flicker gainSelected 0.00789, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00789 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00789, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00789, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00789 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00789 CoarseSearch If: for Stage 1, coarseTarget 0.00789 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00789 IndexCoarseTaget 0 PWL requiredCGain 0.00789 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00789 , remainingCGain 0.00789 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00789 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00789 findBestMatch: after flicker gainSelected 0.00789, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00789 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00789, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00789, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00789 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00789 CoarseSearch If: for Stage 1, coarseTarget 0.00789 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00789 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00789 , remainingCGain 0.00789 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00789 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00789 findBestMatch: after flicker gainSelected 0.00789, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00789 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00789, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00789 GainSelected 0.00789, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00137 totalAchievedCGains 0.00137 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00789, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00137, DRE 1.00000 and Pre {0.00137, 0.00137} UdpateFrameData: AA 0.17361, ET 0.00789, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4166, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008962 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 121.879654 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008962 frame rate = 38.000000 currentSceneLux 2406.736, linearMetric .0.101639, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 18.334797 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 29.36% (18.07, 18.33), , , , , avgDCT 1.50, thsDCT 300.00 currentSceneLux 2406.736, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.131889 m_highlightGainApplied 0.001556 computeHighlightMeter: highlight signal 0.999912 m_highlightGainApplied 0.001556 # JR :: (mLux, hLux) (mGain, hGain) dre = (3513.393, 6659.181) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45977 and NewCommonGains 0.00133 runBreakDownAlgorithm:TargetCGain 0.00133, 0.00133, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00133, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00133 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00133 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00764 CoarseSearch If: for Stage 1, coarseTarget 0.00764 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00764 IndexCoarseTaget 0 PWL requiredCGain 0.00133 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00133 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00764 , remainingCGain 0.00764 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00764 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00764 findBestMatch: after flicker gainSelected 0.00764, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00764 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00764, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00764, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00764 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00764 CoarseSearch If: for Stage 1, coarseTarget 0.00764 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00764 IndexCoarseTaget 0 PWL requiredCGain 0.00764 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00764 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00764 , remainingCGain 0.00764 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00764 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00764 findBestMatch: after flicker gainSelected 0.00764, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00764 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00764, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00764, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00764 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00764 CoarseSearch If: for Stage 1, coarseTarget 0.00764 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00764 IndexCoarseTaget 0 PWL requiredCGain 0.00764 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00764 , remainingCGain 0.00764 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00764 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00764 findBestMatch: after flicker gainSelected 0.00764, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00764 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00764, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00764, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00764 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00764 CoarseSearch If: for Stage 1, coarseTarget 0.00764 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00764 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00764 , remainingCGain 0.00764 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00764 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00764 findBestMatch: after flicker gainSelected 0.00764, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00764 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00764, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00764 GainSelected 0.00764, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00133 totalAchievedCGains 0.00133 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00764, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00133, DRE 1.00000 and Pre {0.00133, 0.00133} UdpateFrameData: AA 0.17361, ET 0.00764, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4191, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008680 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 135.570480 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008680 frame rate = 38.000000 currentSceneLux 2439.876, linearMetric .0.099806, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 18.472548 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 31.57% (18.16, 18.47), , , , , avgDCT 1.25, thsDCT 300.00 currentSceneLux 2439.876, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.130265 m_highlightGainApplied 0.001507 computeHighlightMeter: highlight signal 0.999933 m_highlightGainApplied 0.001507 # JR :: (mLux, hLux) (mGain, hGain) dre = (3582.531, 6875.026) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45981 and NewCommonGains 0.00128 runBreakDownAlgorithm:TargetCGain 0.00128, 0.00128, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00128, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00128 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00128 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00740 CoarseSearch If: for Stage 1, coarseTarget 0.00740 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00740 IndexCoarseTaget 0 PWL requiredCGain 0.00128 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00128 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00740 , remainingCGain 0.00740 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00740 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00740 findBestMatch: after flicker gainSelected 0.00740, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00740 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00740, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00740, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00740 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00740 CoarseSearch If: for Stage 1, coarseTarget 0.00740 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00740 IndexCoarseTaget 0 PWL requiredCGain 0.00740 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00740 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00740 , remainingCGain 0.00740 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00740 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00740 findBestMatch: after flicker gainSelected 0.00740, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00740 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00740, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00740, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00740 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00740 CoarseSearch If: for Stage 1, coarseTarget 0.00740 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00740 IndexCoarseTaget 0 PWL requiredCGain 0.00740 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00740 , remainingCGain 0.00740 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00740 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00740 findBestMatch: after flicker gainSelected 0.00740, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00740 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00740, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00740, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00740 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00740 CoarseSearch If: for Stage 1, coarseTarget 0.00740 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00740 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00740 , remainingCGain 0.00740 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00740 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00740 findBestMatch: after flicker gainSelected 0.00740, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00740 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00740, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00740 GainSelected 0.00740, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00128 totalAchievedCGains 0.00128 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00740, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00128, DRE 1.00000 and Pre {0.00128, 0.00128} UdpateFrameData: AA 0.17361, ET 0.00740, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4213, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008408 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 125.870010 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008408 frame rate = 38.000000 currentSceneLux 2479.819, linearMetric .0.098257, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 18.547869 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 33.42% (18.27, 18.55), , , , , avgDCT 2.00, thsDCT 300.00 currentSceneLux 2479.819, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.128605 m_highlightGainApplied 0.001460 computeHighlightMeter: highlight signal 0.999832 m_highlightGainApplied 0.001460 # JR :: (mLux, hLux) (mGain, hGain) dre = (3651.458, 7097.002) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45968 and NewCommonGains 0.00124 runBreakDownAlgorithm:TargetCGain 0.00124, 0.00124, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00124, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00124 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00124 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00717 CoarseSearch If: for Stage 1, coarseTarget 0.00717 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00717 IndexCoarseTaget 0 PWL requiredCGain 0.00124 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00124 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00717 , remainingCGain 0.00717 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00717 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00717 findBestMatch: after flicker gainSelected 0.00717, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00717 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00717, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00717, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00717 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00717 CoarseSearch If: for Stage 1, coarseTarget 0.00717 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00717 IndexCoarseTaget 0 PWL requiredCGain 0.00717 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00717 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00717 , remainingCGain 0.00717 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00717 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00717 findBestMatch: after flicker gainSelected 0.00717, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00717 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00717, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00717, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00717 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00717 CoarseSearch If: for Stage 1, coarseTarget 0.00717 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00717 IndexCoarseTaget 0 PWL requiredCGain 0.00717 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00717 , remainingCGain 0.00717 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00717 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00717 findBestMatch: after flicker gainSelected 0.00717, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00717 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00717, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00717, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00717 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00717 CoarseSearch If: for Stage 1, coarseTarget 0.00717 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00717 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00717 , remainingCGain 0.00717 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00717 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00717 findBestMatch: after flicker gainSelected 0.00717, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00717 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00717, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00717 GainSelected 0.00717, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00124 totalAchievedCGains 0.00124 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00717, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00124, DRE 1.00000 and Pre {0.00124, 0.00124} UdpateFrameData: AA 0.17361, ET 0.00717, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4233, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008144 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 132.992981 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008144 frame rate = 38.000000 currentSceneLux 2516.422, linearMetric .0.096579, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 18.668409 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 35.31% (18.33, 18.67), , , , , avgDCT 4.00, thsDCT 300.00 currentSceneLux 2516.422, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.126881 m_highlightGainApplied 0.001414 computeHighlightMeter: highlight signal 0.999773 m_highlightGainApplied 0.001414 # JR :: (mLux, hLux) (mGain, hGain) dre = (3719.183, 7326.446) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45961 and NewCommonGains 0.00121 runBreakDownAlgorithm:TargetCGain 0.00121, 0.00121, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00121, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00121 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00121 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00694 CoarseSearch If: for Stage 1, coarseTarget 0.00694 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00694 IndexCoarseTaget 0 PWL requiredCGain 0.00121 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00121 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00694 , remainingCGain 0.00694 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00694 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00694 findBestMatch: after flicker gainSelected 0.00694, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00694 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00694, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00694, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00694 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00694 CoarseSearch If: for Stage 1, coarseTarget 0.00694 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00694 IndexCoarseTaget 0 PWL requiredCGain 0.00694 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00694 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00694 , remainingCGain 0.00694 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00694 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00694 findBestMatch: after flicker gainSelected 0.00694, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00694 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00694, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00694, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00694 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00694 CoarseSearch If: for Stage 1, coarseTarget 0.00694 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00694 IndexCoarseTaget 0 PWL requiredCGain 0.00694 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00694 , remainingCGain 0.00694 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00694 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00694 findBestMatch: after flicker gainSelected 0.00694, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00694 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00694, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00694, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00694 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00694 CoarseSearch If: for Stage 1, coarseTarget 0.00694 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00694 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00694 , remainingCGain 0.00694 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00694 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00694 findBestMatch: after flicker gainSelected 0.00694, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00694 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00694, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00694 GainSelected 0.00694, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00121 totalAchievedCGains 0.00121 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00694, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00121, DRE 1.00000 and Pre {0.00121, 0.00121} UdpateFrameData: AA 0.17361, ET 0.00694, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4251, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007889 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 126.424828 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007889 frame rate = 38.000000 currentSceneLux 2556.216, linearMetric .0.095029, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 18.795639 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 37.95% (18.47, 18.80), , , , , avgDCT 5.75, thsDCT 300.00 currentSceneLux 2556.216, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.125446 m_highlightGainApplied 0.001370 computeHighlightMeter: highlight signal 0.999592 m_highlightGainApplied 0.001370 # JR :: (mLux, hLux) (mGain, hGain) dre = (3796.236, 7562.383) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45938 and NewCommonGains 0.00117 runBreakDownAlgorithm:TargetCGain 0.00117, 0.00117, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00117, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00117 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00117 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00673 CoarseSearch If: for Stage 1, coarseTarget 0.00673 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00673 IndexCoarseTaget 0 PWL requiredCGain 0.00117 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00117 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00673 , remainingCGain 0.00673 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00673 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00673 findBestMatch: after flicker gainSelected 0.00673, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00673 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00673, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00673, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00673 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00673 CoarseSearch If: for Stage 1, coarseTarget 0.00673 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00673 IndexCoarseTaget 0 PWL requiredCGain 0.00673 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00673 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00673 , remainingCGain 0.00673 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00673 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00673 findBestMatch: after flicker gainSelected 0.00673, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00673 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00673, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00673, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00673 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00673 CoarseSearch If: for Stage 1, coarseTarget 0.00673 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00673 IndexCoarseTaget 0 PWL requiredCGain 0.00673 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00673 , remainingCGain 0.00673 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00673 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00673 findBestMatch: after flicker gainSelected 0.00673, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00673 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00673, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00673, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00673 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00673 CoarseSearch If: for Stage 1, coarseTarget 0.00673 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00673 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00673 , remainingCGain 0.00673 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00673 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00673 findBestMatch: after flicker gainSelected 0.00673, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00673 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00673, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00673 GainSelected 0.00673, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00117 totalAchievedCGains 0.00117 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00673, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00117, DRE 1.00000 and Pre {0.00117, 0.00117} UdpateFrameData: AA 0.17361, ET 0.00673, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4274, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007641 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 121.961914 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007641 frame rate = 38.000000 currentSceneLux 2599.750, linearMetric .0.093615, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 18.919455 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 39.93% (18.55, 18.92), , , , , avgDCT 5.50, thsDCT 300.00 currentSceneLux 2599.750, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.123929 m_highlightGainApplied 0.001327 computeHighlightMeter: highlight signal 0.999510 m_highlightGainApplied 0.001327 # JR :: (mLux, hLux) (mGain, hGain) dre = (3871.783, 7806.634) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45930 and NewCommonGains 0.00113 runBreakDownAlgorithm:TargetCGain 0.00113, 0.00113, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00113, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00113 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00113 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00652 CoarseSearch If: for Stage 1, coarseTarget 0.00652 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00652 IndexCoarseTaget 0 PWL requiredCGain 0.00113 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00113 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00652 , remainingCGain 0.00652 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00652 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00652 findBestMatch: after flicker gainSelected 0.00652, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00652 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00652, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00652, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00652 CoarseSearch If: for Stage 1, coarseTarget 0.00652 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00652 IndexCoarseTaget 0 PWL requiredCGain 0.00652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00652 , remainingCGain 0.00652 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00652 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00652 findBestMatch: after flicker gainSelected 0.00652, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00652 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00652, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00652, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00652 CoarseSearch If: for Stage 1, coarseTarget 0.00652 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00652 IndexCoarseTaget 0 PWL requiredCGain 0.00652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00652 , remainingCGain 0.00652 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00652 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00652 findBestMatch: after flicker gainSelected 0.00652, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00652 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00652, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00652, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00652 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00652 CoarseSearch If: for Stage 1, coarseTarget 0.00652 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00652 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00652 , remainingCGain 0.00652 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00652 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00652 findBestMatch: after flicker gainSelected 0.00652, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00652 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00652, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00652 GainSelected 0.00652, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00113 totalAchievedCGains 0.00113 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00652, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00113, DRE 1.00000 and Pre {0.00113, 0.00113} UdpateFrameData: AA 0.17361, ET 0.00652, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4294, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007402 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 117.804184 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007402 frame rate = 38.000000 currentSceneLux 2643.520, linearMetric .0.092206, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 19.057762 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 42.51% (18.67, 19.06), , , , , avgDCT 5.25, thsDCT 300.00 currentSceneLux 2643.520, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.122582 m_highlightGainApplied 0.001285 computeHighlightMeter: highlight signal 0.999089 m_highlightGainApplied 0.001285 # JR :: (mLux, hLux) (mGain, hGain) dre = (3953.697, 8056.059) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45875 and NewCommonGains 0.00110 runBreakDownAlgorithm:TargetCGain 0.00110, 0.00110, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00110, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00110 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00110 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00631 CoarseSearch If: for Stage 1, coarseTarget 0.00631 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00631 IndexCoarseTaget 0 PWL requiredCGain 0.00110 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00110 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00631 , remainingCGain 0.00631 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00631 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00631 findBestMatch: after flicker gainSelected 0.00631, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00631 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00631, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00631, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00631 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00631 CoarseSearch If: for Stage 1, coarseTarget 0.00631 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00631 IndexCoarseTaget 0 PWL requiredCGain 0.00631 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00631 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00631 , remainingCGain 0.00631 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00631 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00631 findBestMatch: after flicker gainSelected 0.00631, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00631 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00631, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00631, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00631 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00631 CoarseSearch If: for Stage 1, coarseTarget 0.00631 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00631 IndexCoarseTaget 0 PWL requiredCGain 0.00631 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00631 , remainingCGain 0.00631 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00631 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00631 findBestMatch: after flicker gainSelected 0.00631, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00631 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00631, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00631, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00631 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00631 CoarseSearch If: for Stage 1, coarseTarget 0.00631 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00631 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00631 , remainingCGain 0.00631 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00631 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00631 findBestMatch: after flicker gainSelected 0.00631, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00631 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00631, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00631 GainSelected 0.00631, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00110 totalAchievedCGains 0.00110 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00631, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00110, DRE 1.00000 and Pre {0.00110, 0.00110} UdpateFrameData: AA 0.17361, ET 0.00631, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4312, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007169 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 135.050995 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007169 frame rate = 38.000000 currentSceneLux 2687.533, linearMetric .0.090801, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 19.136776 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 44.57% (18.80, 19.14), , , , , avgDCT 3.25, thsDCT 300.00 currentSceneLux 2687.533, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.121046 m_highlightGainApplied 0.001245 computeHighlightMeter: highlight signal 0.998671 m_highlightGainApplied 0.001245 # JR :: (mLux, hLux) (mGain, hGain) dre = (4030.580, 8313.390) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45824 and NewCommonGains 0.00106 runBreakDownAlgorithm:TargetCGain 0.00106, 0.00106, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00106, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00106 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00106 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00611 CoarseSearch If: for Stage 1, coarseTarget 0.00611 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00611 IndexCoarseTaget 0 PWL requiredCGain 0.00106 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00106 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00611 , remainingCGain 0.00611 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00611 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00611 findBestMatch: after flicker gainSelected 0.00611, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00611 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00611, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00611, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00611 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00611 CoarseSearch If: for Stage 1, coarseTarget 0.00611 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00611 IndexCoarseTaget 0 PWL requiredCGain 0.00611 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00611 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00611 , remainingCGain 0.00611 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00611 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00611 findBestMatch: after flicker gainSelected 0.00611, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00611 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00611, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00611, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00611 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00611 CoarseSearch If: for Stage 1, coarseTarget 0.00611 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00611 IndexCoarseTaget 0 PWL requiredCGain 0.00611 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00611 , remainingCGain 0.00611 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00611 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00611 findBestMatch: after flicker gainSelected 0.00611, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00611 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00611, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00611, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00611 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00611 CoarseSearch If: for Stage 1, coarseTarget 0.00611 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00611 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00611 , remainingCGain 0.00611 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00611 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00611 findBestMatch: after flicker gainSelected 0.00611, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00611 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00611, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00611 GainSelected 0.00611, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00106 totalAchievedCGains 0.00106 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00611, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00106, DRE 1.00000 and Pre {0.00106, 0.00106} UdpateFrameData: AA 0.17361, ET 0.00611, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4329, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006945 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 129.646942 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006945 frame rate = 38.000000 currentSceneLux 2731.290, linearMetric .0.089386, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 19.309574 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 47.52% (18.92, 19.31), , , , , avgDCT 1.25, thsDCT 300.00 currentSceneLux 2731.290, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.119267 m_highlightGainApplied 0.001206 computeHighlightMeter: highlight signal 0.998019 m_highlightGainApplied 0.001206 # JR :: (mLux, hLux) (mGain, hGain) dre = (4099.888, 8576.897) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45743 and NewCommonGains 0.00103 runBreakDownAlgorithm:TargetCGain 0.00103, 0.00103, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00103, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00103 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00103 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00592 CoarseSearch If: for Stage 1, coarseTarget 0.00592 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00592 IndexCoarseTaget 0 PWL requiredCGain 0.00103 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00103 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00592 , remainingCGain 0.00592 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00592 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00592 findBestMatch: after flicker gainSelected 0.00592, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00592 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00592, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00592, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00592 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00592 CoarseSearch If: for Stage 1, coarseTarget 0.00592 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00592 IndexCoarseTaget 0 PWL requiredCGain 0.00592 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00592 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00592 , remainingCGain 0.00592 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00592 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00592 findBestMatch: after flicker gainSelected 0.00592, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00592 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00592, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00592, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00592 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00592 CoarseSearch If: for Stage 1, coarseTarget 0.00592 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00592 IndexCoarseTaget 0 PWL requiredCGain 0.00592 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00592 , remainingCGain 0.00592 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00592 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00592 findBestMatch: after flicker gainSelected 0.00592, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00592 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00592, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00592, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00592 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00592 CoarseSearch If: for Stage 1, coarseTarget 0.00592 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00592 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00592 , remainingCGain 0.00592 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00592 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00592 findBestMatch: after flicker gainSelected 0.00592, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00592 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00592, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00592 GainSelected 0.00592, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00103 totalAchievedCGains 0.00103 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00592, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00103, DRE 1.00000 and Pre {0.00103, 0.00103} UdpateFrameData: AA 0.17361, ET 0.00592, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4343, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006727 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 113.347824 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006727 frame rate = 38.000000 currentSceneLux 2779.773, linearMetric .0.088122, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 19.458612 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 50.39% (19.06, 19.46), , , , , avgDCT 2.00, thsDCT 300.00 currentSceneLux 2779.773, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.117885 m_highlightGainApplied 0.001168 computeHighlightMeter: highlight signal 0.997543 m_highlightGainApplied 0.001168 # JR :: (mLux, hLux) (mGain, hGain) dre = (4183.487, 8850.170) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45694 and NewCommonGains 0.00100 runBreakDownAlgorithm:TargetCGain 0.00100, 0.00100, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00100, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00100 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00100 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00574 CoarseSearch If: for Stage 1, coarseTarget 0.00574 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00574 IndexCoarseTaget 0 PWL requiredCGain 0.00100 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00100 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00574 , remainingCGain 0.00574 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00574 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00574 findBestMatch: after flicker gainSelected 0.00574, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00574 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00574, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00574, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00574 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00574 CoarseSearch If: for Stage 1, coarseTarget 0.00574 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00574 IndexCoarseTaget 0 PWL requiredCGain 0.00574 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00574 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00574 , remainingCGain 0.00574 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00574 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00574 findBestMatch: after flicker gainSelected 0.00574, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00574 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00574, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00574, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00574 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00574 CoarseSearch If: for Stage 1, coarseTarget 0.00574 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00574 IndexCoarseTaget 0 PWL requiredCGain 0.00574 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00574 , remainingCGain 0.00574 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00574 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00574 findBestMatch: after flicker gainSelected 0.00574, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00574 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00574, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00574, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00574 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00574 CoarseSearch If: for Stage 1, coarseTarget 0.00574 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00574 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00574 , remainingCGain 0.00574 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00574 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00574 findBestMatch: after flicker gainSelected 0.00574, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00574 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00574, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00574 GainSelected 0.00574, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00100 totalAchievedCGains 0.00100 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00574, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00100, DRE 1.00000 and Pre {0.00100, 0.00100} UdpateFrameData: AA 0.17361, ET 0.00574, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4359, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006516 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 134.713181 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006516 frame rate = 38.000000 currentSceneLux 2824.004, linearMetric .0.086718, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 19.637054 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 52.95% (19.14, 19.64), , , , , avgDCT 1.25, thsDCT 300.00 currentSceneLux 2824.004, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.116386 m_highlightGainApplied 0.001131 computeHighlightMeter: highlight signal 0.996423 m_highlightGainApplied 0.001131 # JR :: (mLux, hLux) (mGain, hGain) dre = (4263.894, 9126.201) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45555 and NewCommonGains 0.00097 runBreakDownAlgorithm:TargetCGain 0.00097, 0.00097, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00097, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00097 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00097 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00556 CoarseSearch If: for Stage 1, coarseTarget 0.00556 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00556 IndexCoarseTaget 0 PWL requiredCGain 0.00097 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00097 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00556 , remainingCGain 0.00556 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00556 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00556 findBestMatch: after flicker gainSelected 0.00556, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00556 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00556, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00556, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00556 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00556 CoarseSearch If: for Stage 1, coarseTarget 0.00556 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00556 IndexCoarseTaget 0 PWL requiredCGain 0.00556 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00556 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00556 , remainingCGain 0.00556 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00556 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00556 findBestMatch: after flicker gainSelected 0.00556, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00556 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00556, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00556, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00556 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00556 CoarseSearch If: for Stage 1, coarseTarget 0.00556 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00556 IndexCoarseTaget 0 PWL requiredCGain 0.00556 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00556 , remainingCGain 0.00556 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00556 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00556 findBestMatch: after flicker gainSelected 0.00556, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00556 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00556, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00556, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00556 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00556 CoarseSearch If: for Stage 1, coarseTarget 0.00556 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00556 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00556 , remainingCGain 0.00556 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00556 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00556 findBestMatch: after flicker gainSelected 0.00556, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00556 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00556, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00556 GainSelected 0.00556, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00097 totalAchievedCGains 0.00097 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00556, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00097, DRE 1.00000 and Pre {0.00097, 0.00097} UdpateFrameData: AA 0.17361, ET 0.00556, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4374, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006312 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 104.253601 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006312 frame rate = 38.000000 currentSceneLux 2877.802, linearMetric .0.085605, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 19.761915 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 55.92% (19.31, 19.76), , , , , avgDCT 1.25, thsDCT 300.00 currentSceneLux 2877.802, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.115208 m_highlightGainApplied 0.001096 computeHighlightMeter: highlight signal 0.995785 m_highlightGainApplied 0.001096 # JR :: (mLux, hLux) (mGain, hGain) dre = (4357.091, 9415.021) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45495 and NewCommonGains 0.00094 runBreakDownAlgorithm:TargetCGain 0.00094, 0.00094, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00094, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00094 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00094 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00539 CoarseSearch If: for Stage 1, coarseTarget 0.00539 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00539 IndexCoarseTaget 0 PWL requiredCGain 0.00094 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00094 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00539 , remainingCGain 0.00539 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00539 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00539 findBestMatch: after flicker gainSelected 0.00539, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00539 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00539, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00539, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00539 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00539 CoarseSearch If: for Stage 1, coarseTarget 0.00539 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00539 IndexCoarseTaget 0 PWL requiredCGain 0.00539 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00539 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00539 , remainingCGain 0.00539 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00539 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00539 findBestMatch: after flicker gainSelected 0.00539, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00539 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00539, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00539, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00539 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00539 CoarseSearch If: for Stage 1, coarseTarget 0.00539 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00539 IndexCoarseTaget 0 PWL requiredCGain 0.00539 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00539 , remainingCGain 0.00539 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00539 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00539 findBestMatch: after flicker gainSelected 0.00539, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00539 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00539, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00539, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00539 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00539 CoarseSearch If: for Stage 1, coarseTarget 0.00539 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00539 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00539 , remainingCGain 0.00539 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00539 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00539 findBestMatch: after flicker gainSelected 0.00539, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00539 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00539, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00539 GainSelected 0.00539, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00094 totalAchievedCGains 0.00094 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00539, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00094, DRE 1.00000 and Pre {0.00094, 0.00094} UdpateFrameData: AA 0.17361, ET 0.00539, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006115 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 127.697868 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006115 frame rate = 38.000000 currentSceneLux 2927.503, linearMetric .0.084361, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 19.895206 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 58.73% (19.46, 19.90), , , , , avgDCT 1.50, thsDCT 300.00 currentSceneLux 2927.503, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.113943 m_highlightGainApplied 0.001062 computeHighlightMeter: highlight signal 0.994547 m_highlightGainApplied 0.001062 # JR :: (mLux, hLux) (mGain, hGain) dre = (4448.328, 9706.779) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45348 and NewCommonGains 0.00091 runBreakDownAlgorithm:TargetCGain 0.00091, 0.00091, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00091, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00091 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00091 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00522 CoarseSearch If: for Stage 1, coarseTarget 0.00522 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00522 IndexCoarseTaget 0 PWL requiredCGain 0.00091 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00091 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00522 , remainingCGain 0.00522 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00522 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00522 findBestMatch: after flicker gainSelected 0.00522, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00522 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00522, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00522, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00522 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00522 CoarseSearch If: for Stage 1, coarseTarget 0.00522 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00522 IndexCoarseTaget 0 PWL requiredCGain 0.00522 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00522 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00522 , remainingCGain 0.00522 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00522 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00522 findBestMatch: after flicker gainSelected 0.00522, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00522 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00522, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00522, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00522 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00522 CoarseSearch If: for Stage 1, coarseTarget 0.00522 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00522 IndexCoarseTaget 0 PWL requiredCGain 0.00522 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00522 , remainingCGain 0.00522 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00522 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00522 findBestMatch: after flicker gainSelected 0.00522, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00522 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00522, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00522, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00522 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00522 CoarseSearch If: for Stage 1, coarseTarget 0.00522 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00522 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00522 , remainingCGain 0.00522 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00522 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00522 findBestMatch: after flicker gainSelected 0.00522, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00522 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00522, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00522 GainSelected 0.00522, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00091 totalAchievedCGains 0.00091 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00522, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00091, DRE 1.00000 and Pre {0.00091, 0.00091} UdpateFrameData: AA 0.17361, ET 0.00522, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4398, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005924 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 114.741280 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005924 frame rate = 38.000000 currentSceneLux 2981.598, linearMetric .0.083238, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.021879 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 61.77% (19.64, 20.02), , , , , avgDCT 0.75, thsDCT 500.00 currentSceneLux 2981.598, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.112776 m_highlightGainApplied 0.001028 computeHighlightMeter: highlight signal 0.993200 m_highlightGainApplied 0.001028 # JR :: (mLux, hLux) (mGain, hGain) dre = (4544.624, 10005.914) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.45192 and NewCommonGains 0.00088 runBreakDownAlgorithm:TargetCGain 0.00088, 0.00088, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00088, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00088 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00088 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00506 CoarseSearch If: for Stage 1, coarseTarget 0.00506 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00506 IndexCoarseTaget 0 PWL requiredCGain 0.00088 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00088 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00506 , remainingCGain 0.00506 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00506 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00506 findBestMatch: after flicker gainSelected 0.00506, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00506 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00506, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00506, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00506 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00506 CoarseSearch If: for Stage 1, coarseTarget 0.00506 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00506 IndexCoarseTaget 0 PWL requiredCGain 0.00506 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00506 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00506 , remainingCGain 0.00506 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00506 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00506 findBestMatch: after flicker gainSelected 0.00506, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00506 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00506, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00506, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00506 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00506 CoarseSearch If: for Stage 1, coarseTarget 0.00506 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00506 IndexCoarseTaget 0 PWL requiredCGain 0.00506 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00506 , remainingCGain 0.00506 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00506 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00506 findBestMatch: after flicker gainSelected 0.00506, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00506 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00506, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00506, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00506 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00506 CoarseSearch If: for Stage 1, coarseTarget 0.00506 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00506 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00506 , remainingCGain 0.00506 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00506 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00506 findBestMatch: after flicker gainSelected 0.00506, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00506 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00506, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00506 GainSelected 0.00506, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00088 totalAchievedCGains 0.00088 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00506, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00088, DRE 1.00000 and Pre {0.00088, 0.00088} UdpateFrameData: AA 0.17361, ET 0.00506, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4411, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005739 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 110.892532 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005739 frame rate = 38.000000 currentSceneLux 3036.182, linearMetric .0.082119, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.148342 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 64.27% (19.76, 20.15), , , , , avgDCT 1.00, thsDCT 500.00 currentSceneLux 3036.182, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.111659 m_highlightGainApplied 0.000996 computeHighlightMeter: highlight signal 0.991331 m_highlightGainApplied 0.000996 # JR :: (mLux, hLux) (mGain, hGain) dre = (4644.409, 10308.461) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.44970 and NewCommonGains 0.00085 runBreakDownAlgorithm:TargetCGain 0.00085, 0.00085, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00085, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00085 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00085 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00491 CoarseSearch If: for Stage 1, coarseTarget 0.00491 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00491 IndexCoarseTaget 0 PWL requiredCGain 0.00085 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00085 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00491 , remainingCGain 0.00491 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00491 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00491 findBestMatch: after flicker gainSelected 0.00491, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00491 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00491, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00491, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00491 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00491 CoarseSearch If: for Stage 1, coarseTarget 0.00491 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00491 IndexCoarseTaget 0 PWL requiredCGain 0.00491 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00491 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00491 , remainingCGain 0.00491 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00491 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00491 findBestMatch: after flicker gainSelected 0.00491, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00491 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00491, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00491, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00491 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00491 CoarseSearch If: for Stage 1, coarseTarget 0.00491 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00491 IndexCoarseTaget 0 PWL requiredCGain 0.00491 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00491 , remainingCGain 0.00491 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00491 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00491 findBestMatch: after flicker gainSelected 0.00491, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00491 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00491, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00491, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00491 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00491 CoarseSearch If: for Stage 1, coarseTarget 0.00491 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00491 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00491 , remainingCGain 0.00491 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00491 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00491 findBestMatch: after flicker gainSelected 0.00491, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00491 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00491, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00491 GainSelected 0.00491, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00085 totalAchievedCGains 0.00085 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00491, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00085, DRE 1.00000 and Pre {0.00085, 0.00085} UdpateFrameData: AA 0.17361, ET 0.00491, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4421, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005561 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 109.820335 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005561 frame rate = 38.000000 currentSceneLux 3090.425, linearMetric .0.080988, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.322813 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 67.34% (19.90, 20.32), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 3090.425, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.110630 m_highlightGainApplied 0.000965 computeHighlightMeter: highlight signal 0.989623 m_highlightGainApplied 0.000965 # JR :: (mLux, hLux) (mGain, hGain) dre = (4749.223, 10620.830) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.44780 and NewCommonGains 0.00083 runBreakDownAlgorithm:TargetCGain 0.00083, 0.00083, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00083, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00083 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00083 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00476 CoarseSearch If: for Stage 1, coarseTarget 0.00476 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00476 IndexCoarseTaget 0 PWL requiredCGain 0.00083 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00083 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00476 , remainingCGain 0.00476 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00476 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00476 findBestMatch: after flicker gainSelected 0.00476, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00476 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00476, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00476, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00476 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00476 CoarseSearch If: for Stage 1, coarseTarget 0.00476 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00476 IndexCoarseTaget 0 PWL requiredCGain 0.00476 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00476 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00476 , remainingCGain 0.00476 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00476 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00476 findBestMatch: after flicker gainSelected 0.00476, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00476 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00476, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00476, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00476 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00476 CoarseSearch If: for Stage 1, coarseTarget 0.00476 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00476 IndexCoarseTaget 0 PWL requiredCGain 0.00476 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00476 , remainingCGain 0.00476 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00476 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00476 findBestMatch: after flicker gainSelected 0.00476, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00476 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00476, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00476, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00476 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00476 CoarseSearch If: for Stage 1, coarseTarget 0.00476 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00476 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00476 , remainingCGain 0.00476 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00476 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00476 findBestMatch: after flicker gainSelected 0.00476, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00476 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00476, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00476 GainSelected 0.00476, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00083 totalAchievedCGains 0.00083 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00476, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00083, DRE 1.00000 and Pre {0.00083, 0.00083} UdpateFrameData: AA 0.17361, ET 0.00476, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4431, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005388 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 106.941307 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005388 frame rate = 38.000000 currentSceneLux 3150.577, linearMetric .0.080002, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.483835 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 70.20% (20.02, 20.48), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 3150.577, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.109584 m_highlightGainApplied 0.000935 computeHighlightMeter: highlight signal 0.988051 m_highlightGainApplied 0.000935 # JR :: (mLux, hLux) (mGain, hGain) dre = (4855.025, 10943.678) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.44622 and NewCommonGains 0.00080 runBreakDownAlgorithm:TargetCGain 0.00080, 0.00080, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00080, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00080 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00080 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00461 CoarseSearch If: for Stage 1, coarseTarget 0.00461 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00461 IndexCoarseTaget 0 PWL requiredCGain 0.00080 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00080 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00461 , remainingCGain 0.00461 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00461 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00461 findBestMatch: after flicker gainSelected 0.00461, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00461 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00461, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00461, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00461 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00461 CoarseSearch If: for Stage 1, coarseTarget 0.00461 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00461 IndexCoarseTaget 0 PWL requiredCGain 0.00461 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00461 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00461 , remainingCGain 0.00461 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00461 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00461 findBestMatch: after flicker gainSelected 0.00461, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00461 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00461, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00461, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00461 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00461 CoarseSearch If: for Stage 1, coarseTarget 0.00461 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00461 IndexCoarseTaget 0 PWL requiredCGain 0.00461 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00461 , remainingCGain 0.00461 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00461 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00461 findBestMatch: after flicker gainSelected 0.00461, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00461 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00461, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00461, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00461 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00461 CoarseSearch If: for Stage 1, coarseTarget 0.00461 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00461 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00461 , remainingCGain 0.00461 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00461 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00461 findBestMatch: after flicker gainSelected 0.00461, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00461 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00461, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00461 GainSelected 0.00461, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00080 totalAchievedCGains 0.00080 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00461, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00080, DRE 1.00000 and Pre {0.00080, 0.00080} UdpateFrameData: AA 0.17361, ET 0.00461, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4440, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005222 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 95.597763 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005222 frame rate = 38.000000 currentSceneLux 3211.516, linearMetric .0.079026, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.674957 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 73.37% (20.15, 20.67), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 3211.516, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.108834 m_highlightGainApplied 0.000907 computeHighlightMeter: highlight signal 0.986179 m_highlightGainApplied 0.000907 # JR :: (mLux, hLux) (mGain, hGain) dre = (4975.766, 11271.743) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.44422 and NewCommonGains 0.00078 runBreakDownAlgorithm:TargetCGain 0.00078, 0.00078, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00078, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00078 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00078 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00447 CoarseSearch If: for Stage 1, coarseTarget 0.00447 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00447 IndexCoarseTaget 0 PWL requiredCGain 0.00078 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00078 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00447 , remainingCGain 0.00447 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00447 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00447 findBestMatch: after flicker gainSelected 0.00447, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00447 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00447, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00447, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00447 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00447 CoarseSearch If: for Stage 1, coarseTarget 0.00447 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00447 IndexCoarseTaget 0 PWL requiredCGain 0.00447 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00447 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00447 , remainingCGain 0.00447 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00447 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00447 findBestMatch: after flicker gainSelected 0.00447, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00447 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00447, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00447, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00447 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00447 CoarseSearch If: for Stage 1, coarseTarget 0.00447 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00447 IndexCoarseTaget 0 PWL requiredCGain 0.00447 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00447 , remainingCGain 0.00447 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00447 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00447 findBestMatch: after flicker gainSelected 0.00447, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00447 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00447, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00447, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00447 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00447 CoarseSearch If: for Stage 1, coarseTarget 0.00447 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00447 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00447 , remainingCGain 0.00447 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00447 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00447 findBestMatch: after flicker gainSelected 0.00447, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00447 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00447, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00447 GainSelected 0.00447, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00078 totalAchievedCGains 0.00078 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00447, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00078, DRE 1.00000 and Pre {0.00078, 0.00078} UdpateFrameData: AA 0.17361, ET 0.00447, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4448, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005061 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 102.251236 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005061 frame rate = 38.000000 currentSceneLux 3271.847, linearMetric .0.078027, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.815287 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 76.50% (20.32, 20.82), , , , , avgDCT 4.50, thsDCT 500.00 currentSceneLux 3271.847, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.107787 m_highlightGainApplied 0.000879 computeHighlightMeter: highlight signal 0.983040 m_highlightGainApplied 0.000879 # JR :: (mLux, hLux) (mGain, hGain) dre = (5084.684, 11593.395) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.44039 and NewCommonGains 0.00075 runBreakDownAlgorithm:TargetCGain 0.00075, 0.00075, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00075, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00075 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00075 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00434 CoarseSearch If: for Stage 1, coarseTarget 0.00434 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00434 IndexCoarseTaget 0 PWL requiredCGain 0.00075 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00075 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00434 , remainingCGain 0.00434 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00434 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00434 findBestMatch: after flicker gainSelected 0.00434, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00434 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00434, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00434, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00434 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00434 CoarseSearch If: for Stage 1, coarseTarget 0.00434 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00434 IndexCoarseTaget 0 PWL requiredCGain 0.00434 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00434 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00434 , remainingCGain 0.00434 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00434 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00434 findBestMatch: after flicker gainSelected 0.00434, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00434 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00434, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00434, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00434 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00434 CoarseSearch If: for Stage 1, coarseTarget 0.00434 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00434 IndexCoarseTaget 0 PWL requiredCGain 0.00434 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00434 , remainingCGain 0.00434 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00434 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00434 findBestMatch: after flicker gainSelected 0.00434, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00434 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00434, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00434, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00434 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00434 CoarseSearch If: for Stage 1, coarseTarget 0.00434 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00434 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00434 , remainingCGain 0.00434 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00434 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00434 findBestMatch: after flicker gainSelected 0.00434, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00434 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00434, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00434 GainSelected 0.00434, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00075 totalAchievedCGains 0.00075 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00434, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00075, DRE 1.00000 and Pre {0.00075, 0.00075} UdpateFrameData: AA 0.17361, ET 0.00434, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4534, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004905 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 101.092850 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004905 frame rate = 38.000000 currentSceneLux 3333.375, linearMetric .0.077055, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.997841 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 79.93% (20.48, 21.00), , , , , avgDCT 5.75, thsDCT 500.00 currentSceneLux 3333.375, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.106833 m_highlightGainApplied 0.000852 computeHighlightMeter: highlight signal 0.980700 m_highlightGainApplied 0.000852 # JR :: (mLux, hLux) (mGain, hGain) dre = (5199.259, 11931.986) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.43788 and NewCommonGains 0.00073 runBreakDownAlgorithm:TargetCGain 0.00073, 0.00073, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00073, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00073 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00073 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00421 CoarseSearch If: for Stage 1, coarseTarget 0.00421 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00421 IndexCoarseTaget 0 PWL requiredCGain 0.00073 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00073 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00421 , remainingCGain 0.00421 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00421 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00421 findBestMatch: after flicker gainSelected 0.00421, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00421 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00421, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00421, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00421 CoarseSearch If: for Stage 1, coarseTarget 0.00421 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00421 IndexCoarseTaget 0 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00421 , remainingCGain 0.00421 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00421 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00421 findBestMatch: after flicker gainSelected 0.00421, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00421 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00421, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00421, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00421 CoarseSearch If: for Stage 1, coarseTarget 0.00421 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00421 IndexCoarseTaget 0 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00421 , remainingCGain 0.00421 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00421 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00421 findBestMatch: after flicker gainSelected 0.00421, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00421 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00421, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00421, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00421 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00421 CoarseSearch If: for Stage 1, coarseTarget 0.00421 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00421 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00421 , remainingCGain 0.00421 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00421 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00421 findBestMatch: after flicker gainSelected 0.00421, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00421 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00421, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00421 GainSelected 0.00421, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00073 totalAchievedCGains 0.00073 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00421, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00073, DRE 1.00000 and Pre {0.00073, 0.00073} UdpateFrameData: AA 0.17361, ET 0.00421, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4611, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004755 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 89.877350 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004755 frame rate = 38.000000 currentSceneLux 3400.674, linearMetric .0.076208, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.152870 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 83.38% (20.67, 21.15), , , , , avgDCT 5.50, thsDCT 500.00 currentSceneLux 3400.674, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.106161 m_highlightGainApplied 0.000826 computeHighlightMeter: highlight signal 0.978371 m_highlightGainApplied 0.000826 # JR :: (mLux, hLux) (mGain, hGain) dre = (5329.427, 12278.918) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.43131 and NewCommonGains 0.00071 runBreakDownAlgorithm:TargetCGain 0.00071, 0.00071, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00071, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00071 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00071 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00408 CoarseSearch If: for Stage 1, coarseTarget 0.00408 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00408 IndexCoarseTaget 0 PWL requiredCGain 0.00071 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00071 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00408 , remainingCGain 0.00408 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00408 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00408 findBestMatch: after flicker gainSelected 0.00408, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00408 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00408, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00408, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00408 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00408 CoarseSearch If: for Stage 1, coarseTarget 0.00408 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00408 IndexCoarseTaget 0 PWL requiredCGain 0.00408 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00408 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00408 , remainingCGain 0.00408 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00408 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00408 findBestMatch: after flicker gainSelected 0.00408, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00408 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00408, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00408, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00408 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00408 CoarseSearch If: for Stage 1, coarseTarget 0.00408 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00408 IndexCoarseTaget 0 PWL requiredCGain 0.00408 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00408 , remainingCGain 0.00408 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00408 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00408 findBestMatch: after flicker gainSelected 0.00408, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00408 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00408, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00408, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00408 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00408 CoarseSearch If: for Stage 1, coarseTarget 0.00408 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00408 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00408 , remainingCGain 0.00408 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00408 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00408 findBestMatch: after flicker gainSelected 0.00408, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00408 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00408, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00408 GainSelected 0.00408, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00071 totalAchievedCGains 0.00071 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00408, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00071, DRE 1.00000 and Pre {0.00071, 0.00071} UdpateFrameData: AA 0.17361, ET 0.00408, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4681, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004611 frame rate = 38.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 82.469635 Return: peak confidence (9.552608) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004611 frame rate = 38.000000 currentSceneLux 3468.641, linearMetric .0.075364, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.305811 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 86.30% (20.82, 21.31), , , , , avgDCT 7.25, thsDCT 500.00 currentSceneLux 3468.641, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.105375 m_highlightGainApplied 0.000800 computeHighlightMeter: highlight signal 0.975807 m_highlightGainApplied 0.000800 # JR :: (mLux, hLux) (mGain, hGain) dre = (5456.154, 12631.438) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.42208 and NewCommonGains 0.00069 runBreakDownAlgorithm:TargetCGain 0.00069, 0.00069, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00069, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00069 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00069 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00397 CoarseSearch If: for Stage 1, coarseTarget 0.00397 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00397 IndexCoarseTaget 0 PWL requiredCGain 0.00069 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00069 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00397 , remainingCGain 0.00397 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00397 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00397 findBestMatch: after flicker gainSelected 0.00397, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00397 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00397, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00397, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00397 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00397 CoarseSearch If: for Stage 1, coarseTarget 0.00397 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00397 IndexCoarseTaget 0 PWL requiredCGain 0.00397 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00397 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00397 , remainingCGain 0.00397 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00397 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00397 findBestMatch: after flicker gainSelected 0.00397, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00397 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00397, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00397, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00397 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00397 CoarseSearch If: for Stage 1, coarseTarget 0.00397 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00397 IndexCoarseTaget 0 PWL requiredCGain 0.00397 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00397 , remainingCGain 0.00397 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00397 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00397 findBestMatch: after flicker gainSelected 0.00397, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00397 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00397, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00397, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00397 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00397 CoarseSearch If: for Stage 1, coarseTarget 0.00397 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00397 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00397 , remainingCGain 0.00397 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00397 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00397 findBestMatch: after flicker gainSelected 0.00397, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00397 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00397, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00397 GainSelected 0.00397, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00069 totalAchievedCGains 0.00069 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00397, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00069, DRE 1.00000 and Pre {0.00069, 0.00069} UdpateFrameData: AA 0.17361, ET 0.00397, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4744, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004471 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 86.349319 Pass: (highest Score = 0.900000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004471 frame rate = 38.000000 currentSceneLux 3537.012, linearMetric .0.074519, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.512262 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 90.17% (21.00, 21.51), , , , , avgDCT 8.00, thsDCT 500.00 currentSceneLux 3537.012, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.104519 m_highlightGainApplied 0.000776 computeHighlightMeter: highlight signal 0.972688 m_highlightGainApplied 0.000776 # JR :: (mLux, hLux) (mGain, hGain) dre = (5581.081, 12984.776) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.41253 and NewCommonGains 0.00067 runBreakDownAlgorithm:TargetCGain 0.00067, 0.00067, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00067, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00067 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00067 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00385 CoarseSearch If: for Stage 1, coarseTarget 0.00385 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00385 IndexCoarseTaget 0 PWL requiredCGain 0.00067 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00067 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00385 , remainingCGain 0.00385 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00385 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00385 findBestMatch: after flicker gainSelected 0.00385, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00385 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00385, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00385, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00385 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00385 CoarseSearch If: for Stage 1, coarseTarget 0.00385 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00385 IndexCoarseTaget 0 PWL requiredCGain 0.00385 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00385 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00385 , remainingCGain 0.00385 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00385 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00385 findBestMatch: after flicker gainSelected 0.00385, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00385 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00385, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00385, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00385 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00385 CoarseSearch If: for Stage 1, coarseTarget 0.00385 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00385 IndexCoarseTaget 0 PWL requiredCGain 0.00385 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00385 , remainingCGain 0.00385 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00385 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00385 findBestMatch: after flicker gainSelected 0.00385, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00385 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00385, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00385, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00385 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00385 CoarseSearch If: for Stage 1, coarseTarget 0.00385 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00385 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00385 , remainingCGain 0.00385 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00385 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00385 findBestMatch: after flicker gainSelected 0.00385, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00385 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00385, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00385 GainSelected 0.00385, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00067 totalAchievedCGains 0.00067 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00385, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00067, DRE 1.00000 and Pre {0.00067, 0.00067} UdpateFrameData: AA 0.17361, ET 0.00385, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4801, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004336 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 87.805489 Return: peak confidence (9.316860) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004336 frame rate = 38.000000 currentSceneLux 3606.282, linearMetric .0.073694, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.632803 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 92.92% (21.15, 21.63), , , , , avgDCT 6.50, thsDCT 500.00 currentSceneLux 3606.282, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.103300 m_highlightGainApplied 0.000753 computeHighlightMeter: highlight signal 0.971071 m_highlightGainApplied 0.000753 # JR :: (mLux, hLux) (mGain, hGain) dre = (5686.932, 13364.999) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.39839 and NewCommonGains 0.00065 runBreakDownAlgorithm:TargetCGain 0.00065, 0.00065, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00065, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00065 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00065 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00375 CoarseSearch If: for Stage 1, coarseTarget 0.00375 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00375 IndexCoarseTaget 0 PWL requiredCGain 0.00065 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00065 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00375 , remainingCGain 0.00375 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00375 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00375 findBestMatch: after flicker gainSelected 0.00375, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00375 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00375, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00375, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00375 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00375 CoarseSearch If: for Stage 1, coarseTarget 0.00375 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00375 IndexCoarseTaget 0 PWL requiredCGain 0.00375 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00375 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00375 , remainingCGain 0.00375 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00375 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00375 findBestMatch: after flicker gainSelected 0.00375, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00375 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00375, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00375, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00375 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00375 CoarseSearch If: for Stage 1, coarseTarget 0.00375 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00375 IndexCoarseTaget 0 PWL requiredCGain 0.00375 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00375 , remainingCGain 0.00375 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00375 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00375 findBestMatch: after flicker gainSelected 0.00375, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00375 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00375, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00375, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00375 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00375 CoarseSearch If: for Stage 1, coarseTarget 0.00375 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00375 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00375 , remainingCGain 0.00375 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00375 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00375 findBestMatch: after flicker gainSelected 0.00375, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00375 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00375, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00375 GainSelected 0.00375, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00065 totalAchievedCGains 0.00065 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00375, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00065, DRE 1.00000 and Pre {0.00065, 0.00065} UdpateFrameData: AA 0.17361, ET 0.00375, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4856, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004207 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 80.920876 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.800000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004207 frame rate = 38.000000 currentSceneLux 3674.522, linearMetric .0.072844, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.789925 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 96.01% (21.31, 21.79), , , , , avgDCT 6.25, thsDCT 500.00 currentSceneLux 3674.522, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.101629 m_highlightGainApplied 0.000730 computeHighlightMeter: highlight signal 0.968642 m_highlightGainApplied 0.000730 # JR :: (mLux, hLux) (mGain, hGain) dre = (5767.337, 13742.409) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.37880 and NewCommonGains 0.00063 runBreakDownAlgorithm:TargetCGain 0.00063, 0.00063, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00063, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00063 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00063 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00365 CoarseSearch If: for Stage 1, coarseTarget 0.00365 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00365 IndexCoarseTaget 0 PWL requiredCGain 0.00063 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00063 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00365 , remainingCGain 0.00365 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00365 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00365 findBestMatch: after flicker gainSelected 0.00365, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00365 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00365, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00365, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00365 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00365 CoarseSearch If: for Stage 1, coarseTarget 0.00365 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00365 IndexCoarseTaget 0 PWL requiredCGain 0.00365 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00365 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00365 , remainingCGain 0.00365 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00365 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00365 findBestMatch: after flicker gainSelected 0.00365, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00365 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00365, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00365, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00365 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00365 CoarseSearch If: for Stage 1, coarseTarget 0.00365 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00365 IndexCoarseTaget 0 PWL requiredCGain 0.00365 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00365 , remainingCGain 0.00365 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00365 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00365 findBestMatch: after flicker gainSelected 0.00365, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00365 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00365, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00365, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00365 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00365 CoarseSearch If: for Stage 1, coarseTarget 0.00365 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00365 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00365 , remainingCGain 0.00365 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00365 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00365 findBestMatch: after flicker gainSelected 0.00365, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00365 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00365, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00365 GainSelected 0.00365, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00063 totalAchievedCGains 0.00063 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00365, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00063, DRE 1.00000 and Pre {0.00063, 0.00063} UdpateFrameData: AA 0.17361, ET 0.00365, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4905, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004083 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 62.447655 Return: peak confidence (9.068871) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004083 frame rate = 38.000000 currentSceneLux 3749.814, linearMetric .0.072147, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.946487 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 99.62% (21.51, 21.95), , , , , avgDCT 4.75, thsDCT 500.00 currentSceneLux 3749.814, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.100904 m_highlightGainApplied 0.000709 computeHighlightMeter: highlight signal 0.966792 m_highlightGainApplied 0.000709 # JR :: (mLux, hLux) (mGain, hGain) dre = (5900.013, 14132.407) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.37374 and NewCommonGains 0.00062 runBreakDownAlgorithm:TargetCGain 0.00062, 0.00062, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00062, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00062 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00062 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00356 CoarseSearch If: for Stage 1, coarseTarget 0.00356 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00356 IndexCoarseTaget 0 PWL requiredCGain 0.00062 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00062 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00356 , remainingCGain 0.00356 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00356 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00356 findBestMatch: after flicker gainSelected 0.00356, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00356 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00356, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00356, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00356 CoarseSearch If: for Stage 1, coarseTarget 0.00356 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00356 IndexCoarseTaget 0 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00356 , remainingCGain 0.00356 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00356 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00356 findBestMatch: after flicker gainSelected 0.00356, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00356 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00356, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00356, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00356 CoarseSearch If: for Stage 1, coarseTarget 0.00356 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00356 IndexCoarseTaget 0 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00356 , remainingCGain 0.00356 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00356 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00356 findBestMatch: after flicker gainSelected 0.00356, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00356 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00356, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00356, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00356 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00356 CoarseSearch If: for Stage 1, coarseTarget 0.00356 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00356 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00356 , remainingCGain 0.00356 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00356 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00356 findBestMatch: after flicker gainSelected 0.00356, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00356 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00356, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00356 GainSelected 0.00356, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00062 totalAchievedCGains 0.00062 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00356, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00062, DRE 1.00000 and Pre {0.00062, 0.00062} UdpateFrameData: AA 0.17361, ET 0.00356, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4950, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003965 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 70.884933 Return: peak confidence (8.125360) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003965 frame rate = 38.000000 currentSceneLux 3823.405, linearMetric .0.071442, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.039856 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 16.73, diff 101.75% (21.63, 22.04), SharpTrigger, , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 3823.405, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.100278 m_highlightGainApplied 0.000688 computeHighlightMeter: highlight signal 0.964620 m_highlightGainApplied 0.000688 # JR :: (mLux, hLux) (mGain, hGain) dre = (6037.492, 14519.296) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.36959 and NewCommonGains 0.00060 runBreakDownAlgorithm:TargetCGain 0.00060, 0.00060, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00060, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00060 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00060 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00347 CoarseSearch If: for Stage 1, coarseTarget 0.00347 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00347 IndexCoarseTaget 0 PWL requiredCGain 0.00060 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00060 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00347 , remainingCGain 0.00347 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00347 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00347 findBestMatch: after flicker gainSelected 0.00347, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00347 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00347, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00347, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00347 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00347 CoarseSearch If: for Stage 1, coarseTarget 0.00347 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00347 IndexCoarseTaget 0 PWL requiredCGain 0.00347 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00347 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00347 , remainingCGain 0.00347 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00347 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00347 findBestMatch: after flicker gainSelected 0.00347, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00347 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00347, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00347, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00347 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00347 CoarseSearch If: for Stage 1, coarseTarget 0.00347 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00347 IndexCoarseTaget 0 PWL requiredCGain 0.00347 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00347 , remainingCGain 0.00347 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00347 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00347 findBestMatch: after flicker gainSelected 0.00347, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00347 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00347, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00347, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00347 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00347 CoarseSearch If: for Stage 1, coarseTarget 0.00347 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00347 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00347 , remainingCGain 0.00347 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00347 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00347 findBestMatch: after flicker gainSelected 0.00347, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00347 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00347, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00347 GainSelected 0.00347, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00060 totalAchievedCGains 0.00060 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00347, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00060, DRE 1.00000 and Pre {0.00060, 0.00060} UdpateFrameData: AA 0.17361, ET 0.00347, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4990, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003853 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 61.565933 Return: peak confidence (7.879679) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003853 frame rate = 38.000000 currentSceneLux 3896.979, linearMetric .0.070764, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.180811 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:++++++ SCENE_CHANGING, Sharp delta 1.76%, (21.79, 22.18), SharpTrigger, , avgDCT 2.25, thsDCT 150.00 currentSceneLux 3896.979, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.099827 m_highlightGainApplied 0.000669 computeHighlightMeter: highlight signal 0.962374 m_highlightGainApplied 0.000669 # JR :: (mLux, hLux) (mGain, hGain) dre = (6184.644, 14905.666) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.36737 and NewCommonGains 0.00059 runBreakDownAlgorithm:TargetCGain 0.00059, 0.00059, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00059, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00059 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00059 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00338 CoarseSearch If: for Stage 1, coarseTarget 0.00338 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00338 IndexCoarseTaget 0 PWL requiredCGain 0.00059 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00059 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00338 , remainingCGain 0.00338 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00338 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00338 findBestMatch: after flicker gainSelected 0.00338, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00338 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00338, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00338, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00338 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00338 CoarseSearch If: for Stage 1, coarseTarget 0.00338 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00338 IndexCoarseTaget 0 PWL requiredCGain 0.00338 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00338 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00338 , remainingCGain 0.00338 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00338 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00338 findBestMatch: after flicker gainSelected 0.00338, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00338 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00338, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00338, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00338 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00338 CoarseSearch If: for Stage 1, coarseTarget 0.00338 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00338 IndexCoarseTaget 0 PWL requiredCGain 0.00338 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00338 , remainingCGain 0.00338 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00338 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00338 findBestMatch: after flicker gainSelected 0.00338, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00338 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00338, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00338, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00338 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00338 CoarseSearch If: for Stage 1, coarseTarget 0.00338 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00338 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00338 , remainingCGain 0.00338 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00338 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00338 findBestMatch: after flicker gainSelected 0.00338, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00338 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00338, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00338 GainSelected 0.00338, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00059 totalAchievedCGains 0.00059 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00338, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00059, DRE 1.00000 and Pre {0.00059, 0.00059} UdpateFrameData: AA 0.17361, ET 0.00338, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5026, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003748 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 52.681129 Return: peak confidence (7.916707) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003748 frame rate = 38.000000 currentSceneLux 3974.529, linearMetric .0.070207, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.292154 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:++++++ SCENE_CHANGING, Sharp delta 1.55%, (21.95, 22.29), SharpTrigger, , avgDCT 1.75, thsDCT 150.00 currentSceneLux 3974.529, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.099372 m_highlightGainApplied 0.000651 computeHighlightMeter: highlight signal 0.960257 m_highlightGainApplied 0.000651 # JR :: (mLux, hLux) (mGain, hGain) dre = (6328.864, 15289.292) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.36389 and NewCommonGains 0.00057 runBreakDownAlgorithm:TargetCGain 0.00057, 0.00057, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00057, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00057 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00057 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00330 CoarseSearch If: for Stage 1, coarseTarget 0.00330 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00330 IndexCoarseTaget 0 PWL requiredCGain 0.00057 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00057 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00330 , remainingCGain 0.00330 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00330 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00330 findBestMatch: after flicker gainSelected 0.00330, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00330 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00330, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00330, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00330 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00330 CoarseSearch If: for Stage 1, coarseTarget 0.00330 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00330 IndexCoarseTaget 0 PWL requiredCGain 0.00330 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00330 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00330 , remainingCGain 0.00330 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00330 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00330 findBestMatch: after flicker gainSelected 0.00330, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00330 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00330, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00330, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00330 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00330 CoarseSearch If: for Stage 1, coarseTarget 0.00330 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00330 IndexCoarseTaget 0 PWL requiredCGain 0.00330 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00330 , remainingCGain 0.00330 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00330 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00330 findBestMatch: after flicker gainSelected 0.00330, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00330 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00330, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00330, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00330 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00330 CoarseSearch If: for Stage 1, coarseTarget 0.00330 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00330 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00330 , remainingCGain 0.00330 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00330 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00330 findBestMatch: after flicker gainSelected 0.00330, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00330 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00330, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00330 GainSelected 0.00330, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00057 totalAchievedCGains 0.00057 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00330, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00057, DRE 1.00000 and Pre {0.00057, 0.00057} UdpateFrameData: AA 0.17361, ET 0.00330, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5061, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003651 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 68.619942 Return: peak confidence (7.117665) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003651 frame rate = 38.000000 currentSceneLux 4039.959, linearMetric .0.069513, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.453875 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:++++++ SCENE_CHANGING, Sharp delta 1.84%, (22.04, 22.45), SharpTrigger, , avgDCT 1.50, thsDCT 150.00 currentSceneLux 4039.959, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.098509 m_highlightGainApplied 0.000634 computeHighlightMeter: highlight signal 0.957120 m_highlightGainApplied 0.000634 # JR :: (mLux, hLux) (mGain, hGain) dre = (6440.813, 15644.791) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.35280 and NewCommonGains 0.00056 runBreakDownAlgorithm:TargetCGain 0.00056, 0.00056, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00056, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00056 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00056 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00322 CoarseSearch If: for Stage 1, coarseTarget 0.00322 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00322 IndexCoarseTaget 0 PWL requiredCGain 0.00056 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00056 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00322 , remainingCGain 0.00322 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00322 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00322 findBestMatch: after flicker gainSelected 0.00322, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00322 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00322, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00322, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00322 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00322 CoarseSearch If: for Stage 1, coarseTarget 0.00322 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00322 IndexCoarseTaget 0 PWL requiredCGain 0.00322 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00322 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00322 , remainingCGain 0.00322 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00322 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00322 findBestMatch: after flicker gainSelected 0.00322, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00322 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00322, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00322, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00322 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00322 CoarseSearch If: for Stage 1, coarseTarget 0.00322 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00322 IndexCoarseTaget 0 PWL requiredCGain 0.00322 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00322 , remainingCGain 0.00322 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00322 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00322 findBestMatch: after flicker gainSelected 0.00322, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00322 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00322, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00322, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00322 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00322 CoarseSearch If: for Stage 1, coarseTarget 0.00322 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00322 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00322 , remainingCGain 0.00322 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00322 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00322 findBestMatch: after flicker gainSelected 0.00322, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00322 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00322, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00322 GainSelected 0.00322, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00056 totalAchievedCGains 0.00056 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00322, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00056, DRE 1.00000 and Pre {0.00056, 0.00056} UdpateFrameData: AA 0.17361, ET 0.00322, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5093, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003558 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 51.948326 Return: peak confidence (7.234732) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003558 frame rate = 38.000000 currentSceneLux 4113.568, linearMetric .0.068970, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.545708 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) currentSceneLux 4113.568, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.097731 m_highlightGainApplied 0.000618 computeHighlightMeter: highlight signal 0.954877 m_highlightGainApplied 0.000618 # JR :: (mLux, hLux) (mGain, hGain) dre = (6557.622, 16017.745) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.34345 and NewCommonGains 0.00055 runBreakDownAlgorithm:TargetCGain 0.00055, 0.00055, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00055, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00055 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00055 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00314 CoarseSearch If: for Stage 1, coarseTarget 0.00314 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00314 IndexCoarseTaget 0 PWL requiredCGain 0.00055 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00055 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00314 , remainingCGain 0.00314 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00314 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00314 findBestMatch: after flicker gainSelected 0.00314, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00314 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00314, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00314, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00314 CoarseSearch If: for Stage 1, coarseTarget 0.00314 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00314 IndexCoarseTaget 0 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00314 , remainingCGain 0.00314 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00314 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00314 findBestMatch: after flicker gainSelected 0.00314, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00314 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00314, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00314, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00314 CoarseSearch If: for Stage 1, coarseTarget 0.00314 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00314 IndexCoarseTaget 0 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00314 , remainingCGain 0.00314 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00314 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00314 findBestMatch: after flicker gainSelected 0.00314, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00314 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00314, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00314, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00314 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00314 CoarseSearch If: for Stage 1, coarseTarget 0.00314 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00314 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00314 , remainingCGain 0.00314 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00314 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00314 findBestMatch: after flicker gainSelected 0.00314, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00314 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00314, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00314 GainSelected 0.00314, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00055 totalAchievedCGains 0.00055 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00314, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00055, DRE 1.00000 and Pre {0.00055, 0.00055} UdpateFrameData: AA 0.17361, ET 0.00314, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5122, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003468 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 59.684597 Return: peak confidence (9.542283) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003468 frame rate = 38.000000 currentSceneLux 4186.165, linearMetric .0.068411, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.726311 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 1.34% (22.55, 22.73), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 4186.165, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.097331 m_highlightGainApplied 0.000602 computeHighlightMeter: highlight signal 0.951744 m_highlightGainApplied 0.000602 # JR :: (mLux, hLux) (mGain, hGain) dre = (6700.263, 16379.486) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.34015 and NewCommonGains 0.00053 runBreakDownAlgorithm:TargetCGain 0.00053, 0.00053, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00053, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00053 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00053 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00307 CoarseSearch If: for Stage 1, coarseTarget 0.00307 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00307 IndexCoarseTaget 0 PWL requiredCGain 0.00053 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00053 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00307 , remainingCGain 0.00307 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00307 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00307 findBestMatch: after flicker gainSelected 0.00307, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00307 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00307, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00307, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00307 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00307 CoarseSearch If: for Stage 1, coarseTarget 0.00307 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00307 IndexCoarseTaget 0 PWL requiredCGain 0.00307 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00307 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00307 , remainingCGain 0.00307 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00307 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00307 findBestMatch: after flicker gainSelected 0.00307, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00307 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00307, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00307, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00307 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00307 CoarseSearch If: for Stage 1, coarseTarget 0.00307 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00307 IndexCoarseTaget 0 PWL requiredCGain 0.00307 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00307 , remainingCGain 0.00307 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00307 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00307 findBestMatch: after flicker gainSelected 0.00307, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00307 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00307, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00307, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00307 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00307 CoarseSearch If: for Stage 1, coarseTarget 0.00307 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00307 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00307 , remainingCGain 0.00307 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00307 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00307 findBestMatch: after flicker gainSelected 0.00307, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00307 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00307, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00307 GainSelected 0.00307, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00053 totalAchievedCGains 0.00053 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00307, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00053, DRE 1.00000 and Pre {0.00053, 0.00053} UdpateFrameData: AA 0.17361, ET 0.00307, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5148, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003381 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 34.829586 Return: peak confidence (4.642175) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003381 frame rate = 38.000000 currentSceneLux 4267.579, linearMetric .0.067988, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.854305 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 2.28% (22.55, 22.85), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 4267.579, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.096991 m_highlightGainApplied 0.000587 computeHighlightMeter: highlight signal 0.948670 m_highlightGainApplied 0.000587 # JR :: (mLux, hLux) (mGain, hGain) dre = (6849.041, 16747.654) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.33782 and NewCommonGains 0.00052 runBreakDownAlgorithm:TargetCGain 0.00052, 0.00052, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00052, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00052 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00052 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00300 CoarseSearch If: for Stage 1, coarseTarget 0.00300 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00300 IndexCoarseTaget 0 PWL requiredCGain 0.00052 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00052 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00300 , remainingCGain 0.00300 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00300 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00300 findBestMatch: after flicker gainSelected 0.00300, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00300 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00300, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00300, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00300 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00300 CoarseSearch If: for Stage 1, coarseTarget 0.00300 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00300 IndexCoarseTaget 0 PWL requiredCGain 0.00300 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00300 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00300 , remainingCGain 0.00300 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00300 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00300 findBestMatch: after flicker gainSelected 0.00300, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00300 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00300, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00300, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00300 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00300 CoarseSearch If: for Stage 1, coarseTarget 0.00300 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00300 IndexCoarseTaget 0 PWL requiredCGain 0.00300 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00300 , remainingCGain 0.00300 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00300 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00300 findBestMatch: after flicker gainSelected 0.00300, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00300 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00300, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00300, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00300 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00300 CoarseSearch If: for Stage 1, coarseTarget 0.00300 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00300 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00300 , remainingCGain 0.00300 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00300 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00300 findBestMatch: after flicker gainSelected 0.00300, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00300 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00300, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00300 GainSelected 0.00300, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00052 totalAchievedCGains 0.00052 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00300, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00052, DRE 1.00000 and Pre {0.00052, 0.00052} UdpateFrameData: AA 0.17361, ET 0.00300, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5171, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003296 frame rate = 38.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 53.711578 Return: peak confidence (8.118149) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003296 frame rate = 38.000000 currentSceneLux 4341.585, linearMetric .0.067445, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.007246 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 3.41% (22.55, 23.01), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 4341.585, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.096591 m_highlightGainApplied 0.000572 computeHighlightMeter: highlight signal 0.945858 m_highlightGainApplied 0.000572 # JR :: (mLux, hLux) (mGain, hGain) dre = (6995.000, 17124.547) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.33446 and NewCommonGains 0.00051 runBreakDownAlgorithm:TargetCGain 0.00051, 0.00051, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00051, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00051 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00051 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00293 CoarseSearch If: for Stage 1, coarseTarget 0.00293 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00293 IndexCoarseTaget 0 PWL requiredCGain 0.00051 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00051 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00293 , remainingCGain 0.00293 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00293 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00293 findBestMatch: after flicker gainSelected 0.00293, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00293 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00293, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00293, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00293 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00293 CoarseSearch If: for Stage 1, coarseTarget 0.00293 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00293 IndexCoarseTaget 0 PWL requiredCGain 0.00293 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00293 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00293 , remainingCGain 0.00293 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00293 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00293 findBestMatch: after flicker gainSelected 0.00293, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00293 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00293, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00293, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00293 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00293 CoarseSearch If: for Stage 1, coarseTarget 0.00293 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00293 IndexCoarseTaget 0 PWL requiredCGain 0.00293 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00293 , remainingCGain 0.00293 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00293 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00293 findBestMatch: after flicker gainSelected 0.00293, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00293 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00293, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00293, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00293 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00293 CoarseSearch If: for Stage 1, coarseTarget 0.00293 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00293 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00293 , remainingCGain 0.00293 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00293 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00293 findBestMatch: after flicker gainSelected 0.00293, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00293 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00293, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00293 GainSelected 0.00293, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00051 totalAchievedCGains 0.00051 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00293, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00051, DRE 1.00000 and Pre {0.00051, 0.00051} UdpateFrameData: AA 0.17361, ET 0.00293, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5194, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003217 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 36.918865 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003217 frame rate = 38.000000 currentSceneLux 4420.993, linearMetric .0.067019, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.097687 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 5.42% (22.73, 23.10), , , , , avgDCT 3.00, thsDCT 500.00 currentSceneLux 4420.993, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.096213 m_highlightGainApplied 0.000558 computeHighlightMeter: highlight signal 0.942492 m_highlightGainApplied 0.000558 # JR :: (mLux, hLux) (mGain, hGain) dre = (7140.163, 17486.021) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.33065 and NewCommonGains 0.00050 runBreakDownAlgorithm:TargetCGain 0.00050, 0.00050, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00050, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00050 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00050 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00286 CoarseSearch If: for Stage 1, coarseTarget 0.00286 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00286 IndexCoarseTaget 0 PWL requiredCGain 0.00050 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00050 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00286 , remainingCGain 0.00286 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00286 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00286 findBestMatch: after flicker gainSelected 0.00286, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00286 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00286, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00286, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00286 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00286 CoarseSearch If: for Stage 1, coarseTarget 0.00286 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00286 IndexCoarseTaget 0 PWL requiredCGain 0.00286 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00286 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00286 , remainingCGain 0.00286 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00286 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00286 findBestMatch: after flicker gainSelected 0.00286, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00286 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00286, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00286, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00286 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00286 CoarseSearch If: for Stage 1, coarseTarget 0.00286 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00286 IndexCoarseTaget 0 PWL requiredCGain 0.00286 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00286 , remainingCGain 0.00286 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00286 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00286 findBestMatch: after flicker gainSelected 0.00286, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00286 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00286, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00286, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00286 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00286 CoarseSearch If: for Stage 1, coarseTarget 0.00286 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00286 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00286 , remainingCGain 0.00286 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00286 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00286 findBestMatch: after flicker gainSelected 0.00286, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00286 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00286, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00286 GainSelected 0.00286, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00050 totalAchievedCGains 0.00050 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00286, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00050, DRE 1.00000 and Pre {0.00050, 0.00050} UdpateFrameData: AA 0.17361, ET 0.00286, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5215, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003141 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 59.976830 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003141 frame rate = 38.000000 currentSceneLux 4487.980, linearMetric .0.066434, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.246237 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 7.46% (22.85, 23.25), , , , , avgDCT 3.25, thsDCT 500.00 currentSceneLux 4487.980, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.095711 m_highlightGainApplied 0.000545 computeHighlightMeter: highlight signal 0.939279 m_highlightGainApplied 0.000545 # JR :: (mLux, hLux) (mGain, hGain) dre = (7273.999, 17846.248) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.32437 and NewCommonGains 0.00049 runBreakDownAlgorithm:TargetCGain 0.00049, 0.00049, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00049, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00049 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00049 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00280 CoarseSearch If: for Stage 1, coarseTarget 0.00280 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00280 IndexCoarseTaget 0 PWL requiredCGain 0.00049 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00049 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00280 , remainingCGain 0.00280 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00280 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00280 findBestMatch: after flicker gainSelected 0.00280, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00280 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00280, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00280, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00280 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00280 CoarseSearch If: for Stage 1, coarseTarget 0.00280 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00280 IndexCoarseTaget 0 PWL requiredCGain 0.00280 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00280 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00280 , remainingCGain 0.00280 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00280 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00280 findBestMatch: after flicker gainSelected 0.00280, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00280 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00280, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00280, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00280 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00280 CoarseSearch If: for Stage 1, coarseTarget 0.00280 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00280 IndexCoarseTaget 0 PWL requiredCGain 0.00280 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00280 , remainingCGain 0.00280 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00280 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00280 findBestMatch: after flicker gainSelected 0.00280, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00280 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00280, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00280, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00280 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00280 CoarseSearch If: for Stage 1, coarseTarget 0.00280 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00280 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00280 , remainingCGain 0.00280 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00280 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00280 findBestMatch: after flicker gainSelected 0.00280, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00280 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00280, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00280 GainSelected 0.00280, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00049 totalAchievedCGains 0.00049 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00280, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00049, DRE 1.00000 and Pre {0.00049, 0.00049} UdpateFrameData: AA 0.17361, ET 0.00280, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5233, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003068 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 26.363579 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003068 frame rate = 38.000000 currentSceneLux 4566.566, linearMetric .0.066022, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.323439 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 9.16% (23.01, 23.32), , , , , avgDCT 3.25, thsDCT 500.00 currentSceneLux 4566.566, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.095233 m_highlightGainApplied 0.000533 computeHighlightMeter: highlight signal 0.935728 m_highlightGainApplied 0.000533 # JR :: (mLux, hLux) (mGain, hGain) dre = (7410.340, 18202.945) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.31873 and NewCommonGains 0.00048 runBreakDownAlgorithm:TargetCGain 0.00048, 0.00048, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00048, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00048 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00048 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00274 CoarseSearch If: for Stage 1, coarseTarget 0.00274 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00274 IndexCoarseTaget 0 PWL requiredCGain 0.00048 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00048 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00274 , remainingCGain 0.00274 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00274 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00274 findBestMatch: after flicker gainSelected 0.00274, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00274 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00274, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00274, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00274 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00274 CoarseSearch If: for Stage 1, coarseTarget 0.00274 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00274 IndexCoarseTaget 0 PWL requiredCGain 0.00274 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00274 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00274 , remainingCGain 0.00274 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00274 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00274 findBestMatch: after flicker gainSelected 0.00274, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00274 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00274, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00274, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00274 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00274 CoarseSearch If: for Stage 1, coarseTarget 0.00274 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00274 IndexCoarseTaget 0 PWL requiredCGain 0.00274 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00274 , remainingCGain 0.00274 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00274 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00274 findBestMatch: after flicker gainSelected 0.00274, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00274 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00274, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00274, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00274 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00274 CoarseSearch If: for Stage 1, coarseTarget 0.00274 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00274 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00274 , remainingCGain 0.00274 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00274 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00274 findBestMatch: after flicker gainSelected 0.00274, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00274 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00274, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00274 GainSelected 0.00274, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00048 totalAchievedCGains 0.00048 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00274, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00048, DRE 1.00000 and Pre {0.00048, 0.00048} UdpateFrameData: AA 0.17361, ET 0.00274, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5250, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002997 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 41.233574 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002997 frame rate = 38.000000 currentSceneLux 4645.567, linearMetric .0.065610, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.433390 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 10.64% (23.10, 23.43), , , , , avgDCT 3.25, thsDCT 500.00 currentSceneLux 4645.567, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.094883 m_highlightGainApplied 0.000520 computeHighlightMeter: highlight signal 0.932504 m_highlightGainApplied 0.000520 # JR :: (mLux, hLux) (mGain, hGain) dre = (7558.027, 18570.002) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.31532 and NewCommonGains 0.00046 runBreakDownAlgorithm:TargetCGain 0.00046, 0.00046, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00046, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00268 CoarseSearch If: for Stage 1, coarseTarget 0.00268 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00268 IndexCoarseTaget 0 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00268 , remainingCGain 0.00268 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00268 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00268 findBestMatch: after flicker gainSelected 0.00268, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00268 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00268, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00268, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00268 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00268 CoarseSearch If: for Stage 1, coarseTarget 0.00268 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00268 IndexCoarseTaget 0 PWL requiredCGain 0.00268 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00268 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00268 , remainingCGain 0.00268 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00268 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00268 findBestMatch: after flicker gainSelected 0.00268, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00268 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00268, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00268, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00268 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00268 CoarseSearch If: for Stage 1, coarseTarget 0.00268 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00268 IndexCoarseTaget 0 PWL requiredCGain 0.00268 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00268 , remainingCGain 0.00268 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00268 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00268 findBestMatch: after flicker gainSelected 0.00268, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00268 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00268, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00268, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00268 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00268 CoarseSearch If: for Stage 1, coarseTarget 0.00268 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00268 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00268 , remainingCGain 0.00268 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00268 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00268 findBestMatch: after flicker gainSelected 0.00268, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00268 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00268, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00268 GainSelected 0.00268, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00046 totalAchievedCGains 0.00046 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00268, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00046, DRE 1.00000 and Pre {0.00046, 0.00046} UdpateFrameData: AA 0.17361, ET 0.00268, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5265, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002928 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 34.205746 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002928 frame rate = 38.000000 currentSceneLux 4723.464, linearMetric .0.065181, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.611761 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 13.06% (23.25, 23.61), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 4723.464, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.094208 m_highlightGainApplied 0.000508 computeHighlightMeter: highlight signal 0.928948 m_highlightGainApplied 0.000508 # JR :: (mLux, hLux) (mGain, hGain) dre = (7680.294, 18933.076) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.30694 and NewCommonGains 0.00046 runBreakDownAlgorithm:TargetCGain 0.00046, 0.00046, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00046, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00262 CoarseSearch If: for Stage 1, coarseTarget 0.00262 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00262 IndexCoarseTaget 0 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00262 , remainingCGain 0.00262 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00262 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00262 findBestMatch: after flicker gainSelected 0.00262, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00262 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00262, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00262, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00262 CoarseSearch If: for Stage 1, coarseTarget 0.00262 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00262 IndexCoarseTaget 0 PWL requiredCGain 0.00262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00262 , remainingCGain 0.00262 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00262 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00262 findBestMatch: after flicker gainSelected 0.00262, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00262 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00262, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00262, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00262 CoarseSearch If: for Stage 1, coarseTarget 0.00262 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00262 IndexCoarseTaget 0 PWL requiredCGain 0.00262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00262 , remainingCGain 0.00262 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00262 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00262 findBestMatch: after flicker gainSelected 0.00262, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00262 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00262, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00262, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00262 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00262 CoarseSearch If: for Stage 1, coarseTarget 0.00262 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00262 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00262 , remainingCGain 0.00262 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00262 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00262 findBestMatch: after flicker gainSelected 0.00262, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00262 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00262, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00262 GainSelected 0.00262, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00046 totalAchievedCGains 0.00046 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00262, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00046, DRE 1.00000 and Pre {0.00046, 0.00046} UdpateFrameData: AA 0.17361, ET 0.00262, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5280, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002862 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 34.451424 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002862 frame rate = 38.000000 currentSceneLux 4801.078, linearMetric .0.064751, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.640608 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 13.84% (23.32, 23.64), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 4801.078, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.093863 m_highlightGainApplied 0.000497 computeHighlightMeter: highlight signal 0.924468 m_highlightGainApplied 0.000497 # JR :: (mLux, hLux) (mGain, hGain) dre = (7829.574, 19278.582) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.30402 and NewCommonGains 0.00045 runBreakDownAlgorithm:TargetCGain 0.00045, 0.00045, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00045, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00045 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00045 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00257 CoarseSearch If: for Stage 1, coarseTarget 0.00257 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00257 IndexCoarseTaget 0 PWL requiredCGain 0.00045 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00045 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00257 , remainingCGain 0.00257 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00257 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00257 findBestMatch: after flicker gainSelected 0.00257, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00257 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00257, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00257, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00257 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00257 CoarseSearch If: for Stage 1, coarseTarget 0.00257 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00257 IndexCoarseTaget 0 PWL requiredCGain 0.00257 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00257 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00257 , remainingCGain 0.00257 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00257 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00257 findBestMatch: after flicker gainSelected 0.00257, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00257 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00257, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00257, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00257 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00257 CoarseSearch If: for Stage 1, coarseTarget 0.00257 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00257 IndexCoarseTaget 0 PWL requiredCGain 0.00257 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00257 , remainingCGain 0.00257 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00257 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00257 findBestMatch: after flicker gainSelected 0.00257, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00257 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00257, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00257, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00257 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00257 CoarseSearch If: for Stage 1, coarseTarget 0.00257 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00257 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00257 , remainingCGain 0.00257 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00257 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00257 findBestMatch: after flicker gainSelected 0.00257, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00257 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00257, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00257 GainSelected 0.00257, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00045 totalAchievedCGains 0.00045 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00257, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00045, DRE 1.00000 and Pre {0.00045, 0.00045} UdpateFrameData: AA 0.17361, ET 0.00257, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5294, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002798 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 24.118065 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002798 frame rate = 38.000000 currentSceneLux 4888.814, linearMetric .0.064469, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.715788 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 15.21% (23.43, 23.72), , , , , avgDCT 3.00, thsDCT 500.00 currentSceneLux 4888.814, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.093516 m_highlightGainApplied 0.000486 computeHighlightMeter: highlight signal 0.922739 m_highlightGainApplied 0.000486 # JR :: (mLux, hLux) (mGain, hGain) dre = (7977.963, 19680.045) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.30071 and NewCommonGains 0.00044 runBreakDownAlgorithm:TargetCGain 0.00044, 0.00044, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00044, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00044 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00044 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00251 CoarseSearch If: for Stage 1, coarseTarget 0.00251 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00251 IndexCoarseTaget 0 PWL requiredCGain 0.00044 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00044 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00251 , remainingCGain 0.00251 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00251 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00251 findBestMatch: after flicker gainSelected 0.00251, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00251 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00251, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00251, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00251 CoarseSearch If: for Stage 1, coarseTarget 0.00251 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00251 IndexCoarseTaget 0 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00251 , remainingCGain 0.00251 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00251 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00251 findBestMatch: after flicker gainSelected 0.00251, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00251 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00251, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00251, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00251 CoarseSearch If: for Stage 1, coarseTarget 0.00251 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00251 IndexCoarseTaget 0 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00251 , remainingCGain 0.00251 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00251 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00251 findBestMatch: after flicker gainSelected 0.00251, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00251 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00251, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00251, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00251 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00251 CoarseSearch If: for Stage 1, coarseTarget 0.00251 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00251 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00251 , remainingCGain 0.00251 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00251 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00251 findBestMatch: after flicker gainSelected 0.00251, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00251 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00251, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00251 GainSelected 0.00251, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00044 totalAchievedCGains 0.00044 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00251, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00044, DRE 1.00000 and Pre {0.00044, 0.00044} UdpateFrameData: AA 0.17361, ET 0.00251, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5306, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002737 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 31.182785 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002737 frame rate = 38.000000 currentSceneLux 4965.399, linearMetric .0.064048, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.797102 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 17.13% (23.61, 23.80), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 4965.399, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.093185 m_highlightGainApplied 0.000475 computeHighlightMeter: highlight signal 0.918341 m_highlightGainApplied 0.000475 # JR :: (mLux, hLux) (mGain, hGain) dre = (8127.351, 20023.773) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.29740 and NewCommonGains 0.00043 runBreakDownAlgorithm:TargetCGain 0.00043, 0.00043, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00043, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00043 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00043 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00246 CoarseSearch If: for Stage 1, coarseTarget 0.00246 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00246 IndexCoarseTaget 0 PWL requiredCGain 0.00043 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00043 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00246 , remainingCGain 0.00246 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00246 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00246 findBestMatch: after flicker gainSelected 0.00246, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00246 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00246, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00246, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00246 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00246 CoarseSearch If: for Stage 1, coarseTarget 0.00246 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00246 IndexCoarseTaget 0 PWL requiredCGain 0.00246 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00246 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00246 , remainingCGain 0.00246 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00246 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00246 findBestMatch: after flicker gainSelected 0.00246, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00246 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00246, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00246, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00246 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00246 CoarseSearch If: for Stage 1, coarseTarget 0.00246 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00246 IndexCoarseTaget 0 PWL requiredCGain 0.00246 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00246 , remainingCGain 0.00246 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00246 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00246 findBestMatch: after flicker gainSelected 0.00246, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00246 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00246, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00246, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00246 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00246 CoarseSearch If: for Stage 1, coarseTarget 0.00246 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00246 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00246 , remainingCGain 0.00246 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00246 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00246 findBestMatch: after flicker gainSelected 0.00246, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00246 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00246, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00246 GainSelected 0.00246, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00043 totalAchievedCGains 0.00043 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00246, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00043, DRE 1.00000 and Pre {0.00043, 0.00043} UdpateFrameData: AA 0.17361, ET 0.00246, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5317, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002678 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 22.732775 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002678 frame rate = 38.000000 currentSceneLux 5052.455, linearMetric .0.063762, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.899109 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 18.10% (23.64, 23.90), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 5052.455, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.092831 m_highlightGainApplied 0.000465 computeHighlightMeter: highlight signal 0.915016 m_highlightGainApplied 0.000465 # JR :: (mLux, hLux) (mGain, hGain) dre = (8275.381, 20392.152) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.29370 and NewCommonGains 0.00042 runBreakDownAlgorithm:TargetCGain 0.00042, 0.00042, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00042, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00042 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00042 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00241 CoarseSearch If: for Stage 1, coarseTarget 0.00241 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00241 IndexCoarseTaget 0 PWL requiredCGain 0.00042 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00042 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00241 , remainingCGain 0.00241 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00241 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00241 findBestMatch: after flicker gainSelected 0.00241, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00241 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00241, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00241, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00241 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00241 CoarseSearch If: for Stage 1, coarseTarget 0.00241 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00241 IndexCoarseTaget 0 PWL requiredCGain 0.00241 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00241 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00241 , remainingCGain 0.00241 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00241 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00241 findBestMatch: after flicker gainSelected 0.00241, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00241 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00241, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00241, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00241 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00241 CoarseSearch If: for Stage 1, coarseTarget 0.00241 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00241 IndexCoarseTaget 0 PWL requiredCGain 0.00241 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00241 , remainingCGain 0.00241 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00241 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00241 findBestMatch: after flicker gainSelected 0.00241, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00241 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00241, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00241, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00241 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00241 CoarseSearch If: for Stage 1, coarseTarget 0.00241 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00241 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00241 , remainingCGain 0.00241 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00241 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00241 findBestMatch: after flicker gainSelected 0.00241, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00241 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00241, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00241 GainSelected 0.00241, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00042 totalAchievedCGains 0.00042 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00241, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00042, DRE 1.00000 and Pre {0.00042, 0.00042} UdpateFrameData: AA 0.17361, ET 0.00241, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5328, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002622 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 31.585213 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002622 frame rate = 38.000000 currentSceneLux 5127.826, linearMetric .0.063351, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.062082 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 19.86% (23.72, 24.06), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 5127.826, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.092574 m_highlightGainApplied 0.000455 computeHighlightMeter: highlight signal 0.910948 m_highlightGainApplied 0.000455 # JR :: (mLux, hLux) (mGain, hGain) dre = (8429.964, 20738.051) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.29103 and NewCommonGains 0.00041 runBreakDownAlgorithm:TargetCGain 0.00041, 0.00041, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00041, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00041 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00041 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00236 CoarseSearch If: for Stage 1, coarseTarget 0.00236 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00236 IndexCoarseTaget 0 PWL requiredCGain 0.00041 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00041 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00236 , remainingCGain 0.00236 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00236 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00236 findBestMatch: after flicker gainSelected 0.00236, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00236 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00236, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00236, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00236 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00236 CoarseSearch If: for Stage 1, coarseTarget 0.00236 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00236 IndexCoarseTaget 0 PWL requiredCGain 0.00236 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00236 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00236 , remainingCGain 0.00236 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00236 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00236 findBestMatch: after flicker gainSelected 0.00236, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00236 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00236, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00236, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00236 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00236 CoarseSearch If: for Stage 1, coarseTarget 0.00236 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00236 IndexCoarseTaget 0 PWL requiredCGain 0.00236 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00236 , remainingCGain 0.00236 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00236 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00236 findBestMatch: after flicker gainSelected 0.00236, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00236 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00236, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00236, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00236 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00236 CoarseSearch If: for Stage 1, coarseTarget 0.00236 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00236 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00236 , remainingCGain 0.00236 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00236 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00236 findBestMatch: after flicker gainSelected 0.00236, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00236 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00236, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00236 GainSelected 0.00236, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00041 totalAchievedCGains 0.00041 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00236, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00041, DRE 1.00000 and Pre {0.00041, 0.00041} UdpateFrameData: AA 0.17361, ET 0.00236, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5338, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002567 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 18.604267 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002567 frame rate = 38.000000 currentSceneLux 5214.162, linearMetric .0.063074, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.107512 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 20.80% (23.80, 24.11), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 5214.162, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.092409 m_highlightGainApplied 0.000446 computeHighlightMeter: highlight signal 0.907858 m_highlightGainApplied 0.000446 # JR :: (mLux, hLux) (mGain, hGain) dre = (8594.062, 21107.854) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.28974 and NewCommonGains 0.00040 runBreakDownAlgorithm:TargetCGain 0.00040, 0.00040, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00040, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00040 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00040 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00232 CoarseSearch If: for Stage 1, coarseTarget 0.00232 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00232 IndexCoarseTaget 0 PWL requiredCGain 0.00040 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00040 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00232 , remainingCGain 0.00232 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00232 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00232 findBestMatch: after flicker gainSelected 0.00232, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00232 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00232, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00232, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00232 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00232 CoarseSearch If: for Stage 1, coarseTarget 0.00232 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00232 IndexCoarseTaget 0 PWL requiredCGain 0.00232 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00232 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00232 , remainingCGain 0.00232 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00232 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00232 findBestMatch: after flicker gainSelected 0.00232, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00232 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00232, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00232, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00232 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00232 CoarseSearch If: for Stage 1, coarseTarget 0.00232 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00232 IndexCoarseTaget 0 PWL requiredCGain 0.00232 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00232 , remainingCGain 0.00232 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00232 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00232 findBestMatch: after flicker gainSelected 0.00232, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00232 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00232, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00232, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00232 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00232 CoarseSearch If: for Stage 1, coarseTarget 0.00232 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00232 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00232 , remainingCGain 0.00232 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00232 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00232 findBestMatch: after flicker gainSelected 0.00232, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00232 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00232, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00232 GainSelected 0.00232, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00040 totalAchievedCGains 0.00040 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00232, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00040, DRE 1.00000 and Pre {0.00040, 0.00040} UdpateFrameData: AA 0.17361, ET 0.00232, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5347, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002514 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 30.360691 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002514 frame rate = 38.000000 currentSceneLux 5290.029, linearMetric .0.062672, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.148411 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 21.85% (23.90, 24.15), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 5290.029, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.091971 m_highlightGainApplied 0.000436 computeHighlightMeter: highlight signal 0.902105 m_highlightGainApplied 0.000436 # JR :: (mLux, hLux) (mGain, hGain) dre = (8733.553, 21415.857) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.28400 and NewCommonGains 0.00039 runBreakDownAlgorithm:TargetCGain 0.00039, 0.00039, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00039, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00227 CoarseSearch If: for Stage 1, coarseTarget 0.00227 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00227 IndexCoarseTaget 0 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00227 , remainingCGain 0.00227 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00227 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00227 findBestMatch: after flicker gainSelected 0.00227, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00227 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00227, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00227, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00227 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00227 CoarseSearch If: for Stage 1, coarseTarget 0.00227 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00227 IndexCoarseTaget 0 PWL requiredCGain 0.00227 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00227 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00227 , remainingCGain 0.00227 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00227 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00227 findBestMatch: after flicker gainSelected 0.00227, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00227 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00227, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00227, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00227 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00227 CoarseSearch If: for Stage 1, coarseTarget 0.00227 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00227 IndexCoarseTaget 0 PWL requiredCGain 0.00227 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00227 , remainingCGain 0.00227 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00227 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00227 findBestMatch: after flicker gainSelected 0.00227, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00227 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00227, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00227, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00227 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00227 CoarseSearch If: for Stage 1, coarseTarget 0.00227 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00227 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00227 , remainingCGain 0.00227 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00227 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00227 findBestMatch: after flicker gainSelected 0.00227, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00227 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00227, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00227 GainSelected 0.00227, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00039 totalAchievedCGains 0.00039 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00227, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00039, DRE 1.00000 and Pre {0.00039, 0.00039} UdpateFrameData: AA 0.17361, ET 0.00227, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5355, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002463 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 16.173445 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002463 frame rate = 38.000000 currentSceneLux 5377.668, linearMetric .0.062410, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.190147 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 23.37% (24.06, 24.19), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 5377.668, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.091776 m_highlightGainApplied 0.000428 computeHighlightMeter: highlight signal 0.897569 m_highlightGainApplied 0.000428 # JR :: (mLux, hLux) (mGain, hGain) dre = (8896.504, 21751.982) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.28227 and NewCommonGains 0.00039 runBreakDownAlgorithm:TargetCGain 0.00039, 0.00039, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00039, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00223 CoarseSearch If: for Stage 1, coarseTarget 0.00223 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00223 IndexCoarseTaget 0 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00223 , remainingCGain 0.00223 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00223 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00223 findBestMatch: after flicker gainSelected 0.00223, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00223 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00223, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00223, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00223 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00223 CoarseSearch If: for Stage 1, coarseTarget 0.00223 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00223 IndexCoarseTaget 0 PWL requiredCGain 0.00223 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00223 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00223 , remainingCGain 0.00223 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00223 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00223 findBestMatch: after flicker gainSelected 0.00223, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00223 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00223, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00223, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00223 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00223 CoarseSearch If: for Stage 1, coarseTarget 0.00223 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00223 IndexCoarseTaget 0 PWL requiredCGain 0.00223 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00223 , remainingCGain 0.00223 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00223 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00223 findBestMatch: after flicker gainSelected 0.00223, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00223 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00223, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00223, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00223 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00223 CoarseSearch If: for Stage 1, coarseTarget 0.00223 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00223 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00223 , remainingCGain 0.00223 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00223 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00223 findBestMatch: after flicker gainSelected 0.00223, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00223 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00223, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00223 GainSelected 0.00223, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00039 totalAchievedCGains 0.00039 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00223, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00039, DRE 1.00000 and Pre {0.00039, 0.00039} UdpateFrameData: AA 0.17361, ET 0.00223, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5362, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002413 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 17.078094 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002413 frame rate = 38.000000 currentSceneLux 5464.434, linearMetric .0.062139, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.181229 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 23.70% (24.11, 24.19), , , , , avgDCT 5.00, thsDCT 500.00 currentSceneLux 5464.434, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.091486 m_highlightGainApplied 0.000419 computeHighlightMeter: highlight signal 0.894123 m_highlightGainApplied 0.000419 # JR :: (mLux, hLux) (mGain, hGain) dre = (9050.782, 22114.105) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.27885 and NewCommonGains 0.00038 runBreakDownAlgorithm:TargetCGain 0.00038, 0.00038, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00038, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00038 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00038 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00219 CoarseSearch If: for Stage 1, coarseTarget 0.00219 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00219 IndexCoarseTaget 0 PWL requiredCGain 0.00038 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00038 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00219 , remainingCGain 0.00219 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00219 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00219 findBestMatch: after flicker gainSelected 0.00219, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00219 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00219, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00219, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00219 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00219 CoarseSearch If: for Stage 1, coarseTarget 0.00219 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00219 IndexCoarseTaget 0 PWL requiredCGain 0.00219 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00219 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00219 , remainingCGain 0.00219 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00219 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00219 findBestMatch: after flicker gainSelected 0.00219, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00219 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00219, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00219, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00219 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00219 CoarseSearch If: for Stage 1, coarseTarget 0.00219 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00219 IndexCoarseTaget 0 PWL requiredCGain 0.00219 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00219 , remainingCGain 0.00219 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00219 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00219 findBestMatch: after flicker gainSelected 0.00219, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00219 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00219, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00219, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00219 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00219 CoarseSearch If: for Stage 1, coarseTarget 0.00219 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00219 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00219 , remainingCGain 0.00219 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00219 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00219 findBestMatch: after flicker gainSelected 0.00219, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00219 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00219, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00219 GainSelected 0.00219, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00038 totalAchievedCGains 0.00038 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00219, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00038, DRE 1.00000 and Pre {0.00038, 0.00038} UdpateFrameData: AA 0.17361, ET 0.00219, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5370, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002365 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 16.251720 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002365 frame rate = 38.000000 currentSceneLux 5550.611, linearMetric .0.061859, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.247353 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 24.43% (24.15, 24.25), , , , , avgDCT 5.25, thsDCT 500.00 currentSceneLux 5550.611, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.091194 m_highlightGainApplied 0.000411 computeHighlightMeter: highlight signal 0.889342 m_highlightGainApplied 0.000411 # JR :: (mLux, hLux) (mGain, hGain) dre = (9205.789, 22444.080) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.27546 and NewCommonGains 0.00037 runBreakDownAlgorithm:TargetCGain 0.00037, 0.00037, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00037, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00214 CoarseSearch If: for Stage 1, coarseTarget 0.00214 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00214 IndexCoarseTaget 0 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00214 , remainingCGain 0.00214 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00214 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00214 findBestMatch: after flicker gainSelected 0.00214, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00214 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00214, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00214, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00214 CoarseSearch If: for Stage 1, coarseTarget 0.00214 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00214 IndexCoarseTaget 0 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00214 , remainingCGain 0.00214 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00214 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00214 findBestMatch: after flicker gainSelected 0.00214, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00214 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00214, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00214, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00214 CoarseSearch If: for Stage 1, coarseTarget 0.00214 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00214 IndexCoarseTaget 0 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00214 , remainingCGain 0.00214 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00214 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00214 findBestMatch: after flicker gainSelected 0.00214, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00214 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00214, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00214, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00214 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00214 CoarseSearch If: for Stage 1, coarseTarget 0.00214 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00214 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00214 , remainingCGain 0.00214 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00214 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00214 findBestMatch: after flicker gainSelected 0.00214, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00214 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00214, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00214 GainSelected 0.00214, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00037 totalAchievedCGains 0.00037 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00214, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00037, DRE 1.00000 and Pre {0.00037, 0.00037} UdpateFrameData: AA 0.17361, ET 0.00214, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5376, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002318 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 21.127819 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002318 frame rate = 38.000000 currentSceneLux 5638.346, linearMetric .0.061587, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.254669 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 24.72% (24.18, 24.25), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 5638.346, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.090984 m_highlightGainApplied 0.000402 computeHighlightMeter: highlight signal 0.885657 m_highlightGainApplied 0.000402 # JR :: (mLux, hLux) (mGain, hGain) dre = (9370.910, 22804.510) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.27356 and NewCommonGains 0.00037 runBreakDownAlgorithm:TargetCGain 0.00037, 0.00037, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00037, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00210 CoarseSearch If: for Stage 1, coarseTarget 0.00210 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00210 IndexCoarseTaget 0 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00210 , remainingCGain 0.00210 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00210 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00210 findBestMatch: after flicker gainSelected 0.00210, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00210 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00210, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00210, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00210 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00210 CoarseSearch If: for Stage 1, coarseTarget 0.00210 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00210 IndexCoarseTaget 0 PWL requiredCGain 0.00210 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00210 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00210 , remainingCGain 0.00210 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00210 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00210 findBestMatch: after flicker gainSelected 0.00210, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00210 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00210, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00210, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00210 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00210 CoarseSearch If: for Stage 1, coarseTarget 0.00210 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00210 IndexCoarseTaget 0 PWL requiredCGain 0.00210 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00210 , remainingCGain 0.00210 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00210 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00210 findBestMatch: after flicker gainSelected 0.00210, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00210 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00210, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00210, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00210 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00210 CoarseSearch If: for Stage 1, coarseTarget 0.00210 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00210 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00210 , remainingCGain 0.00210 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00210 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00210 findBestMatch: after flicker gainSelected 0.00210, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00210 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00210, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00210 GainSelected 0.00210, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00037 totalAchievedCGains 0.00037 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00210, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00037, DRE 1.00000 and Pre {0.00037, 0.00037} UdpateFrameData: AA 0.17361, ET 0.00210, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5382, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002273 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 10.830131 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002273 frame rate = 38.000000 currentSceneLux 5724.063, linearMetric .0.061305, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.328526 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 25.27% (24.18, 24.33), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 5724.063, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.090718 m_highlightGainApplied 0.000395 computeHighlightMeter: highlight signal 0.880105 m_highlightGainApplied 0.000395 # JR :: (mLux, hLux) (mGain, hGain) dre = (9529.257, 23112.053) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.27038 and NewCommonGains 0.00036 runBreakDownAlgorithm:TargetCGain 0.00036, 0.00036, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00036, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00036 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00036 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00207 CoarseSearch If: for Stage 1, coarseTarget 0.00207 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00207 IndexCoarseTaget 0 PWL requiredCGain 0.00036 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00036 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00207 , remainingCGain 0.00207 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00207 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00207 findBestMatch: after flicker gainSelected 0.00207, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00207 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00207, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00207, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00207 CoarseSearch If: for Stage 1, coarseTarget 0.00207 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00207 IndexCoarseTaget 0 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00207 , remainingCGain 0.00207 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00207 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00207 findBestMatch: after flicker gainSelected 0.00207, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00207 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00207, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00207, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00207 CoarseSearch If: for Stage 1, coarseTarget 0.00207 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00207 IndexCoarseTaget 0 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00207 , remainingCGain 0.00207 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00207 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00207 findBestMatch: after flicker gainSelected 0.00207, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00207 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00207, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00207, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00207 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00207 CoarseSearch If: for Stage 1, coarseTarget 0.00207 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00207 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00207 , remainingCGain 0.00207 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00207 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00207 findBestMatch: after flicker gainSelected 0.00207, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00207 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00207, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00207 GainSelected 0.00207, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00036 totalAchievedCGains 0.00036 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00207, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00036, DRE 1.00000 and Pre {0.00036, 0.00036} UdpateFrameData: AA 0.17361, ET 0.00207, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002229 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 16.576056 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002229 frame rate = 38.000000 currentSceneLux 5811.287, linearMetric .0.061033, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.267559 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 25.76% (24.25, 24.33), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 5811.287, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.090412 m_highlightGainApplied 0.000387 computeHighlightMeter: highlight signal 0.874922 m_highlightGainApplied 0.000387 # JR :: (mLux, hLux) (mGain, hGain) dre = (9684.774, 23429.895) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.26670 and NewCommonGains 0.00035 runBreakDownAlgorithm:TargetCGain 0.00035, 0.00035, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00035, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00035 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00035 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00203 CoarseSearch If: for Stage 1, coarseTarget 0.00203 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00203 IndexCoarseTaget 0 PWL requiredCGain 0.00035 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00035 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00203 , remainingCGain 0.00203 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00203 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00203 findBestMatch: after flicker gainSelected 0.00203, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00203 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00203, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00203, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00203 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00203 CoarseSearch If: for Stage 1, coarseTarget 0.00203 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00203 IndexCoarseTaget 0 PWL requiredCGain 0.00203 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00203 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00203 , remainingCGain 0.00203 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00203 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00203 findBestMatch: after flicker gainSelected 0.00203, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00203 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00203, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00203, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00203 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00203 CoarseSearch If: for Stage 1, coarseTarget 0.00203 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00203 IndexCoarseTaget 0 PWL requiredCGain 0.00203 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00203 , remainingCGain 0.00203 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00203 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00203 findBestMatch: after flicker gainSelected 0.00203, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00203 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00203, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00203, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00203 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00203 CoarseSearch If: for Stage 1, coarseTarget 0.00203 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00203 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00203 , remainingCGain 0.00203 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00203 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00203 findBestMatch: after flicker gainSelected 0.00203, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00203 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00203, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00203 GainSelected 0.00203, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00035 totalAchievedCGains 0.00035 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00203, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00035, DRE 1.00000 and Pre {0.00035, 0.00035} UdpateFrameData: AA 0.17361, ET 0.00203, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5393, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002186 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 16.836388 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002186 frame rate = 38.000000 currentSceneLux 5898.945, linearMetric .0.060768, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.229166 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 25.62% (24.23, 24.33), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 5898.945, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.090225 m_highlightGainApplied 0.000380 computeHighlightMeter: highlight signal 0.870308 m_highlightGainApplied 0.000380 # JR :: (mLux, hLux) (mGain, hGain) dre = (9853.332, 23761.172) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.26492 and NewCommonGains 0.00035 runBreakDownAlgorithm:TargetCGain 0.00035, 0.00035, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00035, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00035 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00035 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00199 CoarseSearch If: for Stage 1, coarseTarget 0.00199 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00199 IndexCoarseTaget 0 PWL requiredCGain 0.00035 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00035 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00199 , remainingCGain 0.00199 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00199 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00199 findBestMatch: after flicker gainSelected 0.00199, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00199 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00199, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00199, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00199 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00199 CoarseSearch If: for Stage 1, coarseTarget 0.00199 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00199 IndexCoarseTaget 0 PWL requiredCGain 0.00199 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00199 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00199 , remainingCGain 0.00199 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00199 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00199 findBestMatch: after flicker gainSelected 0.00199, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00199 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00199, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00199, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00199 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00199 CoarseSearch If: for Stage 1, coarseTarget 0.00199 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00199 IndexCoarseTaget 0 PWL requiredCGain 0.00199 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00199 , remainingCGain 0.00199 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00199 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00199 findBestMatch: after flicker gainSelected 0.00199, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00199 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00199, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00199, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00199 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00199 CoarseSearch If: for Stage 1, coarseTarget 0.00199 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00199 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00199 , remainingCGain 0.00199 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00199 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00199 findBestMatch: after flicker gainSelected 0.00199, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00199 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00199, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00199 GainSelected 0.00199, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00035 totalAchievedCGains 0.00035 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00199, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00035, DRE 1.00000 and Pre {0.00035, 0.00035} UdpateFrameData: AA 0.17361, ET 0.00199, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5398, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002145 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 18.907236 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002145 frame rate = 38.000000 currentSceneLux 5999.716, linearMetric .0.060637, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.311665 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 25.62% (24.23, 24.33), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 5999.716, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.090102 m_highlightGainApplied 0.000372 computeHighlightMeter: highlight signal 0.867383 m_highlightGainApplied 0.000372 # JR :: (mLux, hLux) (mGain, hGain) dre = (10029.596, 24137.820) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.26401 and NewCommonGains 0.00034 runBreakDownAlgorithm:TargetCGain 0.00034, 0.00034, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00034, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00034 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00034 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00195 CoarseSearch If: for Stage 1, coarseTarget 0.00195 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00195 IndexCoarseTaget 0 PWL requiredCGain 0.00034 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00034 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00195 , remainingCGain 0.00195 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00195 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00195 findBestMatch: after flicker gainSelected 0.00195, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00195 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00195, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00195, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00195 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00195 CoarseSearch If: for Stage 1, coarseTarget 0.00195 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00195 IndexCoarseTaget 0 PWL requiredCGain 0.00195 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00195 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00195 , remainingCGain 0.00195 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00195 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00195 findBestMatch: after flicker gainSelected 0.00195, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00195 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00195, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00195, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00195 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00195 CoarseSearch If: for Stage 1, coarseTarget 0.00195 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00195 IndexCoarseTaget 0 PWL requiredCGain 0.00195 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00195 , remainingCGain 0.00195 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00195 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00195 findBestMatch: after flicker gainSelected 0.00195, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00195 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00195, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00195, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00195 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00195 CoarseSearch If: for Stage 1, coarseTarget 0.00195 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00195 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00195 , remainingCGain 0.00195 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00195 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00195 findBestMatch: after flicker gainSelected 0.00195, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00195 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00195, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00195 GainSelected 0.00195, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00034 totalAchievedCGains 0.00034 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00195, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00034, DRE 1.00000 and Pre {0.00034, 0.00034} UdpateFrameData: AA 0.17361, ET 0.00195, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5403, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002104 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 100.000000 (idx = 0) response = 14.415895 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002104 frame rate = 38.000000 currentSceneLux 6087.790, linearMetric .0.060371, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.284002 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 25.50% (24.23, 24.31), , , , , avgDCT 5.50, thsDCT 500.00 currentSceneLux 6087.790, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.089776 m_highlightGainApplied 0.000365 computeHighlightMeter: highlight signal 0.861305 m_highlightGainApplied 0.000365 # JR :: (mLux, hLux) (mGain, hGain) dre = (10184.597, 24427.504) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.25974 and NewCommonGains 0.00033 runBreakDownAlgorithm:TargetCGain 0.00033, 0.00033, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00033, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00033 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00033 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00192 CoarseSearch If: for Stage 1, coarseTarget 0.00192 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00192 IndexCoarseTaget 0 PWL requiredCGain 0.00033 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00033 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00192 , remainingCGain 0.00192 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00192 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00192 findBestMatch: after flicker gainSelected 0.00192, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00192 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00192, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00192, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00192 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00192 CoarseSearch If: for Stage 1, coarseTarget 0.00192 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00192 IndexCoarseTaget 0 PWL requiredCGain 0.00192 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00192 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00192 , remainingCGain 0.00192 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00192 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00192 findBestMatch: after flicker gainSelected 0.00192, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00192 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00192, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00192, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00192 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00192 CoarseSearch If: for Stage 1, coarseTarget 0.00192 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00192 IndexCoarseTaget 0 PWL requiredCGain 0.00192 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00192 , remainingCGain 0.00192 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00192 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00192 findBestMatch: after flicker gainSelected 0.00192, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00192 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00192, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00192, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00192 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00192 CoarseSearch If: for Stage 1, coarseTarget 0.00192 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00192 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00192 , remainingCGain 0.00192 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00192 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00192 findBestMatch: after flicker gainSelected 0.00192, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00192 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00192, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00192 GainSelected 0.00192, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00033 totalAchievedCGains 0.00033 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00192, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00033, DRE 1.00000 and Pre {0.00033, 0.00033} UdpateFrameData: AA 0.17361, ET 0.00192, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5407, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002065 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 13.719728 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002065 frame rate = 38.000000 currentSceneLux 6176.427, linearMetric .0.060113, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.341486 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 25.72% (24.23, 24.34), , , , , avgDCT 7.25, thsDCT 500.00 currentSceneLux 6176.427, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.089618 m_highlightGainApplied 0.000359 computeHighlightMeter: highlight signal 0.856537 m_highlightGainApplied 0.000359 # JR :: (mLux, hLux) (mGain, hGain) dre = (10358.915, 24751.852) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.25825 and NewCommonGains 0.00033 runBreakDownAlgorithm:TargetCGain 0.00033, 0.00033, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00033, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00033 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00033 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00189 CoarseSearch If: for Stage 1, coarseTarget 0.00189 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00189 IndexCoarseTaget 0 PWL requiredCGain 0.00033 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00033 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00189 , remainingCGain 0.00189 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00189 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00189 findBestMatch: after flicker gainSelected 0.00189, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00189 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00189, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00189, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00189 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00189 CoarseSearch If: for Stage 1, coarseTarget 0.00189 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00189 IndexCoarseTaget 0 PWL requiredCGain 0.00189 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00189 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00189 , remainingCGain 0.00189 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00189 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00189 findBestMatch: after flicker gainSelected 0.00189, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00189 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00189, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00189, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00189 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00189 CoarseSearch If: for Stage 1, coarseTarget 0.00189 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00189 IndexCoarseTaget 0 PWL requiredCGain 0.00189 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00189 , remainingCGain 0.00189 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00189 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00189 findBestMatch: after flicker gainSelected 0.00189, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00189 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00189, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00189, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00189 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00189 CoarseSearch If: for Stage 1, coarseTarget 0.00189 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00189 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00189 , remainingCGain 0.00189 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00189 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00189 findBestMatch: after flicker gainSelected 0.00189, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00189 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00189, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00189 GainSelected 0.00189, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00033 totalAchievedCGains 0.00033 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00189, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00033, DRE 1.00000 and Pre {0.00033, 0.00033} UdpateFrameData: AA 0.17361, ET 0.00189, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5411, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002027 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 16.024288 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002027 frame rate = 38.000000 currentSceneLux 6277.913, linearMetric .0.059982, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.401896 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 26.57% (24.28, 24.40), , , , , avgDCT 5.75, thsDCT 500.00 currentSceneLux 6277.913, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.089538 m_highlightGainApplied 0.000352 computeHighlightMeter: highlight signal 0.852564 m_highlightGainApplied 0.000352 # JR :: (mLux, hLux) (mGain, hGain) dre = (10542.778, 25096.689) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.25780 and NewCommonGains 0.00032 runBreakDownAlgorithm:TargetCGain 0.00032, 0.00032, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00032, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00032 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00032 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00185 CoarseSearch If: for Stage 1, coarseTarget 0.00185 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00185 IndexCoarseTaget 0 PWL requiredCGain 0.00032 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00032 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00185 , remainingCGain 0.00185 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00185 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00185 findBestMatch: after flicker gainSelected 0.00185, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00185 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00185, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00185, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00185 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00185 CoarseSearch If: for Stage 1, coarseTarget 0.00185 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00185 IndexCoarseTaget 0 PWL requiredCGain 0.00185 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00185 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00185 , remainingCGain 0.00185 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00185 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00185 findBestMatch: after flicker gainSelected 0.00185, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00185 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00185, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00185, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00185 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00185 CoarseSearch If: for Stage 1, coarseTarget 0.00185 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00185 IndexCoarseTaget 0 PWL requiredCGain 0.00185 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00185 , remainingCGain 0.00185 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00185 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00185 findBestMatch: after flicker gainSelected 0.00185, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00185 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00185, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00185, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00185 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00185 CoarseSearch If: for Stage 1, coarseTarget 0.00185 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00185 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00185 , remainingCGain 0.00185 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00185 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00185 findBestMatch: after flicker gainSelected 0.00185, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00185 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00185, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00185 GainSelected 0.00185, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00032 totalAchievedCGains 0.00032 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00185, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00032, DRE 1.00000 and Pre {0.00032, 0.00032} UdpateFrameData: AA 0.17361, ET 0.00185, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5416, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001991 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 20.983957 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001991 frame rate = 38.000000 currentSceneLux 6365.363, linearMetric .0.059711, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.357094 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 26.57% (24.28, 24.40), , , , , avgDCT 4.75, thsDCT 500.00 currentSceneLux 6365.363, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 38.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {38.00000, 38.00000} and ET after clamp {0.00003, 0.02632}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.089155 m_highlightGainApplied 0.000346 computeHighlightMeter: highlight signal 0.847160 m_highlightGainApplied 0.000346 # JR :: (mLux, hLux) (mGain, hGain) dre = (10692.330, 25399.781) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.25234 and NewCommonGains 0.00032 runBreakDownAlgorithm:TargetCGain 0.00032, 0.00032, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.02632} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.02632, 0.00000} after update, Table {0.00003, 0.02632}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00032, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00457 updateTotalCGainsTable: m_totalCGains[2] 0.00679 updateTotalCGainsTable: m_totalCGains[3] 0.01008 updateTotalCGainsTable: m_totalCGains[4] 0.01499 updateTotalCGainsTable: m_totalCGains[5] 0.02228 updateTotalCGainsTable: m_totalCGains[6] 0.03310 updateTotalCGainsTable: m_totalCGains[7] 0.04919 updateTotalCGainsTable: m_totalCGains[8] 4.56871 updateTotalCGainsTable: m_totalCGains[9] 1169.59058 updateTotalCGainsTable: m_totalCGains[10] 4656.22314 PWL requiredCGain 0.00032 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00032 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 0.00182 CoarseSearch If: for Stage 1, coarseTarget 0.00182 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00182 IndexCoarseTaget 0 PWL requiredCGain 0.00032 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00032 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00457, PWL: n is 1 PWL: else:point 0.00457, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.02632 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00182 , remainingCGain 0.00182 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00182 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00182 findBestMatch: after flicker gainSelected 0.00182, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00182 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00182, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00182, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 6736.84229 updateTotalCGainsTable: m_totalCGains[10] 26819.84570 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00182 CoarseSearch If: for Stage 1, coarseTarget 0.00182 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00182 IndexCoarseTaget 0 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00182 , remainingCGain 0.00182 and slimits {0.00003, 26819.84570}+++ flickerCorrection: remainingCGain 0.00182 and remainingCGainLimits {0.00003, 26819.84570} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00182 findBestMatch: after flicker gainSelected 0.00182, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00182 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00182, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00182, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.03913 updateTotalCGainsTable: m_totalCGains[3] 0.05809 updateTotalCGainsTable: m_totalCGains[4] 0.08636 updateTotalCGainsTable: m_totalCGains[5] 0.12833 updateTotalCGainsTable: m_totalCGains[6] 0.19066 updateTotalCGainsTable: m_totalCGains[7] 0.28335 updateTotalCGainsTable: m_totalCGains[8] 26.31579 updateTotalCGainsTable: m_totalCGains[9] 26.31579 updateTotalCGainsTable: m_totalCGains[10] 104.76502 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00182 CoarseSearch If: for Stage 1, coarseTarget 0.00182 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00182 IndexCoarseTaget 0 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00182 , remainingCGain 0.00182 and slimits {0.00003, 104.76502}+++ flickerCorrection: remainingCGain 0.00182 and remainingCGainLimits {0.00003, 104.76502} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00182 findBestMatch: after flicker gainSelected 0.00182, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00182 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00182, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00182, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.02632 updateTotalCGainsTable: m_totalCGains[2] 0.02632 updateTotalCGainsTable: m_totalCGains[3] 0.02632 updateTotalCGainsTable: m_totalCGains[4] 0.02632 updateTotalCGainsTable: m_totalCGains[5] 0.02632 updateTotalCGainsTable: m_totalCGains[6] 0.02632 updateTotalCGainsTable: m_totalCGains[7] 0.02632 updateTotalCGainsTable: m_totalCGains[8] 0.02632 updateTotalCGainsTable: m_totalCGains[9] 0.02632 updateTotalCGainsTable: m_totalCGains[10] 0.02632 PWL requiredCGain 0.00182 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.02632, PWL: n is 1 PWL: else:point 0.02632, Value 0.00182 CoarseSearch If: for Stage 1, coarseTarget 0.00182 IndexCoarseTaget 0, low point 0.00003, high 0.02632 CoarseSearch: stageType 1, coarseTarget 0.00182 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00182 , remainingCGain 0.00182 and slimits {0.00003, 0.02632}+++ flickerCorrection: remainingCGain 0.00182 and remainingCGainLimits {0.00003, 0.02632} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.02000 and adjustedAEStep 0.01000, ET GainSelected 0.00182 findBestMatch: after flicker gainSelected 0.00182, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00182 points {0.00003, 0.02632}, IndexCoarseTaget 0, bestMatch 0.00182, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00182 GainSelected 0.00182, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 38.00000, requiredCain 0.00032 totalAchievedCGains 0.00032 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00182, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00032, DRE 1.00000 and Pre {0.00032, 0.00032} UdpateFrameData: AA 0.17361, ET 0.00182, AG 1.00000, FrameRate 38.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5421, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001954 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 17.121098 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001954 frame rate = 38.000000 currentSceneLux 6453.058, linearMetric .0.059436, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.381479 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 27.00% (24.34, 24.40), , , , , avgDCT 4.50, thsDCT 500.00 Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001920 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 100.000000 (idx = 0) response = 10.674776 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001920 frame rate = 38.000000 currentSceneLux 6555.211, linearMetric .0.059299, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.400711 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 27.11% (24.36, 24.40), , , , , avgDCT 3.25, thsDCT 500.00 Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001886 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 24.682314 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001886 frame rate = 38.000000 currentSceneLux 6643.935, linearMetric .0.059036, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.303232 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 26.71% (24.30, 24.40), , , , , avgDCT 4.25, thsDCT 500.00 Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001852 frame rate = 38.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 19.360920 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001852 frame rate = 38.000000 currentSceneLux 6748.169, linearMetric .0.058900, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.243450 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 26.26% (24.24, 24.40), , , , , avgDCT 4.25, thsDCT 500.00 Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001820 frame rate = 38.000000 Dominant freq = 264.108978 candidate freq = 100.000000 (idx = 0) response = 13.606924 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001820 frame rate = 38.000000 currentSceneLux 6850.664, linearMetric .0.058758, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.291319 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 26.26% (24.24, 24.40), , , , , avgDCT 3.25, thsDCT 500.00 AF: NvIspAfSetConfiguration Enter AF: pick pAL/PclFocuser: 0, pAL offset: 0 AF: pick pAH/PclFocuser: 0, pAH offset: 0 NvIspAfSanitizeConfigParams: actualLow = 0, actualHigh = 0, workingLow = 0, workingHigh = 0 hyperFocal = 0 rangeEndsReversed 0 NvIspAfSanitizeConfigParams: Warning: settle_time too large: 100, capped to 30 NvIspAfSanitizeConfigParams: cfg.positionResting 0 NvIspAfConfigParamsSanityCheck: Error: positionWorkingHigh is not larger than positionWorkingLow positionWorkingHigh = 0, positionWorkingLow = 0 NvIspAfConfigParamsSanityCheck: Returning 0 NvIspAfSetConfiguration: AFConfigParamsSanityCheck failed. Disabling Autofocus currentSceneLux 6850.664, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.088179 m_highlightGainApplied 0.000316 computeHighlightMeter: highlight signal 0.823138 m_highlightGainApplied 0.000316 # JR :: (mLux, hLux) (mGain, hGain) dre = (11566.108, 26991.932) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.34044 and NewCommonGains 0.00031 runBreakDownAlgorithm:TargetCGain 0.00031, 0.00031, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00031, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00031 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00031 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00178 CoarseSearch If: for Stage 1, coarseTarget 0.00178 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00178 IndexCoarseTaget 0 PWL requiredCGain 0.00031 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00031 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00178 , remainingCGain 0.00178 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00178 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00178 findBestMatch: after flicker gainSelected 0.00178, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00178 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00178, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00178, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00178 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00178 CoarseSearch If: for Stage 1, coarseTarget 0.00178 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00178 IndexCoarseTaget 0 PWL requiredCGain 0.00178 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00178 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00178 , remainingCGain 0.00178 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00178 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00178 findBestMatch: after flicker gainSelected 0.00178, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00178 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00178, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00178, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00178 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00178 CoarseSearch If: for Stage 1, coarseTarget 0.00178 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00178 IndexCoarseTaget 0 PWL requiredCGain 0.00178 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00178 , remainingCGain 0.00178 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00178 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00178 findBestMatch: after flicker gainSelected 0.00178, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00178 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00178, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00178, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00178 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00178 CoarseSearch If: for Stage 1, coarseTarget 0.00178 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00178 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00178 , remainingCGain 0.00178 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00178 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00178 findBestMatch: after flicker gainSelected 0.00178, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00178 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00178, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00178 GainSelected 0.00178, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00031 totalAchievedCGains 0.00031 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00178, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00031, DRE 1.00000 and Pre {0.00031, 0.00031} UdpateFrameData: AA 0.17361, ET 0.00178, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5426, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) currentSceneLux 6850.664, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.088179 m_highlightGainApplied 0.000316 computeHighlightMeter: highlight signal 0.823138 m_highlightGainApplied 0.000316 # JR :: (mLux, hLux) (mGain, hGain) dre = (11566.108, 26991.932) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.30639 and NewCommonGains 0.00030 runBreakDownAlgorithm:TargetCGain 0.00030, 0.00030, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00030, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00030 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00030 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00174 CoarseSearch If: for Stage 1, coarseTarget 0.00174 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00174 IndexCoarseTaget 0 PWL requiredCGain 0.00030 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00030 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00174 , remainingCGain 0.00174 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00174 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00174 findBestMatch: after flicker gainSelected 0.00174, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00174 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00174, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00174, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00174 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00174 CoarseSearch If: for Stage 1, coarseTarget 0.00174 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00174 IndexCoarseTaget 0 PWL requiredCGain 0.00174 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00174 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00174 , remainingCGain 0.00174 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00174 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00174 findBestMatch: after flicker gainSelected 0.00174, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00174 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00174, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00174, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00174 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00174 CoarseSearch If: for Stage 1, coarseTarget 0.00174 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00174 IndexCoarseTaget 0 PWL requiredCGain 0.00174 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00174 , remainingCGain 0.00174 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00174 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00174 findBestMatch: after flicker gainSelected 0.00174, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00174 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00174, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00174, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00174 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00174 CoarseSearch If: for Stage 1, coarseTarget 0.00174 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00174 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00174 , remainingCGain 0.00174 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00174 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00174 findBestMatch: after flicker gainSelected 0.00174, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00174 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00174, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00174 GainSelected 0.00174, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00030 totalAchievedCGains 0.00030 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00174, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00030, DRE 1.00000 and Pre {0.00030, 0.00030} UdpateFrameData: AA 0.17361, ET 0.00174, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5431, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) currentSceneLux 6850.664, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 38.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.088179 m_highlightGainApplied 0.000316 computeHighlightMeter: highlight signal 0.823138 m_highlightGainApplied 0.000316 # JR :: (mLux, hLux) (mGain, hGain) dre = (11566.108, 26991.932) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.27575 and NewCommonGains 0.00030 runBreakDownAlgorithm:TargetCGain 0.00030, 0.00030, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00030, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00030 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00030 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00171 CoarseSearch If: for Stage 1, coarseTarget 0.00171 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00171 IndexCoarseTaget 0 PWL requiredCGain 0.00030 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00030 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00171 , remainingCGain 0.00171 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00171 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00171 findBestMatch: after flicker gainSelected 0.00171, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00171 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00171, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00171, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00171 CoarseSearch If: for Stage 1, coarseTarget 0.00171 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00171 IndexCoarseTaget 0 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00171 , remainingCGain 0.00171 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00171 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00171 findBestMatch: after flicker gainSelected 0.00171, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00171 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00171, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00171, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00171 CoarseSearch If: for Stage 1, coarseTarget 0.00171 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00171 IndexCoarseTaget 0 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00171 , remainingCGain 0.00171 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00171 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00171 findBestMatch: after flicker gainSelected 0.00171, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00171 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00171, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00171, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00171 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00171 CoarseSearch If: for Stage 1, coarseTarget 0.00171 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00171 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00171 , remainingCGain 0.00171 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00171 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00171 findBestMatch: after flicker gainSelected 0.00171, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00171 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00171, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00171 GainSelected 0.00171, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00030 totalAchievedCGains 0.00030 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00171, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00030, DRE 1.00000 and Pre {0.00030, 0.00030} UdpateFrameData: AA 0.17361, ET 0.00171, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5436, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) currentSceneLux 6850.664, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.088179 m_highlightGainApplied 0.000316 computeHighlightMeter: highlight signal 0.823138 m_highlightGainApplied 0.000316 # JR :: (mLux, hLux) (mGain, hGain) dre = (11566.108, 26991.932) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.24818 and NewCommonGains 0.00029 runBreakDownAlgorithm:TargetCGain 0.00029, 0.00029, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00029, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00029 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00029 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00168 CoarseSearch If: for Stage 1, coarseTarget 0.00168 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00168 IndexCoarseTaget 0 PWL requiredCGain 0.00029 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00029 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00168 , remainingCGain 0.00168 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00168 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00168 findBestMatch: after flicker gainSelected 0.00168, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00168 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00168, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00168, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00168 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00168 CoarseSearch If: for Stage 1, coarseTarget 0.00168 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00168 IndexCoarseTaget 0 PWL requiredCGain 0.00168 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00168 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00168 , remainingCGain 0.00168 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00168 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00168 findBestMatch: after flicker gainSelected 0.00168, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00168 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00168, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00168, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00168 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00168 CoarseSearch If: for Stage 1, coarseTarget 0.00168 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00168 IndexCoarseTaget 0 PWL requiredCGain 0.00168 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00168 , remainingCGain 0.00168 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00168 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00168 findBestMatch: after flicker gainSelected 0.00168, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00168 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00168, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00168, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00168 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00168 CoarseSearch If: for Stage 1, coarseTarget 0.00168 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00168 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00168 , remainingCGain 0.00168 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00168 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00168 findBestMatch: after flicker gainSelected 0.00168, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00168 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00168, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00168 GainSelected 0.00168, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00029 totalAchievedCGains 0.00029 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00168, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00029, DRE 1.00000 and Pre {0.00029, 0.00029} UdpateFrameData: AA 0.17361, ET 0.00168, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5440, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) currentSceneLux 6850.664, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.088179 m_highlightGainApplied 0.000316 computeHighlightMeter: highlight signal 0.823138 m_highlightGainApplied 0.000316 # JR :: (mLux, hLux) (mGain, hGain) dre = (11566.108, 26991.932) (0.000, 0.000) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.22336 and NewCommonGains 0.00029 runBreakDownAlgorithm:TargetCGain 0.00029, 0.00029, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00029, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00029 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00029 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00165 CoarseSearch If: for Stage 1, coarseTarget 0.00165 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00165 IndexCoarseTaget 0 PWL requiredCGain 0.00029 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00029 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00165 , remainingCGain 0.00165 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00165 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00165 findBestMatch: after flicker gainSelected 0.00165, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00165 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00165, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00165, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00165 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00165 CoarseSearch If: for Stage 1, coarseTarget 0.00165 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00165 IndexCoarseTaget 0 PWL requiredCGain 0.00165 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00165 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00165 , remainingCGain 0.00165 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00165 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00165 findBestMatch: after flicker gainSelected 0.00165, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00165 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00165, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00165, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00165 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00165 CoarseSearch If: for Stage 1, coarseTarget 0.00165 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00165 IndexCoarseTaget 0 PWL requiredCGain 0.00165 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00165 , remainingCGain 0.00165 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00165 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00165 findBestMatch: after flicker gainSelected 0.00165, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00165 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00165, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00165, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00165 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00165 CoarseSearch If: for Stage 1, coarseTarget 0.00165 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00165 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00165 , remainingCGain 0.00165 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00165 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00165 findBestMatch: after flicker gainSelected 0.00165, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00165 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00165, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00165 GainSelected 0.00165, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00029 totalAchievedCGains 0.00029 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00165, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00029, DRE 1.00000 and Pre {0.00029, 0.00029} UdpateFrameData: AA 0.17361, ET 0.00165, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5444, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001778 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 822.319519 Return: candidate 1 (120.000000 Hz)'s score too low (highest Score = 0.050000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001778 frame rate = 32.000000 currentSceneLux 2595.599, linearMetric .0.021743, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.375835 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 48.26% (24.24, 27.38), , , , , avgDCT 4.25, thsDCT 500.00 currentSceneLux 2595.599, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.029925 m_highlightGainApplied 0.000309 computeHighlightMeter: highlight signal 0.784578 m_highlightGainApplied 0.000309 # JR :: (mLux, hLux) (mGain, hGain) dre = (4018.903, 26341.822) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 1.32401 and NewCommonGains 0.00031 runBreakDownAlgorithm:TargetCGain 0.00031, 0.00031, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00031, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00031 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00031 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00181 CoarseSearch If: for Stage 1, coarseTarget 0.00181 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00181 IndexCoarseTaget 0 PWL requiredCGain 0.00031 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00031 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00181 , remainingCGain 0.00181 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00181 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00181 findBestMatch: after flicker gainSelected 0.00181, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00181 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00181, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00181, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00181 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00181 CoarseSearch If: for Stage 1, coarseTarget 0.00181 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00181 IndexCoarseTaget 0 PWL requiredCGain 0.00181 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00181 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00181 , remainingCGain 0.00181 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00181 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00181 findBestMatch: after flicker gainSelected 0.00181, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00181 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00181, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00181, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00181 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00181 CoarseSearch If: for Stage 1, coarseTarget 0.00181 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00181 IndexCoarseTaget 0 PWL requiredCGain 0.00181 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00181 , remainingCGain 0.00181 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00181 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00181 findBestMatch: after flicker gainSelected 0.00181, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00181 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00181, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00181, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00181 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00181 CoarseSearch If: for Stage 1, coarseTarget 0.00181 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00181 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00181 , remainingCGain 0.00181 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00181 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00181 findBestMatch: after flicker gainSelected 0.00181, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00181 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00181, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00181 GainSelected 0.00181, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00031 totalAchievedCGains 0.00031 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00181, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00031, DRE 1.00000 and Pre {0.00031, 0.00031} UdpateFrameData: AA 0.17361, ET 0.00181, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5447, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001740 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 23.719772 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001740 frame rate = 32.000000 currentSceneLux 2630.060, linearMetric .0.021569, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.285536 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 48.26% (24.24, 27.38), , , , , avgDCT 4.50, thsDCT 500.00 currentSceneLux 2630.060, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.029728 m_highlightGainApplied 0.000302 computeHighlightMeter: highlight signal 0.780048 m_highlightGainApplied 0.000302 # JR :: (mLux, hLux) (mGain, hGain) dre = (4078.144, 26751.922) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 1.17049 and NewCommonGains 0.00034 runBreakDownAlgorithm:TargetCGain 0.00034, 0.00034, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00034, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00034 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00034 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00196 CoarseSearch If: for Stage 1, coarseTarget 0.00196 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00196 IndexCoarseTaget 0 PWL requiredCGain 0.00034 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00034 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00196 , remainingCGain 0.00196 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00196 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00196 findBestMatch: after flicker gainSelected 0.00196, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00196 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00196, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00196, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00196 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00196 CoarseSearch If: for Stage 1, coarseTarget 0.00196 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00196 IndexCoarseTaget 0 PWL requiredCGain 0.00196 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00196 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00196 , remainingCGain 0.00196 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00196 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00196 findBestMatch: after flicker gainSelected 0.00196, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00196 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00196, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00196, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00196 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00196 CoarseSearch If: for Stage 1, coarseTarget 0.00196 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00196 IndexCoarseTaget 0 PWL requiredCGain 0.00196 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00196 , remainingCGain 0.00196 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00196 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00196 findBestMatch: after flicker gainSelected 0.00196, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00196 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00196, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00196, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00196 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00196 CoarseSearch If: for Stage 1, coarseTarget 0.00196 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00196 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00196 , remainingCGain 0.00196 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00196 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00196 findBestMatch: after flicker gainSelected 0.00196, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00196 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00196, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00196 GainSelected 0.00196, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00034 totalAchievedCGains 0.00034 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00196, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00034, DRE 1.00000 and Pre {0.00034, 0.00034} UdpateFrameData: AA 0.17361, ET 0.00196, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5348, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001707 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 49.079403 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001707 frame rate = 32.000000 currentSceneLux 2640.636, linearMetric .0.021245, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.211538 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 48.61% (24.29, 27.38), , , , , avgDCT 6.50, thsDCT 500.00 currentSceneLux 2640.636, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.029408 m_highlightGainApplied 0.000296 computeHighlightMeter: highlight signal 0.770195 m_highlightGainApplied 0.000296 # JR :: (mLux, hLux) (mGain, hGain) dre = (4112.099, 26923.740) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 1.04148 and NewCommonGains 0.00037 runBreakDownAlgorithm:TargetCGain 0.00037, 0.00037, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00037, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00211 CoarseSearch If: for Stage 1, coarseTarget 0.00211 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00211 IndexCoarseTaget 0 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00037 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00211 , remainingCGain 0.00211 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00211 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00211 findBestMatch: after flicker gainSelected 0.00211, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00211 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00211, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00211, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00211 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00211 CoarseSearch If: for Stage 1, coarseTarget 0.00211 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00211 IndexCoarseTaget 0 PWL requiredCGain 0.00211 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00211 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00211 , remainingCGain 0.00211 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00211 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00211 findBestMatch: after flicker gainSelected 0.00211, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00211 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00211, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00211, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00211 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00211 CoarseSearch If: for Stage 1, coarseTarget 0.00211 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00211 IndexCoarseTaget 0 PWL requiredCGain 0.00211 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00211 , remainingCGain 0.00211 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00211 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00211 findBestMatch: after flicker gainSelected 0.00211, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00211 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00211, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00211, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00211 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00211 CoarseSearch If: for Stage 1, coarseTarget 0.00211 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00211 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00211 , remainingCGain 0.00211 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00211 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00211 findBestMatch: after flicker gainSelected 0.00211, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00211 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00211, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00211 GainSelected 0.00211, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00037 totalAchievedCGains 0.00037 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00211, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00037, DRE 1.00000 and Pre {0.00037, 0.00037} UdpateFrameData: AA 0.17361, ET 0.00211, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5259, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001678 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 100.000000 (idx = 0) response = 25.205906 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001678 frame rate = 32.000000 currentSceneLux 2665.410, linearMetric .0.021079, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.156216 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 69.79% (27.16, 27.38), , , , , avgDCT 6.75, thsDCT 500.00 currentSceneLux 2665.410, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.029159 m_highlightGainApplied 0.000291 computeHighlightMeter: highlight signal 0.764635 m_highlightGainApplied 0.000291 # JR :: (mLux, hLux) (mGain, hGain) dre = (4148.033, 27193.141) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.92478 and NewCommonGains 0.00039 runBreakDownAlgorithm:TargetCGain 0.00039, 0.00039, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00039, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00225 CoarseSearch If: for Stage 1, coarseTarget 0.00225 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00225 IndexCoarseTaget 0 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00039 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00225 , remainingCGain 0.00225 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00225 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00225 findBestMatch: after flicker gainSelected 0.00225, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00225 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00225, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00225, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00225 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00225 CoarseSearch If: for Stage 1, coarseTarget 0.00225 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00225 IndexCoarseTaget 0 PWL requiredCGain 0.00225 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00225 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00225 , remainingCGain 0.00225 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00225 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00225 findBestMatch: after flicker gainSelected 0.00225, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00225 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00225, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00225, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00225 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00225 CoarseSearch If: for Stage 1, coarseTarget 0.00225 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00225 IndexCoarseTaget 0 PWL requiredCGain 0.00225 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00225 , remainingCGain 0.00225 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00225 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00225 findBestMatch: after flicker gainSelected 0.00225, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00225 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00225, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00225, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00225 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00225 CoarseSearch If: for Stage 1, coarseTarget 0.00225 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00225 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00225 , remainingCGain 0.00225 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00225 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00225 findBestMatch: after flicker gainSelected 0.00225, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00225 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00225, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00225 GainSelected 0.00225, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00039 totalAchievedCGains 0.00039 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00225, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00039, DRE 1.00000 and Pre {0.00039, 0.00039} UdpateFrameData: AA 0.17361, ET 0.00225, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5179, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001652 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 100.000000 (idx = 0) response = 27.791050 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001652 frame rate = 32.000000 currentSceneLux 2685.091, linearMetric .0.020908, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.035187 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 68.23% (27.04, 27.29), , , , , avgDCT 5.00, thsDCT 500.00 currentSceneLux 2685.091, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.029021 m_highlightGainApplied 0.000287 computeHighlightMeter: highlight signal 0.757850 m_highlightGainApplied 0.000287 # JR :: (mLux, hLux) (mGain, hGain) dre = (4192.791, 27372.381) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.81682 and NewCommonGains 0.00041 runBreakDownAlgorithm:TargetCGain 0.00041, 0.00041, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00041, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00041 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00041 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00238 CoarseSearch If: for Stage 1, coarseTarget 0.00238 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00238 IndexCoarseTaget 0 PWL requiredCGain 0.00041 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00041 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00238 , remainingCGain 0.00238 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00238 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00238 findBestMatch: after flicker gainSelected 0.00238, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00238 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00238, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00238, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00238 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00238 CoarseSearch If: for Stage 1, coarseTarget 0.00238 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00238 IndexCoarseTaget 0 PWL requiredCGain 0.00238 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00238 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00238 , remainingCGain 0.00238 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00238 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00238 findBestMatch: after flicker gainSelected 0.00238, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00238 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00238, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00238, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00238 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00238 CoarseSearch If: for Stage 1, coarseTarget 0.00238 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00238 IndexCoarseTaget 0 PWL requiredCGain 0.00238 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00238 , remainingCGain 0.00238 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00238 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00238 findBestMatch: after flicker gainSelected 0.00238, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00238 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00238, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00238, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00238 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00238 CoarseSearch If: for Stage 1, coarseTarget 0.00238 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00238 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00238 , remainingCGain 0.00238 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00238 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00238 findBestMatch: after flicker gainSelected 0.00238, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00238 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00238, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00238 GainSelected 0.00238, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00041 totalAchievedCGains 0.00041 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00238, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00041, DRE 1.00000 and Pre {0.00041, 0.00041} UdpateFrameData: AA 0.17361, ET 0.00238, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5108, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001811 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 145.298767 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001811 frame rate = 32.000000 currentSceneLux 2567.674, linearMetric .0.021916, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.362179 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 68.79% (27.04, 27.36), , , , , avgDCT 6.00, thsDCT 500.00 currentSceneLux 2567.674, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.030168 m_highlightGainApplied 0.000314 computeHighlightMeter: highlight signal 0.790425 m_highlightGainApplied 0.000314 # JR :: (mLux, hLux) (mGain, hGain) dre = (3976.354, 26045.543) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.81160 and NewCommonGains 0.00044 runBreakDownAlgorithm:TargetCGain 0.00044, 0.00044, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00044, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00044 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00044 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00252 CoarseSearch If: for Stage 1, coarseTarget 0.00252 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00252 IndexCoarseTaget 0 PWL requiredCGain 0.00044 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00044 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00252 , remainingCGain 0.00252 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00252 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00252 findBestMatch: after flicker gainSelected 0.00252, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00252 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00252, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00252, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00252 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00252 CoarseSearch If: for Stage 1, coarseTarget 0.00252 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00252 IndexCoarseTaget 0 PWL requiredCGain 0.00252 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00252 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00252 , remainingCGain 0.00252 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00252 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00252 findBestMatch: after flicker gainSelected 0.00252, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00252 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00252, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00252, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00252 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00252 CoarseSearch If: for Stage 1, coarseTarget 0.00252 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00252 IndexCoarseTaget 0 PWL requiredCGain 0.00252 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00252 , remainingCGain 0.00252 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00252 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00252 findBestMatch: after flicker gainSelected 0.00252, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00252 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00252, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00252, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00252 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00252 CoarseSearch If: for Stage 1, coarseTarget 0.00252 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00252 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00252 , remainingCGain 0.00252 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00252 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00252 findBestMatch: after flicker gainSelected 0.00252, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00252 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00252, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00252 GainSelected 0.00252, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00044 totalAchievedCGains 0.00044 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00252, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00044, DRE 1.00000 and Pre {0.00044, 0.00044} UdpateFrameData: AA 0.17361, ET 0.00252, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 5043, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.001964 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 101.527924 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.001964 frame rate = 32.000000 currentSceneLux 2478.239, linearMetric .0.022940, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.477285 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 69.64% (27.04, 27.48), , , , , avgDCT 5.00, thsDCT 500.00 currentSceneLux 2478.239, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.031050 m_highlightGainApplied 0.000341 computeHighlightMeter: highlight signal 0.815104 m_highlightGainApplied 0.000341 # JR :: (mLux, hLux) (mGain, hGain) dre = (3773.685, 24765.660) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.80591 and NewCommonGains 0.00046 runBreakDownAlgorithm:TargetCGain 0.00046, 0.00046, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00046, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00266 CoarseSearch If: for Stage 1, coarseTarget 0.00266 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00266 IndexCoarseTaget 0 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00046 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00266 , remainingCGain 0.00266 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00266 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00266 findBestMatch: after flicker gainSelected 0.00266, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00266 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00266, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00266, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00266 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00266 CoarseSearch If: for Stage 1, coarseTarget 0.00266 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00266 IndexCoarseTaget 0 PWL requiredCGain 0.00266 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00266 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00266 , remainingCGain 0.00266 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00266 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00266 findBestMatch: after flicker gainSelected 0.00266, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00266 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00266, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00266, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00266 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00266 CoarseSearch If: for Stage 1, coarseTarget 0.00266 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00266 IndexCoarseTaget 0 PWL requiredCGain 0.00266 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00266 , remainingCGain 0.00266 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00266 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00266 findBestMatch: after flicker gainSelected 0.00266, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00266 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00266, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00266, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00266 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00266 CoarseSearch If: for Stage 1, coarseTarget 0.00266 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00266 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00266 , remainingCGain 0.00266 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00266 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00266 findBestMatch: after flicker gainSelected 0.00266, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00266 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00266, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00266 GainSelected 0.00266, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00046 totalAchievedCGains 0.00046 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00266, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00046, DRE 1.00000 and Pre {0.00046, 0.00046} UdpateFrameData: AA 0.17361, ET 0.00266, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4983, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002111 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 64.461525 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002111 frame rate = 32.000000 currentSceneLux 2392.462, linearMetric .0.023804, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.381411 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 69.64% (27.04, 27.48), , , , , avgDCT 5.25, thsDCT 500.00 currentSceneLux 2392.462, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.031756 m_highlightGainApplied 0.000367 computeHighlightMeter: highlight signal 0.832472 m_highlightGainApplied 0.000367 # JR :: (mLux, hLux) (mGain, hGain) dre = (3590.608, 23531.789) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.79707 and NewCommonGains 0.00049 runBreakDownAlgorithm:TargetCGain 0.00049, 0.00049, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00049, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00049 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00049 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00282 CoarseSearch If: for Stage 1, coarseTarget 0.00282 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00282 IndexCoarseTaget 0 PWL requiredCGain 0.00049 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00049 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00282 , remainingCGain 0.00282 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00282 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00282 findBestMatch: after flicker gainSelected 0.00282, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00282 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00282, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00282, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00282 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00282 CoarseSearch If: for Stage 1, coarseTarget 0.00282 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00282 IndexCoarseTaget 0 PWL requiredCGain 0.00282 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00282 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00282 , remainingCGain 0.00282 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00282 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00282 findBestMatch: after flicker gainSelected 0.00282, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00282 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00282, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00282, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00282 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00282 CoarseSearch If: for Stage 1, coarseTarget 0.00282 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00282 IndexCoarseTaget 0 PWL requiredCGain 0.00282 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00282 , remainingCGain 0.00282 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00282 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00282 findBestMatch: after flicker gainSelected 0.00282, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00282 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00282, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00282, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00282 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00282 CoarseSearch If: for Stage 1, coarseTarget 0.00282 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00282 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00282 , remainingCGain 0.00282 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00282 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00282 findBestMatch: after flicker gainSelected 0.00282, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00282 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00282, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00282 GainSelected 0.00282, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00049 totalAchievedCGains 0.00049 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00282, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00049, DRE 1.00000 and Pre {0.00049, 0.00049} UdpateFrameData: AA 0.17361, ET 0.00282, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4928, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002251 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 50.961006 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002251 frame rate = 32.000000 currentSceneLux 2322.811, linearMetric .0.024641, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.297588 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 71.58% (27.30, 27.48), , , , , avgDCT 6.75, thsDCT 500.00 currentSceneLux 2322.811, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.032493 m_highlightGainApplied 0.000391 computeHighlightMeter: highlight signal 0.848913 m_highlightGainApplied 0.000391 # JR :: (mLux, hLux) (mGain, hGain) dre = (3445.843, 22506.586) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.77673 and NewCommonGains 0.00052 runBreakDownAlgorithm:TargetCGain 0.00052, 0.00052, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00052, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00052 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00052 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00297 CoarseSearch If: for Stage 1, coarseTarget 0.00297 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00297 IndexCoarseTaget 0 PWL requiredCGain 0.00052 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00052 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00297 , remainingCGain 0.00297 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00297 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00297 findBestMatch: after flicker gainSelected 0.00297, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00297 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00297, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00297, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00297 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00297 CoarseSearch If: for Stage 1, coarseTarget 0.00297 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00297 IndexCoarseTaget 0 PWL requiredCGain 0.00297 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00297 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00297 , remainingCGain 0.00297 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00297 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00297 findBestMatch: after flicker gainSelected 0.00297, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00297 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00297, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00297, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00297 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00297 CoarseSearch If: for Stage 1, coarseTarget 0.00297 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00297 IndexCoarseTaget 0 PWL requiredCGain 0.00297 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00297 , remainingCGain 0.00297 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00297 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00297 findBestMatch: after flicker gainSelected 0.00297, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00297 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00297, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00297, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00297 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00297 CoarseSearch If: for Stage 1, coarseTarget 0.00297 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00297 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00297 , remainingCGain 0.00297 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00297 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00297 findBestMatch: after flicker gainSelected 0.00297, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00297 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00297, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00297 GainSelected 0.00297, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00052 totalAchievedCGains 0.00052 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00297, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00052, DRE 1.00000 and Pre {0.00052, 0.00052} UdpateFrameData: AA 0.17361, ET 0.00297, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4879, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002382 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 48.994217 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002382 frame rate = 32.000000 currentSceneLux 2267.112, linearMetric .0.025451, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.179277 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 70.71% (27.18, 27.48), , , , , avgDCT 4.75, thsDCT 500.00 currentSceneLux 2267.112, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.033227 m_highlightGainApplied 0.000414 computeHighlightMeter: highlight signal 0.862283 m_highlightGainApplied 0.000414 # JR :: (mLux, hLux) (mGain, hGain) dre = (3329.737, 21602.674) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.74851 and NewCommonGains 0.00054 runBreakDownAlgorithm:TargetCGain 0.00054, 0.00054, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00054, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00054 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00054 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00313 CoarseSearch If: for Stage 1, coarseTarget 0.00313 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00313 IndexCoarseTaget 0 PWL requiredCGain 0.00054 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00054 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00313 , remainingCGain 0.00313 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00313 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00313 findBestMatch: after flicker gainSelected 0.00313, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00313 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00313, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00313, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00313 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00313 CoarseSearch If: for Stage 1, coarseTarget 0.00313 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00313 IndexCoarseTaget 0 PWL requiredCGain 0.00313 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00313 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00313 , remainingCGain 0.00313 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00313 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00313 findBestMatch: after flicker gainSelected 0.00313, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00313 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00313, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00313, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00313 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00313 CoarseSearch If: for Stage 1, coarseTarget 0.00313 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00313 IndexCoarseTaget 0 PWL requiredCGain 0.00313 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00313 , remainingCGain 0.00313 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00313 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00313 findBestMatch: after flicker gainSelected 0.00313, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00313 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00313, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00313, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00313 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00313 CoarseSearch If: for Stage 1, coarseTarget 0.00313 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00313 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00313 , remainingCGain 0.00313 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00313 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00313 findBestMatch: after flicker gainSelected 0.00313, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00313 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00313, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00313 GainSelected 0.00313, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00054 totalAchievedCGains 0.00054 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00313, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00054, DRE 1.00000 and Pre {0.00054, 0.00054} UdpateFrameData: AA 0.17361, ET 0.00313, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4835, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002520 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 51.154789 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002520 frame rate = 32.000000 currentSceneLux 2213.715, linearMetric .0.026290, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.106535 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 69.46% (27.11, 27.38), , , , , avgDCT 5.25, thsDCT 500.00 currentSceneLux 2213.715, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.033936 m_highlightGainApplied 0.000438 computeHighlightMeter: highlight signal 0.876372 m_highlightGainApplied 0.000438 # JR :: (mLux, hLux) (mGain, hGain) dre = (3214.767, 20754.617) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.72435 and NewCommonGains 0.00057 runBreakDownAlgorithm:TargetCGain 0.00057, 0.00057, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00057, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00057 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00057 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00329 CoarseSearch If: for Stage 1, coarseTarget 0.00329 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00329 IndexCoarseTaget 0 PWL requiredCGain 0.00057 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00057 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00329 , remainingCGain 0.00329 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00329 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00329 findBestMatch: after flicker gainSelected 0.00329, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00329 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00329, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00329, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00329 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00329 CoarseSearch If: for Stage 1, coarseTarget 0.00329 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00329 IndexCoarseTaget 0 PWL requiredCGain 0.00329 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00329 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00329 , remainingCGain 0.00329 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00329 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00329 findBestMatch: after flicker gainSelected 0.00329, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00329 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00329, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00329, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00329 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00329 CoarseSearch If: for Stage 1, coarseTarget 0.00329 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00329 IndexCoarseTaget 0 PWL requiredCGain 0.00329 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00329 , remainingCGain 0.00329 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00329 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00329 findBestMatch: after flicker gainSelected 0.00329, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00329 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00329, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00329, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00329 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00329 CoarseSearch If: for Stage 1, coarseTarget 0.00329 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00329 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00329 , remainingCGain 0.00329 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00329 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00329 findBestMatch: after flicker gainSelected 0.00329, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00329 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00329, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00329 GainSelected 0.00329, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00057 totalAchievedCGains 0.00057 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00329, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00057, DRE 1.00000 and Pre {0.00057, 0.00057} UdpateFrameData: AA 0.17361, ET 0.00329, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4795, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002665 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 57.764484 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002665 frame rate = 32.000000 currentSceneLux 2158.010, linearMetric .0.027101, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 27.001045 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 68.06% (27.00, 27.30), , , , , avgDCT 4.25, thsDCT 500.00 currentSceneLux 2158.010, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.034543 m_highlightGainApplied 0.000463 computeHighlightMeter: highlight signal 0.887918 m_highlightGainApplied 0.000463 # JR :: (mLux, hLux) (mGain, hGain) dre = (3094.480, 19885.596) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.70693 and NewCommonGains 0.00060 runBreakDownAlgorithm:TargetCGain 0.00060, 0.00060, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00060, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00060 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00060 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00346 CoarseSearch If: for Stage 1, coarseTarget 0.00346 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00346 IndexCoarseTaget 0 PWL requiredCGain 0.00060 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00060 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00346 , remainingCGain 0.00346 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00346 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00346 findBestMatch: after flicker gainSelected 0.00346, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00346 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00346, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00346, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00346 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00346 CoarseSearch If: for Stage 1, coarseTarget 0.00346 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00346 IndexCoarseTaget 0 PWL requiredCGain 0.00346 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00346 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00346 , remainingCGain 0.00346 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00346 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00346 findBestMatch: after flicker gainSelected 0.00346, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00346 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00346, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00346, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00346 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00346 CoarseSearch If: for Stage 1, coarseTarget 0.00346 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00346 IndexCoarseTaget 0 PWL requiredCGain 0.00346 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00346 , remainingCGain 0.00346 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00346 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00346 findBestMatch: after flicker gainSelected 0.00346, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00346 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00346, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00346, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00346 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00346 CoarseSearch If: for Stage 1, coarseTarget 0.00346 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00346 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00346 , remainingCGain 0.00346 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00346 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00346 findBestMatch: after flicker gainSelected 0.00346, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00346 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00346, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00346 GainSelected 0.00346, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00060 totalAchievedCGains 0.00060 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00346, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00060, DRE 1.00000 and Pre {0.00060, 0.00060} UdpateFrameData: AA 0.17361, ET 0.00346, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4744, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002816 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 80.990074 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002816 frame rate = 32.000000 currentSceneLux 2115.814, linearMetric .0.028080, cameraEfficiency 0.151 cg highlight 0.000 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 26.689800 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 64.89% (26.69, 27.18), , , , , avgDCT 3.25, thsDCT 500.00 currentSceneLux 2115.814, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.035571 m_highlightGainApplied 0.000489 computeHighlightMeter: highlight signal 0.901057 m_highlightGainApplied 0.000489 # JR :: (mLux, hLux) (mGain, hGain) dre = (3015.282, 19095.164) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.67364 and NewCommonGains 0.00063 runBreakDownAlgorithm:TargetCGain 0.00063, 0.00063, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00063, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00063 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00063 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00362 CoarseSearch If: for Stage 1, coarseTarget 0.00362 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00362 IndexCoarseTaget 0 PWL requiredCGain 0.00063 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00063 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00362 , remainingCGain 0.00362 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00362 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00362 findBestMatch: after flicker gainSelected 0.00362, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00362 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00362, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00362, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00362 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00362 CoarseSearch If: for Stage 1, coarseTarget 0.00362 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00362 IndexCoarseTaget 0 PWL requiredCGain 0.00362 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00362 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00362 , remainingCGain 0.00362 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00362 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00362 findBestMatch: after flicker gainSelected 0.00362, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00362 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00362, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00362, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00362 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00362 CoarseSearch If: for Stage 1, coarseTarget 0.00362 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00362 IndexCoarseTaget 0 PWL requiredCGain 0.00362 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00362 , remainingCGain 0.00362 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00362 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00362 findBestMatch: after flicker gainSelected 0.00362, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00362 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00362, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00362, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00362 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00362 CoarseSearch If: for Stage 1, coarseTarget 0.00362 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00362 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00362 , remainingCGain 0.00362 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00362 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00362 findBestMatch: after flicker gainSelected 0.00362, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00362 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00362, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00362 GainSelected 0.00362, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00063 totalAchievedCGains 0.00063 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00362, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00063, DRE 1.00000 and Pre {0.00063, 0.00063} UdpateFrameData: AA 0.17361, ET 0.00362, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4698, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.002972 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 70.674324 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.002972 frame rate = 32.000000 currentSceneLux 2064.279, linearMetric .0.028912, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 26.418756 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 62.35% (26.42, 27.11), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 2064.279, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.036317 m_highlightGainApplied 0.000516 computeHighlightMeter: highlight signal 0.910217 m_highlightGainApplied 0.000516 # JR :: (mLux, hLux) (mGain, hGain) dre = (2917.182, 18278.234) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.65399 and NewCommonGains 0.00066 runBreakDownAlgorithm:TargetCGain 0.00066, 0.00066, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00066, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00066 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00066 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00379 CoarseSearch If: for Stage 1, coarseTarget 0.00379 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00379 IndexCoarseTaget 0 PWL requiredCGain 0.00066 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00066 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00379 , remainingCGain 0.00379 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00379 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00379 findBestMatch: after flicker gainSelected 0.00379, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00379 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00379, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00379, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00379 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00379 CoarseSearch If: for Stage 1, coarseTarget 0.00379 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00379 IndexCoarseTaget 0 PWL requiredCGain 0.00379 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00379 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00379 , remainingCGain 0.00379 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00379 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00379 findBestMatch: after flicker gainSelected 0.00379, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00379 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00379, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00379, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00379 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00379 CoarseSearch If: for Stage 1, coarseTarget 0.00379 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00379 IndexCoarseTaget 0 PWL requiredCGain 0.00379 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00379 , remainingCGain 0.00379 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00379 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00379 findBestMatch: after flicker gainSelected 0.00379, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00379 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00379, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00379, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00379 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00379 CoarseSearch If: for Stage 1, coarseTarget 0.00379 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00379 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00379 , remainingCGain 0.00379 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00379 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00379 findBestMatch: after flicker gainSelected 0.00379, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00379 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00379, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00379 GainSelected 0.00379, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00066 totalAchievedCGains 0.00066 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00379, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00066, DRE 1.00000 and Pre {0.00066, 0.00066} UdpateFrameData: AA 0.17361, ET 0.00379, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4656, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003130 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 99.513962 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003130 frame rate = 32.000000 currentSceneLux 2027.281, linearMetric .0.029905, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 26.057831 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 58.90% (26.06, 27.00), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 2027.281, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.037281 m_highlightGainApplied 0.000543 computeHighlightMeter: highlight signal 0.919457 m_highlightGainApplied 0.000543 # JR :: (mLux, hLux) (mGain, hGain) dre = (2843.153, 17530.252) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.62568 and NewCommonGains 0.00069 runBreakDownAlgorithm:TargetCGain 0.00069, 0.00069, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00069, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00069 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00069 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00396 CoarseSearch If: for Stage 1, coarseTarget 0.00396 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00396 IndexCoarseTaget 0 PWL requiredCGain 0.00069 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00069 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00396 , remainingCGain 0.00396 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00396 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00396 findBestMatch: after flicker gainSelected 0.00396, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00396 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00396, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00396, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00396 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00396 CoarseSearch If: for Stage 1, coarseTarget 0.00396 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00396 IndexCoarseTaget 0 PWL requiredCGain 0.00396 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00396 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00396 , remainingCGain 0.00396 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00396 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00396 findBestMatch: after flicker gainSelected 0.00396, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00396 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00396, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00396, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00396 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00396 CoarseSearch If: for Stage 1, coarseTarget 0.00396 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00396 IndexCoarseTaget 0 PWL requiredCGain 0.00396 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00396 , remainingCGain 0.00396 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00396 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00396 findBestMatch: after flicker gainSelected 0.00396, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00396 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00396, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00396, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00396 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00396 CoarseSearch If: for Stage 1, coarseTarget 0.00396 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00396 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00396 , remainingCGain 0.00396 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00396 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00396 findBestMatch: after flicker gainSelected 0.00396, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00396 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00396, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00396 GainSelected 0.00396, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00069 totalAchievedCGains 0.00069 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00396, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00069, DRE 1.00000 and Pre {0.00069, 0.00069} UdpateFrameData: AA 0.17361, ET 0.00396, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4619, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003291 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 102.128525 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003291 frame rate = 32.000000 currentSceneLux 1991.566, linearMetric .0.030891, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 25.774527 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 54.50% (25.77, 26.69), , , , , avgDCT 5.50, thsDCT 500.00 currentSceneLux 1991.566, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.038263 m_highlightGainApplied 0.000571 computeHighlightMeter: highlight signal 0.928049 m_highlightGainApplied 0.000571 # JR :: (mLux, hLux) (mGain, hGain) dre = (2775.181, 16827.586) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.59802 and NewCommonGains 0.00072 runBreakDownAlgorithm:TargetCGain 0.00072, 0.00072, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00072, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00072 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00072 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00413 CoarseSearch If: for Stage 1, coarseTarget 0.00413 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00413 IndexCoarseTaget 0 PWL requiredCGain 0.00072 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00072 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00413 , remainingCGain 0.00413 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00413 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00413 findBestMatch: after flicker gainSelected 0.00413, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00413 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00413, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00413, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00413 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00413 CoarseSearch If: for Stage 1, coarseTarget 0.00413 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00413 IndexCoarseTaget 0 PWL requiredCGain 0.00413 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00413 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00413 , remainingCGain 0.00413 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00413 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00413 findBestMatch: after flicker gainSelected 0.00413, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00413 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00413, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00413, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00413 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00413 CoarseSearch If: for Stage 1, coarseTarget 0.00413 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00413 IndexCoarseTaget 0 PWL requiredCGain 0.00413 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00413 , remainingCGain 0.00413 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00413 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00413 findBestMatch: after flicker gainSelected 0.00413, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00413 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00413, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00413, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00413 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00413 CoarseSearch If: for Stage 1, coarseTarget 0.00413 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00413 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00413 , remainingCGain 0.00413 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00413 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00413 findBestMatch: after flicker gainSelected 0.00413, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00413 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00413, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00413 GainSelected 0.00413, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00072 totalAchievedCGains 0.00072 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00413, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00072, DRE 1.00000 and Pre {0.00072, 0.00072} UdpateFrameData: AA 0.17361, ET 0.00413, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4566, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003457 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 93.944817 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003457 frame rate = 32.000000 currentSceneLux 1957.598, linearMetric .0.031889, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 25.460703 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 50.18% (25.46, 26.42), , , , , avgDCT 5.50, thsDCT 500.00 currentSceneLux 1957.598, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.039071 m_highlightGainApplied 0.000600 computeHighlightMeter: highlight signal 0.935068 m_highlightGainApplied 0.000600 # JR :: (mLux, hLux) (mGain, hGain) dre = (2698.276, 16144.082) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.57876 and NewCommonGains 0.00075 runBreakDownAlgorithm:TargetCGain 0.00075, 0.00075, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00075, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00075 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00075 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00429 CoarseSearch If: for Stage 1, coarseTarget 0.00429 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00429 IndexCoarseTaget 0 PWL requiredCGain 0.00075 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00075 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00429 , remainingCGain 0.00429 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00429 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00429 findBestMatch: after flicker gainSelected 0.00429, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00429 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00429, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00429, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00429 CoarseSearch If: for Stage 1, coarseTarget 0.00429 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00429 IndexCoarseTaget 0 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00429 , remainingCGain 0.00429 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00429 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00429 findBestMatch: after flicker gainSelected 0.00429, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00429 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00429, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00429, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00429 CoarseSearch If: for Stage 1, coarseTarget 0.00429 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00429 IndexCoarseTaget 0 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00429 , remainingCGain 0.00429 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00429 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00429 findBestMatch: after flicker gainSelected 0.00429, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00429 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00429, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00429, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00429 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00429 CoarseSearch If: for Stage 1, coarseTarget 0.00429 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00429 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00429 , remainingCGain 0.00429 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00429 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00429 findBestMatch: after flicker gainSelected 0.00429, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00429 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00429, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00429 GainSelected 0.00429, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00075 totalAchievedCGains 0.00075 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00429, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00075, DRE 1.00000 and Pre {0.00075, 0.00075} UdpateFrameData: AA 0.17361, ET 0.00429, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4519, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003622 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 110.797882 Return: peak confidence (7.687576) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003622 frame rate = 32.000000 currentSceneLux 1927.801, linearMetric .0.032905, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 25.181786 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 45.45% (25.18, 26.06), , , , , avgDCT 5.00, thsDCT 500.00 currentSceneLux 1927.801, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.040048 m_highlightGainApplied 0.000629 computeHighlightMeter: highlight signal 0.942525 m_highlightGainApplied 0.000629 # JR :: (mLux, hLux) (mGain, hGain) dre = (2639.545, 15530.458) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.55263 and NewCommonGains 0.00077 runBreakDownAlgorithm:TargetCGain 0.00077, 0.00077, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00077, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00077 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00077 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00446 CoarseSearch If: for Stage 1, coarseTarget 0.00446 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00446 IndexCoarseTaget 0 PWL requiredCGain 0.00077 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00077 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00446 , remainingCGain 0.00446 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00446 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00446 findBestMatch: after flicker gainSelected 0.00446, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00446 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00446, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00446, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00446 CoarseSearch If: for Stage 1, coarseTarget 0.00446 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00446 IndexCoarseTaget 0 PWL requiredCGain 0.00446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00446 , remainingCGain 0.00446 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00446 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00446 findBestMatch: after flicker gainSelected 0.00446, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00446 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00446, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00446, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00446 CoarseSearch If: for Stage 1, coarseTarget 0.00446 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00446 IndexCoarseTaget 0 PWL requiredCGain 0.00446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00446 , remainingCGain 0.00446 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00446 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00446 findBestMatch: after flicker gainSelected 0.00446, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00446 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00446, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00446, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00446 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00446 CoarseSearch If: for Stage 1, coarseTarget 0.00446 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00446 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00446 , remainingCGain 0.00446 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00446 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00446 findBestMatch: after flicker gainSelected 0.00446, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00446 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00446, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00446 GainSelected 0.00446, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00077 totalAchievedCGains 0.00077 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00446, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00077, DRE 1.00000 and Pre {0.00077, 0.00077} UdpateFrameData: AA 0.17361, ET 0.00446, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4476, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003790 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 107.919563 Return: peak confidence (7.958741) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003790 frame rate = 32.000000 currentSceneLux 1897.567, linearMetric .0.033891, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.863644 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 41.00% (24.86, 25.77), , , , , avgDCT 3.00, thsDCT 500.00 currentSceneLux 1897.567, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.040950 m_highlightGainApplied 0.000658 computeHighlightMeter: highlight signal 0.947754 m_highlightGainApplied 0.000658 # JR :: (mLux, hLux) (mGain, hGain) dre = (2579.396, 14924.504) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.53063 and NewCommonGains 0.00080 runBreakDownAlgorithm:TargetCGain 0.00080, 0.00080, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00080, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00080 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00080 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00463 CoarseSearch If: for Stage 1, coarseTarget 0.00463 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00463 IndexCoarseTaget 0 PWL requiredCGain 0.00080 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00080 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00463 , remainingCGain 0.00463 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00463 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00463 findBestMatch: after flicker gainSelected 0.00463, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00463 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00463, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00463, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00463 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00463 CoarseSearch If: for Stage 1, coarseTarget 0.00463 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00463 IndexCoarseTaget 0 PWL requiredCGain 0.00463 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00463 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00463 , remainingCGain 0.00463 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00463 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00463 findBestMatch: after flicker gainSelected 0.00463, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00463 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00463, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00463, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00463 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00463 CoarseSearch If: for Stage 1, coarseTarget 0.00463 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00463 IndexCoarseTaget 0 PWL requiredCGain 0.00463 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00463 , remainingCGain 0.00463 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00463 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00463 findBestMatch: after flicker gainSelected 0.00463, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00463 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00463, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00463, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00463 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00463 CoarseSearch If: for Stage 1, coarseTarget 0.00463 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00463 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00463 , remainingCGain 0.00463 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00463 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00463 findBestMatch: after flicker gainSelected 0.00463, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00463 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00463, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00463 GainSelected 0.00463, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00080 totalAchievedCGains 0.00080 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00463, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00080, DRE 1.00000 and Pre {0.00080, 0.00080} UdpateFrameData: AA 0.17361, ET 0.00463, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4438, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.003958 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 108.190582 Return: peak confidence (8.393473) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.003958 frame rate = 32.000000 currentSceneLux 1871.881, linearMetric .0.034914, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.624025 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 36.91% (24.62, 25.46), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1871.881, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.041898 m_highlightGainApplied 0.000687 computeHighlightMeter: highlight signal 0.953463 m_highlightGainApplied 0.000687 # JR :: (mLux, hLux) (mGain, hGain) dre = (2527.096, 14377.168) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.50712 and NewCommonGains 0.00083 runBreakDownAlgorithm:TargetCGain 0.00083, 0.00083, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00083, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00083 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00083 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00479 CoarseSearch If: for Stage 1, coarseTarget 0.00479 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00479 IndexCoarseTaget 0 PWL requiredCGain 0.00083 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00083 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00479 , remainingCGain 0.00479 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00479 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00479 findBestMatch: after flicker gainSelected 0.00479, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00479 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00479, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00479, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00479 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00479 CoarseSearch If: for Stage 1, coarseTarget 0.00479 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00479 IndexCoarseTaget 0 PWL requiredCGain 0.00479 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00479 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00479 , remainingCGain 0.00479 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00479 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00479 findBestMatch: after flicker gainSelected 0.00479, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00479 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00479, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00479, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00479 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00479 CoarseSearch If: for Stage 1, coarseTarget 0.00479 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00479 IndexCoarseTaget 0 PWL requiredCGain 0.00479 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00479 , remainingCGain 0.00479 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00479 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00479 findBestMatch: after flicker gainSelected 0.00479, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00479 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00479, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00479, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00479 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00479 CoarseSearch If: for Stage 1, coarseTarget 0.00479 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00479 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00479 , remainingCGain 0.00479 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00479 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00479 findBestMatch: after flicker gainSelected 0.00479, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00479 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00479, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00479 GainSelected 0.00479, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00083 totalAchievedCGains 0.00083 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00479, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00083, DRE 1.00000 and Pre {0.00083, 0.00083} UdpateFrameData: AA 0.17361, ET 0.00479, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4382, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004125 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 111.985092 Return: peak confidence (8.469249) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004125 frame rate = 32.000000 currentSceneLux 1846.911, linearMetric .0.035906, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.372074 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 32.99% (24.37, 25.18), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 1846.911, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.042716 m_highlightGainApplied 0.000716 computeHighlightMeter: highlight signal 0.957969 m_highlightGainApplied 0.000716 # JR :: (mLux, hLux) (mGain, hGain) dre = (2471.833, 13858.579) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.48830 and NewCommonGains 0.00086 runBreakDownAlgorithm:TargetCGain 0.00086, 0.00086, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00086, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00086 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00086 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00496 CoarseSearch If: for Stage 1, coarseTarget 0.00496 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00496 IndexCoarseTaget 0 PWL requiredCGain 0.00086 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00086 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00496 , remainingCGain 0.00496 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00496 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00496 findBestMatch: after flicker gainSelected 0.00496, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00496 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00496, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00496, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00496 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00496 CoarseSearch If: for Stage 1, coarseTarget 0.00496 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00496 IndexCoarseTaget 0 PWL requiredCGain 0.00496 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00496 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00496 , remainingCGain 0.00496 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00496 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00496 findBestMatch: after flicker gainSelected 0.00496, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00496 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00496, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00496, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00496 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00496 CoarseSearch If: for Stage 1, coarseTarget 0.00496 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00496 IndexCoarseTaget 0 PWL requiredCGain 0.00496 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00496 , remainingCGain 0.00496 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00496 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00496 findBestMatch: after flicker gainSelected 0.00496, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00496 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00496, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00496, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00496 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00496 CoarseSearch If: for Stage 1, coarseTarget 0.00496 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00496 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00496 , remainingCGain 0.00496 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00496 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00496 findBestMatch: after flicker gainSelected 0.00496, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00496 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00496, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00496 GainSelected 0.00496, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00086 totalAchievedCGains 0.00086 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00496, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00086, DRE 1.00000 and Pre {0.00086, 0.00086} UdpateFrameData: AA 0.17361, ET 0.00496, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4333, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004294 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 111.465126 Return: peak confidence (8.801328) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004294 frame rate = 32.000000 currentSceneLux 1823.567, linearMetric .0.036904, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.103052 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 28.65% (24.10, 24.86), , , , , avgDCT 3.00, thsDCT 500.00 currentSceneLux 1823.567, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.043651 m_highlightGainApplied 0.000746 computeHighlightMeter: highlight signal 0.961896 m_highlightGainApplied 0.000746 # JR :: (mLux, hLux) (mGain, hGain) dre = (2426.614, 13368.188) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.46611 and NewCommonGains 0.00089 runBreakDownAlgorithm:TargetCGain 0.00089, 0.00089, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00089, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00089 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00089 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00512 CoarseSearch If: for Stage 1, coarseTarget 0.00512 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00512 IndexCoarseTaget 0 PWL requiredCGain 0.00089 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00089 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00512 , remainingCGain 0.00512 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00512 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00512 findBestMatch: after flicker gainSelected 0.00512, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00512 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00512, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00512, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00512 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00512 CoarseSearch If: for Stage 1, coarseTarget 0.00512 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00512 IndexCoarseTaget 0 PWL requiredCGain 0.00512 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00512 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00512 , remainingCGain 0.00512 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00512 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00512 findBestMatch: after flicker gainSelected 0.00512, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00512 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00512, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00512, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00512 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00512 CoarseSearch If: for Stage 1, coarseTarget 0.00512 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00512 IndexCoarseTaget 0 PWL requiredCGain 0.00512 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00512 , remainingCGain 0.00512 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00512 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00512 findBestMatch: after flicker gainSelected 0.00512, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00512 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00512, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00512, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00512 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00512 CoarseSearch If: for Stage 1, coarseTarget 0.00512 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00512 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00512 , remainingCGain 0.00512 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00512 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00512 findBestMatch: after flicker gainSelected 0.00512, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00512 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00512, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00512 GainSelected 0.00512, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00089 totalAchievedCGains 0.00089 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00512, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00089, DRE 1.00000 and Pre {0.00089, 0.00089} UdpateFrameData: AA 0.17361, ET 0.00512, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4288, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004462 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 112.755013 Return: peak confidence (9.493473) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004462 frame rate = 32.000000 currentSceneLux 1803.091, linearMetric .0.037914, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.905518 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 25.42% (23.91, 24.62), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 1803.091, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.044608 m_highlightGainApplied 0.000775 computeHighlightMeter: highlight signal 0.965596 m_highlightGainApplied 0.000775 # JR :: (mLux, hLux) (mGain, hGain) dre = (2386.608, 12915.282) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.44348 and NewCommonGains 0.00092 runBreakDownAlgorithm:TargetCGain 0.00092, 0.00092, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00092, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00092 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00092 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00528 CoarseSearch If: for Stage 1, coarseTarget 0.00528 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00528 IndexCoarseTaget 0 PWL requiredCGain 0.00092 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00092 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00528 , remainingCGain 0.00528 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00528 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00528 findBestMatch: after flicker gainSelected 0.00528, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00528 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00528, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00528, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00528 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00528 CoarseSearch If: for Stage 1, coarseTarget 0.00528 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00528 IndexCoarseTaget 0 PWL requiredCGain 0.00528 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00528 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00528 , remainingCGain 0.00528 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00528 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00528 findBestMatch: after flicker gainSelected 0.00528, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00528 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00528, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00528, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00528 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00528 CoarseSearch If: for Stage 1, coarseTarget 0.00528 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00528 IndexCoarseTaget 0 PWL requiredCGain 0.00528 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00528 , remainingCGain 0.00528 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00528 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00528 findBestMatch: after flicker gainSelected 0.00528, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00528 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00528, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00528, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00528 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00528 CoarseSearch If: for Stage 1, coarseTarget 0.00528 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00528 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00528 , remainingCGain 0.00528 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00528 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00528 findBestMatch: after flicker gainSelected 0.00528, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00528 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00528, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00528 GainSelected 0.00528, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00092 totalAchievedCGains 0.00092 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00528, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00092, DRE 1.00000 and Pre {0.00092, 0.00092} UdpateFrameData: AA 0.17361, ET 0.00528, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4248, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004629 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 114.594742 Return: candidate 1 (120.000000 Hz)'s score too low (highest Score = 0.050000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004629 frame rate = 32.000000 currentSceneLux 1782.527, linearMetric .0.038886, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.665064 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 21.78% (23.67, 24.37), , , , , avgDCT 4.00, thsDCT 500.00 currentSceneLux 1782.527, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.045490 m_highlightGainApplied 0.000804 computeHighlightMeter: highlight signal 0.969246 m_highlightGainApplied 0.000804 # JR :: (mLux, hLux) (mGain, hGain) dre = (2345.905, 12495.938) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.42395 and NewCommonGains 0.00094 runBreakDownAlgorithm:TargetCGain 0.00094, 0.00094, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00094, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00094 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00094 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00544 CoarseSearch If: for Stage 1, coarseTarget 0.00544 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00544 IndexCoarseTaget 0 PWL requiredCGain 0.00094 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00094 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00544 , remainingCGain 0.00544 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00544 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00544 findBestMatch: after flicker gainSelected 0.00544, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00544 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00544, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00544, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00544 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00544 CoarseSearch If: for Stage 1, coarseTarget 0.00544 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00544 IndexCoarseTaget 0 PWL requiredCGain 0.00544 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00544 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00544 , remainingCGain 0.00544 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00544 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00544 findBestMatch: after flicker gainSelected 0.00544, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00544 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00544, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00544, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00544 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00544 CoarseSearch If: for Stage 1, coarseTarget 0.00544 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00544 IndexCoarseTaget 0 PWL requiredCGain 0.00544 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00544 , remainingCGain 0.00544 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00544 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00544 findBestMatch: after flicker gainSelected 0.00544, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00544 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00544, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00544, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00544 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00544 CoarseSearch If: for Stage 1, coarseTarget 0.00544 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00544 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00544 , remainingCGain 0.00544 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00544 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00544 findBestMatch: after flicker gainSelected 0.00544, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00544 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00544, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00544 GainSelected 0.00544, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00094 totalAchievedCGains 0.00094 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00544, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00094, DRE 1.00000 and Pre {0.00094, 0.00094} UdpateFrameData: AA 0.17361, ET 0.00544, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4195, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004795 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 112.915108 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.050000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004795 frame rate = 32.000000 currentSceneLux 1765.272, linearMetric .0.039887, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.484043 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 18.45% (23.48, 24.10), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1765.272, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.046232 m_highlightGainApplied 0.000832 computeHighlightMeter: highlight signal 0.971662 m_highlightGainApplied 0.000832 # JR :: (mLux, hLux) (mGain, hGain) dre = (2301.826, 12094.394) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.40892 and NewCommonGains 0.00097 runBreakDownAlgorithm:TargetCGain 0.00097, 0.00097, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00097, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00097 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00097 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00560 CoarseSearch If: for Stage 1, coarseTarget 0.00560 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00560 IndexCoarseTaget 0 PWL requiredCGain 0.00097 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00097 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00560 , remainingCGain 0.00560 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00560 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00560 findBestMatch: after flicker gainSelected 0.00560, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00560 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00560, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00560, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00560 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00560 CoarseSearch If: for Stage 1, coarseTarget 0.00560 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00560 IndexCoarseTaget 0 PWL requiredCGain 0.00560 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00560 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00560 , remainingCGain 0.00560 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00560 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00560 findBestMatch: after flicker gainSelected 0.00560, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00560 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00560, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00560, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00560 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00560 CoarseSearch If: for Stage 1, coarseTarget 0.00560 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00560 IndexCoarseTaget 0 PWL requiredCGain 0.00560 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00560 , remainingCGain 0.00560 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00560 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00560 findBestMatch: after flicker gainSelected 0.00560, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00560 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00560, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00560, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00560 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00560 CoarseSearch If: for Stage 1, coarseTarget 0.00560 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00560 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00560 , remainingCGain 0.00560 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00560 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00560 findBestMatch: after flicker gainSelected 0.00560, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00560 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00560, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00560 GainSelected 0.00560, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00097 totalAchievedCGains 0.00097 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00560, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00097, DRE 1.00000 and Pre {0.00097, 0.00097} UdpateFrameData: AA 0.17361, ET 0.00560, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4148, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.004960 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 115.262360 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.100000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.004960 frame rate = 32.000000 currentSceneLux 1748.927, linearMetric .0.040878, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.244705 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 15.22% (23.24, 23.91), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1748.927, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.047163 m_highlightGainApplied 0.000861 computeHighlightMeter: highlight signal 0.974684 m_highlightGainApplied 0.000861 # JR :: (mLux, hLux) (mGain, hGain) dre = (2270.034, 11728.258) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.38809 and NewCommonGains 0.00100 runBreakDownAlgorithm:TargetCGain 0.00100, 0.00100, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00100, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00100 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00100 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00575 CoarseSearch If: for Stage 1, coarseTarget 0.00575 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00575 IndexCoarseTaget 0 PWL requiredCGain 0.00100 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00100 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00575 , remainingCGain 0.00575 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00575 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00575 findBestMatch: after flicker gainSelected 0.00575, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00575 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00575, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00575, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00575 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00575 CoarseSearch If: for Stage 1, coarseTarget 0.00575 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00575 IndexCoarseTaget 0 PWL requiredCGain 0.00575 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00575 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00575 , remainingCGain 0.00575 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00575 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00575 findBestMatch: after flicker gainSelected 0.00575, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00575 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00575, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00575, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00575 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00575 CoarseSearch If: for Stage 1, coarseTarget 0.00575 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00575 IndexCoarseTaget 0 PWL requiredCGain 0.00575 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00575 , remainingCGain 0.00575 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00575 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00575 findBestMatch: after flicker gainSelected 0.00575, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00575 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00575, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00575, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00575 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00575 CoarseSearch If: for Stage 1, coarseTarget 0.00575 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00575 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00575 , remainingCGain 0.00575 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00575 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00575 findBestMatch: after flicker gainSelected 0.00575, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00575 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00575, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00575 GainSelected 0.00575, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00100 totalAchievedCGains 0.00100 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00575, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00100, DRE 1.00000 and Pre {0.00100, 0.00100} UdpateFrameData: AA 0.17361, ET 0.00575, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4105, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005123 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 116.544083 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.150000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005123 frame rate = 32.000000 currentSceneLux 1734.299, linearMetric .0.041868, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.095945 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 12.34% (23.10, 23.67), , , , , avgDCT 4.25, thsDCT 500.00 currentSceneLux 1734.299, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.048099 m_highlightGainApplied 0.000889 computeHighlightMeter: highlight signal 0.977054 m_highlightGainApplied 0.000889 # JR :: (mLux, hLux) (mGain, hGain) dre = (2241.465, 11383.016) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.36755 and NewCommonGains 0.00102 runBreakDownAlgorithm:TargetCGain 0.00102, 0.00102, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00102, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00102 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00102 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00590 CoarseSearch If: for Stage 1, coarseTarget 0.00590 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00590 IndexCoarseTaget 0 PWL requiredCGain 0.00102 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00102 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00590 , remainingCGain 0.00590 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00590 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00590 findBestMatch: after flicker gainSelected 0.00590, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00590 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00590, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00590, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00590 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00590 CoarseSearch If: for Stage 1, coarseTarget 0.00590 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00590 IndexCoarseTaget 0 PWL requiredCGain 0.00590 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00590 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00590 , remainingCGain 0.00590 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00590 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00590 findBestMatch: after flicker gainSelected 0.00590, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00590 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00590, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00590, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00590 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00590 CoarseSearch If: for Stage 1, coarseTarget 0.00590 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00590 IndexCoarseTaget 0 PWL requiredCGain 0.00590 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00590 , remainingCGain 0.00590 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00590 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00590 findBestMatch: after flicker gainSelected 0.00590, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00590 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00590, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00590, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00590 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00590 CoarseSearch If: for Stage 1, coarseTarget 0.00590 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00590 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00590 , remainingCGain 0.00590 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00590 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00590 findBestMatch: after flicker gainSelected 0.00590, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00590 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00590, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00590 GainSelected 0.00590, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00102 totalAchievedCGains 0.00102 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00590, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00102, DRE 1.00000 and Pre {0.00102, 0.00102} UdpateFrameData: AA 0.17361, ET 0.00590, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4067, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005283 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 113.045921 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.200000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005283 frame rate = 32.000000 currentSceneLux 1722.025, linearMetric .0.042869, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.838907 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 9.10% (22.84, 23.48), , , , , avgDCT 5.75, thsDCT 500.00 currentSceneLux 1722.025, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.049040 m_highlightGainApplied 0.000917 computeHighlightMeter: highlight signal 0.979636 m_highlightGainApplied 0.000917 # JR :: (mLux, hLux) (mGain, hGain) dre = (2216.158, 11067.597) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.34718 and NewCommonGains 0.00105 runBreakDownAlgorithm:TargetCGain 0.00105, 0.00105, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00105, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00105 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00105 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00604 CoarseSearch If: for Stage 1, coarseTarget 0.00604 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00604 IndexCoarseTaget 0 PWL requiredCGain 0.00105 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00105 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00604 , remainingCGain 0.00604 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00604 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00604 findBestMatch: after flicker gainSelected 0.00604, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00604 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00604, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00604, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00604 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00604 CoarseSearch If: for Stage 1, coarseTarget 0.00604 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00604 IndexCoarseTaget 0 PWL requiredCGain 0.00604 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00604 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00604 , remainingCGain 0.00604 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00604 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00604 findBestMatch: after flicker gainSelected 0.00604, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00604 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00604, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00604, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00604 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00604 CoarseSearch If: for Stage 1, coarseTarget 0.00604 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00604 IndexCoarseTaget 0 PWL requiredCGain 0.00604 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00604 , remainingCGain 0.00604 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00604 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00604 findBestMatch: after flicker gainSelected 0.00604, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00604 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00604, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00604, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00604 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00604 CoarseSearch If: for Stage 1, coarseTarget 0.00604 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00604 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00604 , remainingCGain 0.00604 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00604 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00604 findBestMatch: after flicker gainSelected 0.00604, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00604 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00604, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00604 GainSelected 0.00604, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00105 totalAchievedCGains 0.00105 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00604, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00105, DRE 1.00000 and Pre {0.00105, 0.00105} UdpateFrameData: AA 0.17361, ET 0.00604, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 4022, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005440 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 111.549438 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.250000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005440 frame rate = 32.000000 currentSceneLux 1710.844, linearMetric .0.043861, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.635870 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 5.83% (22.64, 23.24), , , , , avgDCT 5.25, thsDCT 500.00 currentSceneLux 1710.844, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.049928 m_highlightGainApplied 0.000944 computeHighlightMeter: highlight signal 0.982352 m_highlightGainApplied 0.000944 # JR :: (mLux, hLux) (mGain, hGain) dre = (2190.938, 10776.880) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.32897 and NewCommonGains 0.00107 runBreakDownAlgorithm:TargetCGain 0.00107, 0.00107, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00107, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00107 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00107 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00618 CoarseSearch If: for Stage 1, coarseTarget 0.00618 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00618 IndexCoarseTaget 0 PWL requiredCGain 0.00107 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00107 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00618 , remainingCGain 0.00618 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00618 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00618 findBestMatch: after flicker gainSelected 0.00618, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00618 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00618, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00618, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00618 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00618 CoarseSearch If: for Stage 1, coarseTarget 0.00618 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00618 IndexCoarseTaget 0 PWL requiredCGain 0.00618 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00618 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00618 , remainingCGain 0.00618 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00618 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00618 findBestMatch: after flicker gainSelected 0.00618, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00618 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00618, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00618, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00618 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00618 CoarseSearch If: for Stage 1, coarseTarget 0.00618 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00618 IndexCoarseTaget 0 PWL requiredCGain 0.00618 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00618 , remainingCGain 0.00618 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00618 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00618 findBestMatch: after flicker gainSelected 0.00618, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00618 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00618, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00618, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00618 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00618 CoarseSearch If: for Stage 1, coarseTarget 0.00618 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00618 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00618 , remainingCGain 0.00618 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00618 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00618 findBestMatch: after flicker gainSelected 0.00618, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00618 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00618, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00618 GainSelected 0.00618, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00107 totalAchievedCGains 0.00107 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00618, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00107, DRE 1.00000 and Pre {0.00107, 0.00107} UdpateFrameData: AA 0.17361, ET 0.00618, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3982, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005597 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 94.749115 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.300000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005597 frame rate = 32.000000 currentSceneLux 1694.511, linearMetric .0.044691, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.502439 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 3.75% (22.50, 23.10), , , , , avgDCT 5.50, thsDCT 500.00 currentSceneLux 1694.511, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.050734 m_highlightGainApplied 0.000972 computeHighlightMeter: highlight signal 0.984026 m_highlightGainApplied 0.000972 # JR :: (mLux, hLux) (mGain, hGain) dre = (2164.092, 10493.550) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.31386 and NewCommonGains 0.00110 runBreakDownAlgorithm:TargetCGain 0.00110, 0.00110, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00110, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00110 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00110 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00632 CoarseSearch If: for Stage 1, coarseTarget 0.00632 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00632 IndexCoarseTaget 0 PWL requiredCGain 0.00110 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00110 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00632 , remainingCGain 0.00632 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00632 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00632 findBestMatch: after flicker gainSelected 0.00632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00632 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00632 CoarseSearch If: for Stage 1, coarseTarget 0.00632 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00632 IndexCoarseTaget 0 PWL requiredCGain 0.00632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00632 , remainingCGain 0.00632 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00632 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00632 findBestMatch: after flicker gainSelected 0.00632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00632 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00632 CoarseSearch If: for Stage 1, coarseTarget 0.00632 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00632 IndexCoarseTaget 0 PWL requiredCGain 0.00632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00632 , remainingCGain 0.00632 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00632 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00632 findBestMatch: after flicker gainSelected 0.00632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00632 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00632, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00632, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00632 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00632 CoarseSearch If: for Stage 1, coarseTarget 0.00632 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00632 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00632 , remainingCGain 0.00632 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00632 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00632 findBestMatch: after flicker gainSelected 0.00632, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00632 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00632, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00632 GainSelected 0.00632, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00110 totalAchievedCGains 0.00110 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00632, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00110, DRE 1.00000 and Pre {0.00110, 0.00110} UdpateFrameData: AA 0.17361, ET 0.00632, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3945, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005749 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 115.079613 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.350000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005749 frame rate = 32.000000 currentSceneLux 1686.483, linearMetric .0.045692, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.340162 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 0.65% (22.34, 22.84), , , , , avgDCT 4.25, thsDCT 500.00 currentSceneLux 1686.483, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.051654 m_highlightGainApplied 0.000998 computeHighlightMeter: highlight signal 0.985946 m_highlightGainApplied 0.000998 # JR :: (mLux, hLux) (mGain, hGain) dre = (2144.845, 10234.955) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.29537 and NewCommonGains 0.00112 runBreakDownAlgorithm:TargetCGain 0.00112, 0.00112, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00112, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00112 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00112 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00645 CoarseSearch If: for Stage 1, coarseTarget 0.00645 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00645 IndexCoarseTaget 0 PWL requiredCGain 0.00112 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00112 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00645 , remainingCGain 0.00645 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00645 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00645 findBestMatch: after flicker gainSelected 0.00645, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00645 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00645, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00645, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00645 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00645 CoarseSearch If: for Stage 1, coarseTarget 0.00645 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00645 IndexCoarseTaget 0 PWL requiredCGain 0.00645 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00645 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00645 , remainingCGain 0.00645 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00645 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00645 findBestMatch: after flicker gainSelected 0.00645, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00645 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00645, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00645, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00645 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00645 CoarseSearch If: for Stage 1, coarseTarget 0.00645 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00645 IndexCoarseTaget 0 PWL requiredCGain 0.00645 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00645 , remainingCGain 0.00645 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00645 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00645 findBestMatch: after flicker gainSelected 0.00645, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00645 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00645, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00645, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00645 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00645 CoarseSearch If: for Stage 1, coarseTarget 0.00645 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00645 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00645 , remainingCGain 0.00645 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00645 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00645 findBestMatch: after flicker gainSelected 0.00645, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00645 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00645, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00645 GainSelected 0.00645, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00112 totalAchievedCGains 0.00112 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00645, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00112, DRE 1.00000 and Pre {0.00112, 0.00112} UdpateFrameData: AA 0.17361, ET 0.00645, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3913, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.005898 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 89.041550 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.400000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.005898 frame rate = 32.000000 currentSceneLux 1674.303, linearMetric .0.046533, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.149387 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 2.26% (22.15, 22.64), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1674.303, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.052536 m_highlightGainApplied 0.001024 computeHighlightMeter: highlight signal 0.987007 m_highlightGainApplied 0.001024 # JR :: (mLux, hLux) (mGain, hGain) dre = (2126.579, 9988.229) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.27817 and NewCommonGains 0.00114 runBreakDownAlgorithm:TargetCGain 0.00114, 0.00114, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00114, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00114 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00114 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00657 CoarseSearch If: for Stage 1, coarseTarget 0.00657 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00657 IndexCoarseTaget 0 PWL requiredCGain 0.00114 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00114 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00657 , remainingCGain 0.00657 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00657 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00657 findBestMatch: after flicker gainSelected 0.00657, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00657 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00657, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00657, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00657 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00657 CoarseSearch If: for Stage 1, coarseTarget 0.00657 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00657 IndexCoarseTaget 0 PWL requiredCGain 0.00657 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00657 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00657 , remainingCGain 0.00657 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00657 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00657 findBestMatch: after flicker gainSelected 0.00657, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00657 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00657, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00657, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00657 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00657 CoarseSearch If: for Stage 1, coarseTarget 0.00657 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00657 IndexCoarseTaget 0 PWL requiredCGain 0.00657 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00657 , remainingCGain 0.00657 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00657 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00657 findBestMatch: after flicker gainSelected 0.00657, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00657 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00657, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00657, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00657 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00657 CoarseSearch If: for Stage 1, coarseTarget 0.00657 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00657 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00657 , remainingCGain 0.00657 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00657 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00657 findBestMatch: after flicker gainSelected 0.00657, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00657 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00657, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00657 GainSelected 0.00657, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00114 totalAchievedCGains 0.00114 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00657, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00114, DRE 1.00000 and Pre {0.00114, 0.00114} UdpateFrameData: AA 0.17361, ET 0.00657, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3878, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006041 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 121.242409 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.450000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006041 frame rate = 32.000000 currentSceneLux 1669.764, linearMetric .0.047537, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.046892 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 4.01% (22.05, 22.50), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1669.764, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.053372 m_highlightGainApplied 0.001049 computeHighlightMeter: highlight signal 0.988712 m_highlightGainApplied 0.001049 # JR :: (mLux, hLux) (mGain, hGain) dre = (2109.050, 9767.583) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.26229 and NewCommonGains 0.00116 runBreakDownAlgorithm:TargetCGain 0.00116, 0.00116, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00116, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00116 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00116 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00669 CoarseSearch If: for Stage 1, coarseTarget 0.00669 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00669 IndexCoarseTaget 0 PWL requiredCGain 0.00116 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00116 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00669 , remainingCGain 0.00669 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00669 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00669 findBestMatch: after flicker gainSelected 0.00669, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00669 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00669, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00669, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00669 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00669 CoarseSearch If: for Stage 1, coarseTarget 0.00669 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00669 IndexCoarseTaget 0 PWL requiredCGain 0.00669 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00669 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00669 , remainingCGain 0.00669 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00669 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00669 findBestMatch: after flicker gainSelected 0.00669, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00669 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00669, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00669, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00669 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00669 CoarseSearch If: for Stage 1, coarseTarget 0.00669 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00669 IndexCoarseTaget 0 PWL requiredCGain 0.00669 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00669 , remainingCGain 0.00669 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00669 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00669 findBestMatch: after flicker gainSelected 0.00669, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00669 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00669, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00669, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00669 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00669 CoarseSearch If: for Stage 1, coarseTarget 0.00669 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00669 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00669 , remainingCGain 0.00669 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00669 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00669 findBestMatch: after flicker gainSelected 0.00669, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00669 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00669, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00669 GainSelected 0.00669, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00116 totalAchievedCGains 0.00116 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00669, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00116, DRE 1.00000 and Pre {0.00116, 0.00116} UdpateFrameData: AA 0.17361, ET 0.00669, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3846, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006181 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 86.292534 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.500000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006181 frame rate = 32.000000 currentSceneLux 1660.868, linearMetric .0.048374, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.925306 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 6.11% (21.93, 22.34), , , , , avgDCT 3.25, thsDCT 500.00 currentSceneLux 1660.868, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.054185 m_highlightGainApplied 0.001073 computeHighlightMeter: highlight signal 0.989808 m_highlightGainApplied 0.001073 # JR :: (mLux, hLux) (mGain, hGain) dre = (2092.922, 9557.956) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.24714 and NewCommonGains 0.00118 runBreakDownAlgorithm:TargetCGain 0.00118, 0.00118, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00118, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00118 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00118 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00681 CoarseSearch If: for Stage 1, coarseTarget 0.00681 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00681 IndexCoarseTaget 0 PWL requiredCGain 0.00118 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00118 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00681 , remainingCGain 0.00681 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00681 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00681 findBestMatch: after flicker gainSelected 0.00681, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00681 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00681, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00681, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00681 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00681 CoarseSearch If: for Stage 1, coarseTarget 0.00681 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00681 IndexCoarseTaget 0 PWL requiredCGain 0.00681 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00681 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00681 , remainingCGain 0.00681 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00681 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00681 findBestMatch: after flicker gainSelected 0.00681, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00681 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00681, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00681, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00681 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00681 CoarseSearch If: for Stage 1, coarseTarget 0.00681 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00681 IndexCoarseTaget 0 PWL requiredCGain 0.00681 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00681 , remainingCGain 0.00681 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00681 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00681 findBestMatch: after flicker gainSelected 0.00681, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00681 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00681, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00681, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00681 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00681 CoarseSearch If: for Stage 1, coarseTarget 0.00681 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00681 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00681 , remainingCGain 0.00681 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00681 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00681 findBestMatch: after flicker gainSelected 0.00681, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00681 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00681, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00681 GainSelected 0.00681, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00118 totalAchievedCGains 0.00118 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00681, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00118, DRE 1.00000 and Pre {0.00118, 0.00118} UdpateFrameData: AA 0.17361, ET 0.00681, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3818, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006316 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 73.880585 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.550000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006316 frame rate = 32.000000 currentSceneLux 1647.621, linearMetric .0.049044, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.848036 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 8.09% (21.85, 22.15), , , , , avgDCT 5.50, thsDCT 500.00 currentSceneLux 1647.621, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.054737 m_highlightGainApplied 0.001097 computeHighlightMeter: highlight signal 0.990570 m_highlightGainApplied 0.001097 # JR :: (mLux, hLux) (mGain, hGain) dre = (2068.755, 9359.463) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.23918 and NewCommonGains 0.00120 runBreakDownAlgorithm:TargetCGain 0.00120, 0.00120, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00120, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00120 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00120 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00692 CoarseSearch If: for Stage 1, coarseTarget 0.00692 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00692 IndexCoarseTaget 0 PWL requiredCGain 0.00120 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00120 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00692 , remainingCGain 0.00692 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00692 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00692 findBestMatch: after flicker gainSelected 0.00692, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00692 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00692, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00692, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00692 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00692 CoarseSearch If: for Stage 1, coarseTarget 0.00692 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00692 IndexCoarseTaget 0 PWL requiredCGain 0.00692 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00692 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00692 , remainingCGain 0.00692 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00692 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00692 findBestMatch: after flicker gainSelected 0.00692, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00692 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00692, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00692, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00692 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00692 CoarseSearch If: for Stage 1, coarseTarget 0.00692 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00692 IndexCoarseTaget 0 PWL requiredCGain 0.00692 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00692 , remainingCGain 0.00692 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00692 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00692 findBestMatch: after flicker gainSelected 0.00692, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00692 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00692, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00692, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00692 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00692 CoarseSearch If: for Stage 1, coarseTarget 0.00692 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00692 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00692 , remainingCGain 0.00692 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00692 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00692 findBestMatch: after flicker gainSelected 0.00692, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00692 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00692, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00692 GainSelected 0.00692, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00120 totalAchievedCGains 0.00120 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00692, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00120, DRE 1.00000 and Pre {0.00120, 0.00120} UdpateFrameData: AA 0.17361, ET 0.00692, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3793, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006447 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 87.427994 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.600000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006447 frame rate = 32.000000 currentSceneLux 1641.550, linearMetric .0.049874, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.720596 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 9.79% (21.72, 22.05), , , , , avgDCT 6.00, thsDCT 500.00 currentSceneLux 1641.550, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.055570 m_highlightGainApplied 0.001119 computeHighlightMeter: highlight signal 0.991917 m_highlightGainApplied 0.001119 # JR :: (mLux, hLux) (mGain, hGain) dre = (2057.677, 9182.265) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.22301 and NewCommonGains 0.00122 runBreakDownAlgorithm:TargetCGain 0.00122, 0.00122, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00122, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00122 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00122 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00703 CoarseSearch If: for Stage 1, coarseTarget 0.00703 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00703 IndexCoarseTaget 0 PWL requiredCGain 0.00122 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00122 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00703 , remainingCGain 0.00703 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00703 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00703 findBestMatch: after flicker gainSelected 0.00703, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00703 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00703, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00703, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00703 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00703 CoarseSearch If: for Stage 1, coarseTarget 0.00703 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00703 IndexCoarseTaget 0 PWL requiredCGain 0.00703 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00703 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00703 , remainingCGain 0.00703 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00703 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00703 findBestMatch: after flicker gainSelected 0.00703, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00703 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00703, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00703, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00703 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00703 CoarseSearch If: for Stage 1, coarseTarget 0.00703 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00703 IndexCoarseTaget 0 PWL requiredCGain 0.00703 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00703 , remainingCGain 0.00703 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00703 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00703 findBestMatch: after flicker gainSelected 0.00703, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00703 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00703, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00703, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00703 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00703 CoarseSearch If: for Stage 1, coarseTarget 0.00703 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00703 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00703 , remainingCGain 0.00703 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00703 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00703 findBestMatch: after flicker gainSelected 0.00703, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00703 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00703, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00703 GainSelected 0.00703, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00122 totalAchievedCGains 0.00122 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00703, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00122, DRE 1.00000 and Pre {0.00122, 0.00122} UdpateFrameData: AA 0.17361, ET 0.00703, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3764, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006573 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 98.754219 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.650000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006573 frame rate = 32.000000 currentSceneLux 1636.550, linearMetric .0.050690, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.619984 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 11.43% (21.62, 21.93), , , , , avgDCT 4.50, thsDCT 500.00 currentSceneLux 1636.550, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.056398 m_highlightGainApplied 0.001141 computeHighlightMeter: highlight signal 0.992815 m_highlightGainApplied 0.001141 # JR :: (mLux, hLux) (mGain, hGain) dre = (2048.435, 9015.069) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.20720 and NewCommonGains 0.00124 runBreakDownAlgorithm:TargetCGain 0.00124, 0.00124, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00124, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00124 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00124 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00713 CoarseSearch If: for Stage 1, coarseTarget 0.00713 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00713 IndexCoarseTaget 0 PWL requiredCGain 0.00124 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00124 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00713 , remainingCGain 0.00713 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00713 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00713 findBestMatch: after flicker gainSelected 0.00713, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00713 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00713, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00713, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00713 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00713 CoarseSearch If: for Stage 1, coarseTarget 0.00713 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00713 IndexCoarseTaget 0 PWL requiredCGain 0.00713 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00713 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00713 , remainingCGain 0.00713 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00713 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00713 findBestMatch: after flicker gainSelected 0.00713, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00713 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00713, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00713, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00713 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00713 CoarseSearch If: for Stage 1, coarseTarget 0.00713 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00713 IndexCoarseTaget 0 PWL requiredCGain 0.00713 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00713 , remainingCGain 0.00713 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00713 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00713 findBestMatch: after flicker gainSelected 0.00713, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00713 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00713, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00713, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00713 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00713 CoarseSearch If: for Stage 1, coarseTarget 0.00713 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00713 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00713 , remainingCGain 0.00713 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00713 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00713 findBestMatch: after flicker gainSelected 0.00713, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00713 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00713, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00713 GainSelected 0.00713, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00124 totalAchievedCGains 0.00124 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00713, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00124, DRE 1.00000 and Pre {0.00124, 0.00124} UdpateFrameData: AA 0.17361, ET 0.00713, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3739, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006693 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 77.835632 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.700000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006693 frame rate = 32.000000 currentSceneLux 1626.919, linearMetric .0.051316, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.577063 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 12.32% (21.58, 21.85), , , , , avgDCT 4.75, thsDCT 500.00 currentSceneLux 1626.919, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.056922 m_highlightGainApplied 0.001162 computeHighlightMeter: highlight signal 0.993659 m_highlightGainApplied 0.001162 # JR :: (mLux, hLux) (mGain, hGain) dre = (2030.240, 8860.167) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.19935 and NewCommonGains 0.00126 runBreakDownAlgorithm:TargetCGain 0.00126, 0.00126, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00126, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00126 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00126 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00723 CoarseSearch If: for Stage 1, coarseTarget 0.00723 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00723 IndexCoarseTaget 0 PWL requiredCGain 0.00126 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00126 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00723 , remainingCGain 0.00723 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00723 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00723 findBestMatch: after flicker gainSelected 0.00723, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00723 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00723, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00723, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00723 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00723 CoarseSearch If: for Stage 1, coarseTarget 0.00723 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00723 IndexCoarseTaget 0 PWL requiredCGain 0.00723 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00723 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00723 , remainingCGain 0.00723 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00723 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00723 findBestMatch: after flicker gainSelected 0.00723, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00723 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00723, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00723, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00723 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00723 CoarseSearch If: for Stage 1, coarseTarget 0.00723 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00723 IndexCoarseTaget 0 PWL requiredCGain 0.00723 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00723 , remainingCGain 0.00723 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00723 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00723 findBestMatch: after flicker gainSelected 0.00723, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00723 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00723, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00723, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00723 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00723 CoarseSearch If: for Stage 1, coarseTarget 0.00723 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00723 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00723 , remainingCGain 0.00723 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00723 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00723 findBestMatch: after flicker gainSelected 0.00723, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00723 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00723, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00723 GainSelected 0.00723, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00126 totalAchievedCGains 0.00126 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00723, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00126, DRE 1.00000 and Pre {0.00126, 0.00126} UdpateFrameData: AA 0.17361, ET 0.00723, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3716, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006809 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 95.060356 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.750000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006809 frame rate = 32.000000 currentSceneLux 1618.125, linearMetric .0.051921, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.498398 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 13.84% (21.50, 21.72), , , , , avgDCT 4.25, thsDCT 500.00 currentSceneLux 1618.125, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.057528 m_highlightGainApplied 0.001182 computeHighlightMeter: highlight signal 0.994187 m_highlightGainApplied 0.001182 # JR :: (mLux, hLux) (mGain, hGain) dre = (2017.006, 8714.309) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.18885 and NewCommonGains 0.00127 runBreakDownAlgorithm:TargetCGain 0.00127, 0.00127, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00127, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00127 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00127 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00733 CoarseSearch If: for Stage 1, coarseTarget 0.00733 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00733 IndexCoarseTaget 0 PWL requiredCGain 0.00127 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00127 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00733 , remainingCGain 0.00733 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00733 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00733 findBestMatch: after flicker gainSelected 0.00733, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00733 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00733, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00733, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00733 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00733 CoarseSearch If: for Stage 1, coarseTarget 0.00733 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00733 IndexCoarseTaget 0 PWL requiredCGain 0.00733 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00733 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00733 , remainingCGain 0.00733 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00733 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00733 findBestMatch: after flicker gainSelected 0.00733, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00733 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00733, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00733, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00733 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00733 CoarseSearch If: for Stage 1, coarseTarget 0.00733 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00733 IndexCoarseTaget 0 PWL requiredCGain 0.00733 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00733 , remainingCGain 0.00733 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00733 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00733 findBestMatch: after flicker gainSelected 0.00733, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00733 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00733, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00733, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00733 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00733 CoarseSearch If: for Stage 1, coarseTarget 0.00733 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00733 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00733 , remainingCGain 0.00733 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00733 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00733 findBestMatch: after flicker gainSelected 0.00733, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00733 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00733, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00733 GainSelected 0.00733, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00127 totalAchievedCGains 0.00127 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00733, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00127, DRE 1.00000 and Pre {0.00127, 0.00127} UdpateFrameData: AA 0.17361, ET 0.00733, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3695, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.006923 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 108.523140 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.800000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.006923 frame rate = 32.000000 currentSceneLux 1608.914, linearMetric .0.052488, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.557274 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 14.59% (21.50, 21.62), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 1608.914, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.058040 m_highlightGainApplied 0.001202 computeHighlightMeter: highlight signal 0.994319 m_highlightGainApplied 0.001202 # JR :: (mLux, hLux) (mGain, hGain) dre = (2001.482, 8572.172) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.18111 and NewCommonGains 0.00129 runBreakDownAlgorithm:TargetCGain 0.00129, 0.00129, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00129, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00129 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00129 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00742 CoarseSearch If: for Stage 1, coarseTarget 0.00742 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00742 IndexCoarseTaget 0 PWL requiredCGain 0.00129 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00129 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00742 , remainingCGain 0.00742 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00742 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00742 findBestMatch: after flicker gainSelected 0.00742, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00742 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00742, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00742, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00742 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00742 CoarseSearch If: for Stage 1, coarseTarget 0.00742 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00742 IndexCoarseTaget 0 PWL requiredCGain 0.00742 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00742 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00742 , remainingCGain 0.00742 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00742 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00742 findBestMatch: after flicker gainSelected 0.00742, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00742 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00742, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00742, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00742 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00742 CoarseSearch If: for Stage 1, coarseTarget 0.00742 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00742 IndexCoarseTaget 0 PWL requiredCGain 0.00742 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00742 , remainingCGain 0.00742 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00742 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00742 findBestMatch: after flicker gainSelected 0.00742, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00742 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00742, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00742, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00742 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00742 CoarseSearch If: for Stage 1, coarseTarget 0.00742 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00742 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00742 , remainingCGain 0.00742 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00742 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00742 findBestMatch: after flicker gainSelected 0.00742, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00742 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00742, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00742 GainSelected 0.00742, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00129 totalAchievedCGains 0.00129 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00742, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00129, DRE 1.00000 and Pre {0.00129, 0.00129} UdpateFrameData: AA 0.17361, ET 0.00742, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3674, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007031 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 116.722847 Pass: (highest Score = 0.850000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007031 frame rate = 32.000000 currentSceneLux 1600.528, linearMetric .0.053028, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.699694 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 14.00% (21.50, 21.70), , , , , avgDCT 5.00, thsDCT 500.00 currentSceneLux 1600.528, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.058582 m_highlightGainApplied 0.001221 computeHighlightMeter: highlight signal 0.994229 m_highlightGainApplied 0.001221 # JR :: (mLux, hLux) (mGain, hGain) dre = (1989.198, 8439.915) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.17188 and NewCommonGains 0.00130 runBreakDownAlgorithm:TargetCGain 0.00130, 0.00130, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00130, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00130 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00130 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00751 CoarseSearch If: for Stage 1, coarseTarget 0.00751 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00751 IndexCoarseTaget 0 PWL requiredCGain 0.00130 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00130 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00751 , remainingCGain 0.00751 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00751 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00751 findBestMatch: after flicker gainSelected 0.00751, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00751 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00751, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00751, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00751 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00751 CoarseSearch If: for Stage 1, coarseTarget 0.00751 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00751 IndexCoarseTaget 0 PWL requiredCGain 0.00751 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00751 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00751 , remainingCGain 0.00751 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00751 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00751 findBestMatch: after flicker gainSelected 0.00751, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00751 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00751, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00751, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00751 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00751 CoarseSearch If: for Stage 1, coarseTarget 0.00751 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00751 IndexCoarseTaget 0 PWL requiredCGain 0.00751 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00751 , remainingCGain 0.00751 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00751 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00751 findBestMatch: after flicker gainSelected 0.00751, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00751 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00751, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00751, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00751 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00751 CoarseSearch If: for Stage 1, coarseTarget 0.00751 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00751 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00751 , remainingCGain 0.00751 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00751 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00751 findBestMatch: after flicker gainSelected 0.00751, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00751 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00751, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00751 GainSelected 0.00751, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00130 totalAchievedCGains 0.00130 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00751, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00130, DRE 1.00000 and Pre {0.00130, 0.00130} UdpateFrameData: AA 0.17361, ET 0.00751, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3654, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007132 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 114.966545 Pass: (highest Score = 0.900000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007132 frame rate = 32.000000 currentSceneLux 1593.404, linearMetric .0.053556, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.163530 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 10.57% (21.50, 22.16), , , , , avgDCT 4.75, thsDCT 500.00 currentSceneLux 1593.404, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.059125 m_highlightGainApplied 0.001238 computeHighlightMeter: highlight signal 0.994140 m_highlightGainApplied 0.001238 # JR :: (mLux, hLux) (mGain, hGain) dre = (1979.000, 8318.820) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.16211 and NewCommonGains 0.00132 runBreakDownAlgorithm:TargetCGain 0.00132, 0.00132, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00132, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00132 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00132 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00759 CoarseSearch If: for Stage 1, coarseTarget 0.00759 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00759 IndexCoarseTaget 0 PWL requiredCGain 0.00132 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00132 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00759 , remainingCGain 0.00759 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00759 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00759 findBestMatch: after flicker gainSelected 0.00759, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00759 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00759, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00759, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00759 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00759 CoarseSearch If: for Stage 1, coarseTarget 0.00759 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00759 IndexCoarseTaget 0 PWL requiredCGain 0.00759 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00759 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00759 , remainingCGain 0.00759 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00759 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00759 findBestMatch: after flicker gainSelected 0.00759, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00759 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00759, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00759, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00759 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00759 CoarseSearch If: for Stage 1, coarseTarget 0.00759 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00759 IndexCoarseTaget 0 PWL requiredCGain 0.00759 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00759 , remainingCGain 0.00759 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00759 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00759 findBestMatch: after flicker gainSelected 0.00759, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00759 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00759, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00759, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00759 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00759 CoarseSearch If: for Stage 1, coarseTarget 0.00759 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00759 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00759 , remainingCGain 0.00759 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00759 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00759 findBestMatch: after flicker gainSelected 0.00759, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00759 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00759, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00759 GainSelected 0.00759, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00132 totalAchievedCGains 0.00132 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00759, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00132, DRE 1.00000 and Pre {0.00132, 0.00132} UdpateFrameData: AA 0.17361, ET 0.00759, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3637, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007231 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 115.677818 Pass: (highest Score = 0.950000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007231 frame rate = 32.000000 currentSceneLux 1586.807, linearMetric .0.054076, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.792225 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 5.48% (21.56, 22.79), , , , , avgDCT 4.00, thsDCT 500.00 currentSceneLux 1586.807, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.059706 m_highlightGainApplied 0.001255 computeHighlightMeter: highlight signal 0.994250 m_highlightGainApplied 0.001255 # JR :: (mLux, hLux) (mGain, hGain) dre = (1971.009, 8205.568) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.15173 and NewCommonGains 0.00133 runBreakDownAlgorithm:TargetCGain 0.00133, 0.00133, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00133, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00133 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00133 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00767 CoarseSearch If: for Stage 1, coarseTarget 0.00767 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00767 IndexCoarseTaget 0 PWL requiredCGain 0.00133 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00133 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00767 , remainingCGain 0.00767 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00767 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00767 findBestMatch: after flicker gainSelected 0.00767, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00767 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00767, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00767, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00767 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00767 CoarseSearch If: for Stage 1, coarseTarget 0.00767 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00767 IndexCoarseTaget 0 PWL requiredCGain 0.00767 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00767 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00767 , remainingCGain 0.00767 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00767 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00767 findBestMatch: after flicker gainSelected 0.00767, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00767 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00767, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00767, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00767 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00767 CoarseSearch If: for Stage 1, coarseTarget 0.00767 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00767 IndexCoarseTaget 0 PWL requiredCGain 0.00767 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00767 , remainingCGain 0.00767 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00767 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00767 findBestMatch: after flicker gainSelected 0.00767, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00767 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00767, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00767, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00767 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00767 CoarseSearch If: for Stage 1, coarseTarget 0.00767 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00767 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00767 , remainingCGain 0.00767 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00767 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00767 findBestMatch: after flicker gainSelected 0.00767, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00767 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00767, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00767 GainSelected 0.00767, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00133 totalAchievedCGains 0.00133 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00767, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00133, DRE 1.00000 and Pre {0.00133, 0.00133} UdpateFrameData: AA 0.17361, ET 0.00767, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3621, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007327 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 105.055679 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007327 frame rate = 32.000000 currentSceneLux 1576.111, linearMetric .0.054419, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.372980 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 0.14% (21.70, 23.37), , , , , avgDCT 4.50, thsDCT 500.00 currentSceneLux 1576.111, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.060064 m_highlightGainApplied 0.001272 computeHighlightMeter: highlight signal 0.994649 m_highlightGainApplied 0.001272 # JR :: (mLux, hLux) (mGain, hGain) dre = (1957.037, 8102.105) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.14682 and NewCommonGains 0.00135 runBreakDownAlgorithm:TargetCGain 0.00135, 0.00135, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00135, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00135 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00135 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00775 CoarseSearch If: for Stage 1, coarseTarget 0.00775 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00775 IndexCoarseTaget 0 PWL requiredCGain 0.00135 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00135 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00775 , remainingCGain 0.00775 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00775 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00775 findBestMatch: after flicker gainSelected 0.00775, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00775 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00775, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00775, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00775 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00775 CoarseSearch If: for Stage 1, coarseTarget 0.00775 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00775 IndexCoarseTaget 0 PWL requiredCGain 0.00775 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00775 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00775 , remainingCGain 0.00775 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00775 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00775 findBestMatch: after flicker gainSelected 0.00775, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00775 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00775, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00775, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00775 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00775 CoarseSearch If: for Stage 1, coarseTarget 0.00775 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00775 IndexCoarseTaget 0 PWL requiredCGain 0.00775 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00775 , remainingCGain 0.00775 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00775 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00775 findBestMatch: after flicker gainSelected 0.00775, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00775 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00775, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00775, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00775 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00775 CoarseSearch If: for Stage 1, coarseTarget 0.00775 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00775 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00775 , remainingCGain 0.00775 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00775 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00775 findBestMatch: after flicker gainSelected 0.00775, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00775 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00775, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00775 GainSelected 0.00775, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00135 totalAchievedCGains 0.00135 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00775, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00135, DRE 1.00000 and Pre {0.00135, 0.00135} UdpateFrameData: AA 0.17361, ET 0.00775, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3604, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007419 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 104.673126 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007419 frame rate = 32.000000 currentSceneLux 1566.454, linearMetric .0.054769, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.720528 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 5.86% (22.16, 23.72), , , , , avgDCT 4.50, thsDCT 500.00 currentSceneLux 1566.454, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.060410 m_highlightGainApplied 0.001288 computeHighlightMeter: highlight signal 0.994341 m_highlightGainApplied 0.001288 # JR :: (mLux, hLux) (mGain, hGain) dre = (1943.766, 7998.559) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.14196 and NewCommonGains 0.00136 runBreakDownAlgorithm:TargetCGain 0.00136, 0.00136, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00136, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00136 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00136 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00783 CoarseSearch If: for Stage 1, coarseTarget 0.00783 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00783 IndexCoarseTaget 0 PWL requiredCGain 0.00136 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00136 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00783 , remainingCGain 0.00783 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00783 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00783 findBestMatch: after flicker gainSelected 0.00783, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00783 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00783, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00783, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00783 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00783 CoarseSearch If: for Stage 1, coarseTarget 0.00783 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00783 IndexCoarseTaget 0 PWL requiredCGain 0.00783 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00783 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00783 , remainingCGain 0.00783 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00783 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00783 findBestMatch: after flicker gainSelected 0.00783, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00783 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00783, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00783, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00783 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00783 CoarseSearch If: for Stage 1, coarseTarget 0.00783 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00783 IndexCoarseTaget 0 PWL requiredCGain 0.00783 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00783 , remainingCGain 0.00783 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00783 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00783 findBestMatch: after flicker gainSelected 0.00783, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00783 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00783, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00783, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00783 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00783 CoarseSearch If: for Stage 1, coarseTarget 0.00783 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00783 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00783 , remainingCGain 0.00783 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00783 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00783 findBestMatch: after flicker gainSelected 0.00783, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00783 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00783, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00783 GainSelected 0.00783, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00136 totalAchievedCGains 0.00136 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00783, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00136, DRE 1.00000 and Pre {0.00136, 0.00136} UdpateFrameData: AA 0.17361, ET 0.00783, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3589, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007508 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 110.869362 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007508 frame rate = 32.000000 currentSceneLux 1562.917, linearMetric .0.055300, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.911371 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 11.92% (22.79, 23.91), , , , , avgDCT 6.00, thsDCT 500.00 currentSceneLux 1562.917, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.060967 m_highlightGainApplied 0.001304 computeHighlightMeter: highlight signal 0.994209 m_highlightGainApplied 0.001304 # JR :: (mLux, hLux) (mGain, hGain) dre = (1938.460, 7902.776) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.13171 and NewCommonGains 0.00137 runBreakDownAlgorithm:TargetCGain 0.00137, 0.00137, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00137, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00137 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00137 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00790 CoarseSearch If: for Stage 1, coarseTarget 0.00790 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00790 IndexCoarseTaget 0 PWL requiredCGain 0.00137 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00137 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00790 , remainingCGain 0.00790 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00790 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00790 findBestMatch: after flicker gainSelected 0.00790, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00790 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00790, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00790, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00790 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00790 CoarseSearch If: for Stage 1, coarseTarget 0.00790 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00790 IndexCoarseTaget 0 PWL requiredCGain 0.00790 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00790 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00790 , remainingCGain 0.00790 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00790 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00790 findBestMatch: after flicker gainSelected 0.00790, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00790 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00790, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00790, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00790 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00790 CoarseSearch If: for Stage 1, coarseTarget 0.00790 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00790 IndexCoarseTaget 0 PWL requiredCGain 0.00790 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00790 , remainingCGain 0.00790 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00790 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00790 findBestMatch: after flicker gainSelected 0.00790, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00790 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00790, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00790, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00790 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00790 CoarseSearch If: for Stage 1, coarseTarget 0.00790 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00790 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00790 , remainingCGain 0.00790 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00790 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00790 findBestMatch: after flicker gainSelected 0.00790, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00790 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00790, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00790 GainSelected 0.00790, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00137 totalAchievedCGains 0.00137 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00790, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00137, DRE 1.00000 and Pre {0.00137, 0.00137} UdpateFrameData: AA 0.17361, ET 0.00790, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3576, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007593 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 80.431038 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007593 frame rate = 32.000000 currentSceneLux 1556.722, linearMetric .0.055703, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.139074 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 17.89% (23.37, 24.14), , , , , avgDCT 6.25, thsDCT 500.00 currentSceneLux 1556.722, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.061258 m_highlightGainApplied 0.001318 computeHighlightMeter: highlight signal 0.994170 m_highlightGainApplied 0.001318 # JR :: (mLux, hLux) (mGain, hGain) dre = (1925.959, 7814.156) (0.001, 0.001) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.12787 and NewCommonGains 0.00138 runBreakDownAlgorithm:TargetCGain 0.00138, 0.00138, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00138, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00138 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00138 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00797 CoarseSearch If: for Stage 1, coarseTarget 0.00797 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00797 IndexCoarseTaget 0 PWL requiredCGain 0.00138 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00138 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00797 , remainingCGain 0.00797 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00797 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00797 findBestMatch: after flicker gainSelected 0.00797, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00797 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00797, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00797, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00797 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00797 CoarseSearch If: for Stage 1, coarseTarget 0.00797 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00797 IndexCoarseTaget 0 PWL requiredCGain 0.00797 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00797 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00797 , remainingCGain 0.00797 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00797 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00797 findBestMatch: after flicker gainSelected 0.00797, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00797 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00797, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00797, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00797 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00797 CoarseSearch If: for Stage 1, coarseTarget 0.00797 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00797 IndexCoarseTaget 0 PWL requiredCGain 0.00797 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00797 , remainingCGain 0.00797 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00797 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00797 findBestMatch: after flicker gainSelected 0.00797, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00797 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00797, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00797, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00797 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00797 CoarseSearch If: for Stage 1, coarseTarget 0.00797 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00797 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00797 , remainingCGain 0.00797 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00797 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00797 findBestMatch: after flicker gainSelected 0.00797, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00797 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00797, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00797 GainSelected 0.00797, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00138 totalAchievedCGains 0.00138 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00797, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00138, DRE 1.00000 and Pre {0.00138, 0.00138} UdpateFrameData: AA 0.17361, ET 0.00797, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3564, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007673 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 58.204140 Pass: (highest Score = 1.000000, idx = 0 th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007673 frame rate = 32.000000 currentSceneLux 1552.861, linearMetric .0.056153, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.203108 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 20.94% (23.72, 24.20), , , , , avgDCT 6.00, thsDCT 500.00 currentSceneLux 1552.861, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.061764 m_highlightGainApplied 0.001332 computeHighlightMeter: highlight signal 0.994295 m_highlightGainApplied 0.001332 # JR :: (mLux, hLux) (mGain, hGain) dre = (1921.542, 7733.368) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.11839 and NewCommonGains 0.00140 runBreakDownAlgorithm:TargetCGain 0.00140, 0.00140, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00140, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00140 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00140 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00804 CoarseSearch If: for Stage 1, coarseTarget 0.00804 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00804 IndexCoarseTaget 0 PWL requiredCGain 0.00140 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00140 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00804 , remainingCGain 0.00804 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00804 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00804 findBestMatch: after flicker gainSelected 0.00804, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00804 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00804, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00804, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00804 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00804 CoarseSearch If: for Stage 1, coarseTarget 0.00804 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00804 IndexCoarseTaget 0 PWL requiredCGain 0.00804 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00804 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00804 , remainingCGain 0.00804 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00804 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00804 findBestMatch: after flicker gainSelected 0.00804, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00804 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00804, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00804, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00804 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00804 CoarseSearch If: for Stage 1, coarseTarget 0.00804 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00804 IndexCoarseTaget 0 PWL requiredCGain 0.00804 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00804 , remainingCGain 0.00804 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00804 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00804 findBestMatch: after flicker gainSelected 0.00804, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00804 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00804, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00804, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00804 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00804 CoarseSearch If: for Stage 1, coarseTarget 0.00804 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00804 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00804 , remainingCGain 0.00804 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00804 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00804 findBestMatch: after flicker gainSelected 0.00804, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00804 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00804, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00804 GainSelected 0.00804, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00140 totalAchievedCGains 0.00140 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00804, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00140, DRE 1.00000 and Pre {0.00140, 0.00140} UdpateFrameData: AA 0.17361, ET 0.00804, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3553, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007752 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 49.527897 Return: peak confidence (9.610431) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007752 frame rate = 32.000000 currentSceneLux 1551.136, linearMetric .0.056664, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.145275 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 22.35% (23.91, 24.20), , , , , avgDCT 5.00, thsDCT 500.00 currentSceneLux 1551.136, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.062241 m_highlightGainApplied 0.001346 computeHighlightMeter: highlight signal 0.994720 m_highlightGainApplied 0.001346 # JR :: (mLux, hLux) (mGain, hGain) dre = (1916.783, 7658.333) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.11013 and NewCommonGains 0.00141 runBreakDownAlgorithm:TargetCGain 0.00141, 0.00141, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00141, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00141 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00141 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00810 CoarseSearch If: for Stage 1, coarseTarget 0.00810 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00810 IndexCoarseTaget 0 PWL requiredCGain 0.00141 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00141 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00810 , remainingCGain 0.00810 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00810 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00810 findBestMatch: after flicker gainSelected 0.00810, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00810 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00810, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00810, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00810 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00810 CoarseSearch If: for Stage 1, coarseTarget 0.00810 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00810 IndexCoarseTaget 0 PWL requiredCGain 0.00810 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00810 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00810 , remainingCGain 0.00810 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00810 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00810 findBestMatch: after flicker gainSelected 0.00810, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00810 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00810, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00810, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00810 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00810 CoarseSearch If: for Stage 1, coarseTarget 0.00810 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00810 IndexCoarseTaget 0 PWL requiredCGain 0.00810 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00810 , remainingCGain 0.00810 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00810 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00810 findBestMatch: after flicker gainSelected 0.00810, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00810 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00810, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00810, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00810 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00810 CoarseSearch If: for Stage 1, coarseTarget 0.00810 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00810 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00810 , remainingCGain 0.00810 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00810 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00810 findBestMatch: after flicker gainSelected 0.00810, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00810 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00810, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00810 GainSelected 0.00810, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00141 totalAchievedCGains 0.00141 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00810, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00141, DRE 1.00000 and Pre {0.00141, 0.00141} UdpateFrameData: AA 0.17361, ET 0.00810, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3541, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007829 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 28.802137 Return: peak confidence (5.611709) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007829 frame rate = 32.000000 currentSceneLux 1546.433, linearMetric .0.057051, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 24.033514 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 23.25% (24.03, 24.20), , , , , avgDCT 4.00, thsDCT 500.00 currentSceneLux 1546.433, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.062759 m_highlightGainApplied 0.001359 computeHighlightMeter: highlight signal 0.995235 m_highlightGainApplied 0.001359 # JR :: (mLux, hLux) (mGain, hGain) dre = (1913.789, 7587.280) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.10137 and NewCommonGains 0.00142 runBreakDownAlgorithm:TargetCGain 0.00142, 0.00142, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00142, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00142 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00142 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00816 CoarseSearch If: for Stage 1, coarseTarget 0.00816 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00816 IndexCoarseTaget 0 PWL requiredCGain 0.00142 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00142 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00816 , remainingCGain 0.00816 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00816 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00816 findBestMatch: after flicker gainSelected 0.00816, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00816 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00816, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00816, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00816 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00816 CoarseSearch If: for Stage 1, coarseTarget 0.00816 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00816 IndexCoarseTaget 0 PWL requiredCGain 0.00816 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00816 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00816 , remainingCGain 0.00816 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00816 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00816 findBestMatch: after flicker gainSelected 0.00816, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00816 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00816, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00816, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00816 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00816 CoarseSearch If: for Stage 1, coarseTarget 0.00816 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00816 IndexCoarseTaget 0 PWL requiredCGain 0.00816 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00816 , remainingCGain 0.00816 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00816 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00816 findBestMatch: after flicker gainSelected 0.00816, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00816 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00816, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00816, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00816 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00816 CoarseSearch If: for Stage 1, coarseTarget 0.00816 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00816 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00816 , remainingCGain 0.00816 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00816 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00816 findBestMatch: after flicker gainSelected 0.00816, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00816 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00816, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00816 GainSelected 0.00816, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 4, framerate 32.00000, requiredCain 0.00142 totalAchievedCGains 0.00142 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00816, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00142, DRE 1.00000 and Pre {0.00142, 0.00142} UdpateFrameData: AA 0.17361, ET 0.00816, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3531, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007900 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 33.510014 Return: peak confidence (6.885351) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007900 frame rate = 32.000000 currentSceneLux 1547.474, linearMetric .0.057613, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.791527 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 21.46% (23.79, 24.20), , , , , avgDCT 4.00, thsDCT 500.00 currentSceneLux 1547.474, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.063188 m_highlightGainApplied 0.001372 computeHighlightMeter: highlight signal 0.996104 m_highlightGainApplied 0.001372 # JR :: (mLux, hLux) (mGain, hGain) dre = (1909.361, 7524.891) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.09458 and NewCommonGains 0.00143 runBreakDownAlgorithm:TargetCGain 0.00143, 0.00143, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00143, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00143 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00143 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00821 CoarseSearch If: for Stage 1, coarseTarget 0.00821 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00821 IndexCoarseTaget 0 PWL requiredCGain 0.00143 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00143 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00821 , remainingCGain 0.00821 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00821 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00821 findBestMatch: after flicker gainSelected 0.00821, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00821 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00821, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00821, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00821 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00821 CoarseSearch If: for Stage 1, coarseTarget 0.00821 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00821 IndexCoarseTaget 0 PWL requiredCGain 0.00821 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00821 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00821 , remainingCGain 0.00821 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00821 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00821 findBestMatch: after flicker gainSelected 0.00821, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00821 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00821, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00821, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00821 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00821 CoarseSearch If: for Stage 1, coarseTarget 0.00821 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00821 IndexCoarseTaget 0 PWL requiredCGain 0.00821 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00821 , remainingCGain 0.00821 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00821 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00821 findBestMatch: after flicker gainSelected 0.00821, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00821 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00821, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00821, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00821 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00821 CoarseSearch If: for Stage 1, coarseTarget 0.00821 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00821 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00821 , remainingCGain 0.00821 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00821 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00821 findBestMatch: after flicker gainSelected 0.00821, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00821 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00821, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00821 GainSelected 0.00821, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 32.00000, requiredCain 0.00143 totalAchievedCGains 0.00143 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00821, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00143, DRE 1.00000 and Pre {0.00143, 0.00143} UdpateFrameData: AA 0.17361, ET 0.00821, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3521, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.007971 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 41.529747 Return: peak confidence (6.451665) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.007971 frame rate = 32.000000 currentSceneLux 1544.516, linearMetric .0.058015, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.595736 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 19.59% (23.60, 24.15), , , , , avgDCT 3.00, thsDCT 500.00 currentSceneLux 1544.516, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.063606 m_highlightGainApplied 0.001384 computeHighlightMeter: highlight signal 0.996473 m_highlightGainApplied 0.001384 # JR :: (mLux, hLux) (mGain, hGain) dre = (1905.054, 7461.249) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.08838 and NewCommonGains 0.00143 runBreakDownAlgorithm:TargetCGain 0.00143, 0.00143, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00143, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00143 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00143 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00826 CoarseSearch If: for Stage 1, coarseTarget 0.00826 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00826 IndexCoarseTaget 0 PWL requiredCGain 0.00143 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00143 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00826 , remainingCGain 0.00826 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00826 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00826 findBestMatch: after flicker gainSelected 0.00826, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00826 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00826, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00826, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00826 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00826 CoarseSearch If: for Stage 1, coarseTarget 0.00826 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00826 IndexCoarseTaget 0 PWL requiredCGain 0.00826 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00826 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00826 , remainingCGain 0.00826 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00826 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00826 findBestMatch: after flicker gainSelected 0.00826, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00826 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00826, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00826, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00826 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00826 CoarseSearch If: for Stage 1, coarseTarget 0.00826 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00826 IndexCoarseTaget 0 PWL requiredCGain 0.00826 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00826 , remainingCGain 0.00826 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00826 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00826 findBestMatch: after flicker gainSelected 0.00826, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00826 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00826, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00826, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00826 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00826 CoarseSearch If: for Stage 1, coarseTarget 0.00826 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00826 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00826 , remainingCGain 0.00826 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00826 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00826 findBestMatch: after flicker gainSelected 0.00826, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00826 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00826, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00826 GainSelected 0.00826, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 32.00000, requiredCain 0.00143 totalAchievedCGains 0.00143 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00826, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00143, DRE 1.00000 and Pre {0.00143, 0.00143} UdpateFrameData: AA 0.17361, ET 0.00826, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3513, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008036 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 28.585407 Return: peak confidence (5.141034) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008036 frame rate = 32.000000 currentSceneLux 1546.870, linearMetric .0.058582, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.384546 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 17.20% (23.38, 24.03), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1546.870, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.064061 m_highlightGainApplied 0.001395 computeHighlightMeter: highlight signal 0.996914 m_highlightGainApplied 0.001395 # JR :: (mLux, hLux) (mGain, hGain) dre = (1902.977, 7403.533) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.08111 and NewCommonGains 0.00144 runBreakDownAlgorithm:TargetCGain 0.00144, 0.00144, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00144, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00144 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00144 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00831 CoarseSearch If: for Stage 1, coarseTarget 0.00831 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00831 IndexCoarseTaget 0 PWL requiredCGain 0.00144 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00144 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00831 , remainingCGain 0.00831 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00831 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00831 findBestMatch: after flicker gainSelected 0.00831, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00831 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00831, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00831, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00831 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00831 CoarseSearch If: for Stage 1, coarseTarget 0.00831 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00831 IndexCoarseTaget 0 PWL requiredCGain 0.00831 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00831 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00831 , remainingCGain 0.00831 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00831 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00831 findBestMatch: after flicker gainSelected 0.00831, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00831 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00831, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00831, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00831 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00831 CoarseSearch If: for Stage 1, coarseTarget 0.00831 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00831 IndexCoarseTaget 0 PWL requiredCGain 0.00831 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00831 , remainingCGain 0.00831 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00831 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00831 findBestMatch: after flicker gainSelected 0.00831, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00831 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00831, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00831, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00831 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00831 CoarseSearch If: for Stage 1, coarseTarget 0.00831 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00831 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00831 , remainingCGain 0.00831 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00831 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00831 findBestMatch: after flicker gainSelected 0.00831, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00831 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00831, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00831 GainSelected 0.00831, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 32.00000, requiredCain 0.00144 totalAchievedCGains 0.00144 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00831, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00144, DRE 1.00000 and Pre {0.00144, 0.00144} UdpateFrameData: AA 0.17361, ET 0.00831, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3505, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008098 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 27.681498 Return: peak confidence (6.812223) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008098 frame rate = 32.000000 currentSceneLux 1545.006, linearMetric .0.058960, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.338419 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 15.07% (23.34, 23.79), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1545.006, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.064578 m_highlightGainApplied 0.001406 computeHighlightMeter: highlight signal 0.997276 m_highlightGainApplied 0.001406 # JR :: (mLux, hLux) (mGain, hGain) dre = (1903.743, 7349.901) (0.002, 0.002) 1.000 Damping: AeSpeed 0.10000 and AbsFStopDelta 0.07242 and NewCommonGains 0.00145 runBreakDownAlgorithm:TargetCGain 0.00145, 0.00145, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00145, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00145 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00145 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00835 CoarseSearch If: for Stage 1, coarseTarget 0.00835 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00835 IndexCoarseTaget 0 PWL requiredCGain 0.00145 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00145 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00835 , remainingCGain 0.00835 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00835 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00835 findBestMatch: after flicker gainSelected 0.00835, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00835 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00835, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00835, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00835 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00835 CoarseSearch If: for Stage 1, coarseTarget 0.00835 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00835 IndexCoarseTaget 0 PWL requiredCGain 0.00835 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00835 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00835 , remainingCGain 0.00835 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00835 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00835 findBestMatch: after flicker gainSelected 0.00835, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00835 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00835, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00835, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00835 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00835 CoarseSearch If: for Stage 1, coarseTarget 0.00835 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00835 IndexCoarseTaget 0 PWL requiredCGain 0.00835 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00835 , remainingCGain 0.00835 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00835 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00835 findBestMatch: after flicker gainSelected 0.00835, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00835 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00835, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00835, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00835 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00835 CoarseSearch If: for Stage 1, coarseTarget 0.00835 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00835 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00835 , remainingCGain 0.00835 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00835 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00835 findBestMatch: after flicker gainSelected 0.00835, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00835 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00835, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00835 GainSelected 0.00835, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 1, framerate 32.00000, requiredCain 0.00145 totalAchievedCGains 0.00145 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00835, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00145, DRE 1.00000 and Pre {0.00145, 0.00145} UdpateFrameData: AA 0.17361, ET 0.00835, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3497, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008155 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 23.503571 Return: peak confidence (5.317668) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008155 frame rate = 32.000000 currentSceneLux 1543.869, linearMetric .0.059332, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.214186 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 12.70% (23.21, 23.60), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1543.869, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.064757 m_highlightGainApplied 0.001416 computeHighlightMeter: highlight signal 0.997586 m_highlightGainApplied 0.001416 # JR :: (mLux, hLux) (mGain, hGain) dre = (1895.663, 7300.703) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3490, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008209 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 28.579105 Return: peak confidence (7.167047) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008209 frame rate = 32.000000 currentSceneLux 1543.085, linearMetric .0.059692, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.149456 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 10.66% (23.15, 23.38), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1543.085, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.065178 m_highlightGainApplied 0.001425 computeHighlightMeter: highlight signal 0.997718 m_highlightGainApplied 0.001425 # JR :: (mLux, hLux) (mGain, hGain) dre = (1895.535, 7253.967) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3483, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008259 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 26.865620 Return: peak confidence (9.187704) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008259 frame rate = 32.000000 currentSceneLux 1542.885, linearMetric .0.060051, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 23.039436 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 9.51% (23.04, 23.34), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 1542.885, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 256.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.065575 m_highlightGainApplied 0.001434 computeHighlightMeter: highlight signal 0.998046 m_highlightGainApplied 0.001434 # JR :: (mLux, hLux) (mGain, hGain) dre = (1895.432, 7212.029) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 256.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 256.00000, 0.00000} after update, Table {1.00000, 256.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 1388.88879 updateTotalCGainsTable: m_totalCGains[10] 5529.26465 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 8000.00000 updateTotalCGainsTable: m_totalCGains[10] 31848.56641 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 31848.56641}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 31848.56641} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3477, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008306 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 21.518396 Return: peak confidence (5.768587) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008306 frame rate = 32.000000 currentSceneLux 1543.361, linearMetric .0.060408, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.998049 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 8.29% (23.00, 23.21), , , , , avgDCT 4.50, thsDCT 500.00 currentSceneLux 1543.361, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.065851 m_highlightGainApplied 0.001442 computeHighlightMeter: highlight signal 0.998164 m_highlightGainApplied 0.001442 # JR :: (mLux, hLux) (mGain, hGain) dre = (1892.730, 7172.442) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3471, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008347 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 14.663323 Return: peak confidence (4.038831) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008347 frame rate = 32.000000 currentSceneLux 1540.334, linearMetric .0.060593, cameraEfficiency 0.151 cg highlight 0.001 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.894440 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 7.04% (22.89, 23.15), , , , , avgDCT 4.25, thsDCT 500.00 currentSceneLux 1540.334, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.066018 m_highlightGainApplied 0.001449 computeHighlightMeter: highlight signal 0.998346 m_highlightGainApplied 0.001449 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.026, 7137.838) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3465, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 227.506638 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.450000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1526.151, linearMetric .0.063077, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.626255 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 4.25% (22.63, 23.04), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 1526.151, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068454 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999207 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1863.260, 6799.432) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3460, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1848.762817 candidate freq = 120.000000 (idx = 1) response = 8.573035 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1526.475, linearMetric .0.063091, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.575182 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 3.56% (22.58, 23.00), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1526.475, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068484 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999146 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1864.074, 6799.014) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3456, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 13.669396 Return: peak confidence (5.540940) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1526.359, linearMetric .0.063086, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.569050 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 2.75% (22.57, 22.89), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1526.359, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068463 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999123 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1863.504, 6798.860) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3452, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1531.832031 candidate freq = 100.000000 (idx = 0) response = 8.431501 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1526.076, linearMetric .0.063074, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.691471 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 1.25% (22.57, 22.69), , , , , avgDCT 0.75, thsDCT 500.00 currentSceneLux 1526.076, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068495 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999142 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1864.396, 6798.989) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3445, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 9.241624 Return: peak confidence (3.895163) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1525.656, linearMetric .0.063057, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.676352 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 1.25% (22.57, 22.69), , , , , avgDCT 0.75, thsDCT 500.00 currentSceneLux 1525.656, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068517 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999279 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1864.992, 6799.921) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3440, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1479.010254 candidate freq = 100.000000 (idx = 0) response = 3.992661 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1525.199, linearMetric .0.063038, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.671404 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 1.25% (22.57, 22.69), , , , , avgDCT 1.00, thsDCT 500.00 currentSceneLux 1525.199, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068419 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999062 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1862.319, 6798.442) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3434, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 792.326965 candidate freq = 100.000000 (idx = 0) response = 7.005816 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1524.793, linearMetric .0.063021, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.716486 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 2.19% (22.67, 22.72), , , , , avgDCT 0.75, thsDCT 500.00 currentSceneLux 1524.793, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068442 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999122 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1862.935, 6798.855) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3430, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 792.326965 candidate freq = 100.000000 (idx = 0) response = 2.321272 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1524.520, linearMetric .0.063010, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.648689 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 2.02% (22.65, 22.72), , , , , avgDCT 1.00, thsDCT 500.00 currentSceneLux 1524.520, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068422 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999198 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1862.389, 6799.373) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3426, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3486.238525 candidate freq = 100.000000 (idx = 0) response = 4.179811 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1524.304, linearMetric .0.063001, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.648342 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 2.02% (22.65, 22.72), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1524.304, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068449 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.998993 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1863.122, 6797.977) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3423, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1162.079468 candidate freq = 100.000000 (idx = 0) response = 1.720970 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1524.287, linearMetric .0.063000, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.632107 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 1.90% (22.63, 22.72), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1524.287, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068542 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999041 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1865.663, 6798.301) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3420, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2060.050049 candidate freq = 100.000000 (idx = 0) response = 3.983167 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1524.826, linearMetric .0.063023, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.540970 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 0.73% (22.54, 22.65), , , , , avgDCT 1.00, thsDCT 500.00 currentSceneLux 1524.826, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068572 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999149 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1866.491, 6799.035) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3418, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 16.428728 Return: peak confidence (4.764564) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1525.875, linearMetric .0.063066, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.451992 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 0.07% (22.45, 22.65), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1525.875, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068581 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999165 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1866.735, 6799.146) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3415, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 23.284494 Return: peak confidence (5.379726) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1527.495, linearMetric .0.063133, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 22.197254 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 1.94% (22.20, 22.63), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1527.495, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068654 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999209 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1868.709, 6799.446) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3413, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 34.447769 Return: peak confidence (9.605448) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1529.565, linearMetric .0.063218, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.829222 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 5.33% (21.83, 22.54), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1529.565, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068746 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999222 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1871.230, 6799.534) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3411, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 35.398743 Return: peak confidence (9.107342) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1531.904, linearMetric .0.063315, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.484741 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 8.54% (21.48, 22.45), , , , , avgDCT 3.25, thsDCT 500.00 currentSceneLux 1531.904, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068816 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999352 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1873.121, 6800.415) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3409, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 25.498955 Return: peak confidence (6.791430) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1534.051, linearMetric .0.063404, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 21.120401 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 13.11% (21.12, 22.20), , , , , avgDCT 4.00, thsDCT 500.00 currentSceneLux 1534.051, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068929 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999392 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1876.195, 6800.691) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3407, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 31.628679 Return: peak confidence (9.097224) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1536.229, linearMetric .0.063494, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.807066 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 18.15% (20.81, 21.83), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1536.229, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.068990 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999411 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1877.854, 6800.818) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3406, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 30.064091 Return: candidate 0 (100.000000 Hz)'s score too low (highest Score = 0.100000, th = 0.800000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1538.157, linearMetric .0.063573, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.607929 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 22.17% (20.61, 21.48), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1538.157, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069100 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999463 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1880.868, 6801.172) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3404, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 316.930786 candidate freq = 100.000000 (idx = 0) response = 19.558485 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1540.058, linearMetric .0.063652, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.462234 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 25.94% (20.46, 21.12), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 1540.058, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069271 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999570 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.497, 6801.902) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3403, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 27.515545 Return: peak confidence (9.909303) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1541.849, linearMetric .0.063726, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.354445 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 29.05% (20.35, 20.81), , , , , avgDCT 3.00, thsDCT 500.00 currentSceneLux 1541.849, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069226 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999645 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1884.282, 6802.409) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3402, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 22.685942 Return: peak confidence (6.367577) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.317, linearMetric .0.063787, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.290413 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 31.00% (20.29, 20.61), , , , , avgDCT 5.50, thsDCT 500.00 currentSceneLux 1543.317, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069339 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999592 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.355, 6802.054) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3401, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 20.558458 Return: peak confidence (7.270235) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.266, linearMetric .0.063826, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.239758 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 32.45% (20.24, 20.46), , , , , avgDCT 8.00, thsDCT 500.00 currentSceneLux 1544.266, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069356 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999604 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.810, 6802.134) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3400, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 100.000000 (idx = 0) response = 6.513033 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.161, linearMetric .0.063863, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.234392 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 33.28% (20.23, 20.35), , , , , avgDCT 8.75, thsDCT 500.00 currentSceneLux 1545.161, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069340 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999651 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.394, 6802.456) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3399, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 10.415184 Return: peak confidence (3.173827) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.891, linearMetric .0.063893, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.252159 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 33.76% (20.23, 20.29), , , , , avgDCT 8.25, thsDCT 500.00 currentSceneLux 1545.891, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069442 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999666 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.161, 6802.557) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3399, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 12.075521 Return: peak confidence (5.804839) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1546.417, linearMetric .0.063915, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.192308 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.35% (20.19, 20.25), , , , , avgDCT 8.00, thsDCT 500.00 currentSceneLux 1546.417, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069465 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999713 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.803, 6802.876) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3399, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 18.960979 Return: peak confidence (6.275768) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1546.864, linearMetric .0.063933, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.217253 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.35% (20.19, 20.25), , , , , avgDCT 8.00, thsDCT 500.00 currentSceneLux 1546.864, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069360 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999698 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.940, 6802.769) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3398, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 10.252425 Return: peak confidence (5.234288) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.258, linearMetric .0.063950, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.150433 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.66% (20.15, 20.25), , , , , avgDCT 7.75, thsDCT 500.00 currentSceneLux 1547.258, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069365 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999600 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.058, 6802.104) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3398, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 845.148743 candidate freq = 120.000000 (idx = 1) response = 4.324317 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.342, linearMetric .0.063953, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.203735 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.92% (20.15, 20.22), , , , , avgDCT 7.25, thsDCT 500.00 currentSceneLux 1547.342, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069428 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999660 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1889.796, 6802.516) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3398, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 316.930786 candidate freq = 100.000000 (idx = 0) response = 3.582699 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.349, linearMetric .0.063953, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.202341 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.92% (20.15, 20.22), , , , , avgDCT 4.75, thsDCT 500.00 currentSceneLux 1547.349, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069440 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999693 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.100, 6802.739) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3397, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3063.664062 candidate freq = 100.000000 (idx = 0) response = 5.982169 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.473, linearMetric .0.063959, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.191471 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.02% (20.15, 20.20), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 1547.473, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069370 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999622 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.207, 6802.257) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3397, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 8.723485 Return: peak confidence (3.997575) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.497, linearMetric .0.063960, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.163740 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.92% (20.16, 20.20), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1547.497, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069408 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999744 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1889.228, 6803.086) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3396, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1320.544922 candidate freq = 100.000000 (idx = 0) response = 4.681369 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.515, linearMetric .0.063960, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.188406 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.93% (20.16, 20.20), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1547.515, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069438 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999679 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.052, 6802.642) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3395, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 7.234094 Return: peak confidence (3.104015) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.570, linearMetric .0.063963, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.168688 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.01% (20.16, 20.19), , , , , avgDCT 3.25, thsDCT 500.00 currentSceneLux 1547.570, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069530 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999711 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1892.561, 6802.859) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3395, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2535.446289 candidate freq = 120.000000 (idx = 1) response = 1.276103 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.662, linearMetric .0.063966, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.164576 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.03% (20.16, 20.19), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1547.662, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069417 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999608 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1889.483, 6802.161) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3394, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 11.879238 Return: peak confidence (4.899124) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.820, linearMetric .0.063973, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.122421 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.34% (20.12, 20.19), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1547.820, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069564 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999705 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1893.490, 6802.820) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3393, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2007.228271 candidate freq = 100.000000 (idx = 0) response = 3.724133 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.033, linearMetric .0.063982, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.122213 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.49% (20.12, 20.17), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1548.033, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069495 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999647 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1891.612, 6802.428) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3392, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3327.773193 candidate freq = 100.000000 (idx = 0) response = 2.733515 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.170, linearMetric .0.063987, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.173355 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.45% (20.12, 20.17), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1548.170, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069466 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999667 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.825, 6802.561) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3391, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 845.148743 candidate freq = 100.000000 (idx = 0) response = 4.112692 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.224, linearMetric .0.063990, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.203247 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.23% (20.12, 20.20), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1548.224, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069467 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999738 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.836, 6803.042) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3390, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1162.079468 candidate freq = 120.000000 (idx = 1) response = 1.429531 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.145, linearMetric .0.063986, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.152103 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.23% (20.12, 20.20), , , , , avgDCT 0.25, thsDCT 500.00 currentSceneLux 1548.145, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069538 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999723 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1892.784, 6802.945) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3390, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2746.733398 candidate freq = 100.000000 (idx = 0) response = 3.415869 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.083, linearMetric .0.063984, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.170359 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.01% (20.15, 20.20), , , , , avgDCT 0.50, thsDCT 500.00 currentSceneLux 1548.083, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069486 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999725 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1891.350, 6802.958) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2746.733398 candidate freq = 120.000000 (idx = 1) response = 9.071923 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.050, linearMetric .0.063982, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.129808 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.18% (20.13, 20.20), , , , , avgDCT 1.00, thsDCT 500.00 currentSceneLux 1548.050, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069537 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999691 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1892.762, 6802.724) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2958.020508 candidate freq = 120.000000 (idx = 1) response = 2.861959 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.086, linearMetric .0.063984, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.141026 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.42% (20.13, 20.17), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1548.086, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069464 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999704 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.769, 6802.810) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1954.406494 candidate freq = 120.000000 (idx = 1) response = 3.928700 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.138, linearMetric .0.063986, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.177885 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.36% (20.13, 20.18), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1548.138, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069515 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999682 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1892.154, 6802.666) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 3.582273 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.159, linearMetric .0.063987, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.167086 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.36% (20.13, 20.18), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1548.159, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069436 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999687 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.013, 6802.697) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 686.683350 candidate freq = 100.000000 (idx = 0) response = 3.596472 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1548.116, linearMetric .0.063985, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.150640 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.28% (20.14, 20.18), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1548.116, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069525 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999710 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1892.419, 6802.857) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3010.842285 candidate freq = 120.000000 (idx = 1) response = 3.751366 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.843, linearMetric .0.063974, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.130644 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.36% (20.13, 20.18), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1547.843, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069545 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999671 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1892.964, 6802.589) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1056.435913 candidate freq = 100.000000 (idx = 0) response = 6.243874 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.580, linearMetric .0.063963, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.199762 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.13, 20.20), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1547.580, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069499 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999716 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1891.706, 6802.893) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1320.544922 candidate freq = 100.000000 (idx = 0) response = 3.189218 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.278, linearMetric .0.063950, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.159142 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.13, 20.20), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1547.278, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069454 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999717 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.486, 6802.901) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2060.050049 candidate freq = 120.000000 (idx = 1) response = 2.633154 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1547.064, linearMetric .0.063942, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.182831 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.13, 20.20), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1547.064, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069400 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999687 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1889.021, 6802.699) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1637.475708 candidate freq = 100.000000 (idx = 0) response = 3.031917 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1546.663, linearMetric .0.063925, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.159002 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.99% (20.16, 20.20), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1546.663, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069440 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999678 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.110, 6802.634) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1426.188477 candidate freq = 120.000000 (idx = 1) response = 2.756206 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1546.423, linearMetric .0.063915, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.167572 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.11% (20.16, 20.18), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1546.423, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069449 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999699 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.359, 6802.779) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 422.574371 candidate freq = 120.000000 (idx = 1) response = 4.031325 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1546.195, linearMetric .0.063906, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.147366 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.15, 20.18), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1546.195, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069475 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999711 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1891.052, 6802.858) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1795.941040 candidate freq = 120.000000 (idx = 1) response = 5.094871 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1546.042, linearMetric .0.063899, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.182484 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.15, 20.18), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1546.042, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069425 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999695 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1889.704, 6802.753) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 686.683350 candidate freq = 100.000000 (idx = 0) response = 3.022302 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.879, linearMetric .0.063893, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.181021 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.15, 20.18), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1545.879, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069361 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999695 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.968, 6802.752) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2958.020508 candidate freq = 100.000000 (idx = 0) response = 2.159692 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.821, linearMetric .0.063890, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.178930 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.15, 20.18), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1545.821, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069454 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999743 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1890.496, 6803.079) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 739.505127 candidate freq = 100.000000 (idx = 0) response = 1.742585 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.710, linearMetric .0.063886, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.182901 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.96% (20.18, 20.18), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1545.710, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069391 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999726 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.786, 6802.961) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 100.000000 (idx = 0) response = 2.599161 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.659, linearMetric .0.063884, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.152452 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.16% (20.15, 20.18), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1545.659, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069425 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999729 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1889.691, 6802.980) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2958.020508 candidate freq = 120.000000 (idx = 1) response = 1.267429 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.565, linearMetric .0.063880, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.179626 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.16% (20.15, 20.18), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1545.565, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069407 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999779 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1889.199, 6803.325) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2218.515381 candidate freq = 100.000000 (idx = 0) response = 4.080616 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.385, linearMetric .0.063872, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.182901 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.16% (20.15, 20.18), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1545.385, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069404 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999649 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1889.138, 6802.439) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3386, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2060.050049 candidate freq = 100.000000 (idx = 0) response = 2.382542 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.268, linearMetric .0.063867, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.147993 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.19% (20.15, 20.18), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1545.268, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069353 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999699 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.754, 6802.780) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3386, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2271.337158 candidate freq = 120.000000 (idx = 1) response = 3.657652 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.226, linearMetric .0.063866, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.211887 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.98% (20.15, 20.21), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1545.226, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069331 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999710 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.152, 6802.854) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3386, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 686.683350 candidate freq = 100.000000 (idx = 0) response = 1.437294 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.170, linearMetric .0.063863, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.169941 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.98% (20.15, 20.21), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1545.170, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069399 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999700 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.990, 6802.784) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3386, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3010.842285 candidate freq = 120.000000 (idx = 1) response = 2.653206 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.084, linearMetric .0.063860, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.175306 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.98% (20.15, 20.21), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1545.084, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069387 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999658 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.672, 6802.502) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3386, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1848.762817 candidate freq = 120.000000 (idx = 1) response = 2.975226 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.036, linearMetric .0.063858, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.185410 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.82% (20.17, 20.21), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1545.036, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069323 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999658 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.924, 6802.500) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3386, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 897.970520 candidate freq = 100.000000 (idx = 0) response = 1.412205 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.994, linearMetric .0.063856, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.193005 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.95% (20.17, 20.19), , , , , avgDCT 0.75, thsDCT 500.00 currentSceneLux 1544.994, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069362 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999705 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.987, 6802.820) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3385, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2218.515381 candidate freq = 120.000000 (idx = 1) response = 2.205242 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.017, linearMetric .0.063857, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.148132 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.12% (20.15, 20.19), , , , , avgDCT 0.75, thsDCT 500.00 currentSceneLux 1545.017, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069363 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999699 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.008, 6802.777) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3386, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3327.773193 candidate freq = 120.000000 (idx = 1) response = 2.283238 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.990, linearMetric .0.063856, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.163950 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.12% (20.15, 20.19), , , , , avgDCT 0.50, thsDCT 500.00 currentSceneLux 1544.990, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069380 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999743 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.463, 6803.082) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3386, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2165.693604 candidate freq = 120.000000 (idx = 1) response = 1.537986 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.899, linearMetric .0.063852, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.181438 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.12% (20.15, 20.19), , , , , avgDCT 0.00, thsDCT 500.00 currentSceneLux 1544.899, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069324 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999648 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.952, 6802.433) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 633.861572 candidate freq = 100.000000 (idx = 0) response = 3.220735 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.017, linearMetric .0.063857, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.159838 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.15, 20.18), , , , , avgDCT 0.00, thsDCT 500.00 currentSceneLux 1545.017, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069392 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999667 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.791, 6802.562) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3327.773193 candidate freq = 100.000000 (idx = 0) response = 1.392759 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.088, linearMetric .0.063860, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.160744 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.11% (20.16, 20.18), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1545.088, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069364 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999662 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.053, 6802.526) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1690.297485 candidate freq = 100.000000 (idx = 0) response = 2.247110 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1545.012, linearMetric .0.063857, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.167711 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.11% (20.16, 20.18), , , , , avgDCT 3.00, thsDCT 500.00 currentSceneLux 1545.012, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069382 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999688 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.539, 6802.702) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2958.020508 candidate freq = 120.000000 (idx = 1) response = 4.300165 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.901, linearMetric .0.063852, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.134893 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.40% (20.13, 20.17), , , , , avgDCT 3.75, thsDCT 500.00 currentSceneLux 1544.901, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069388 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999645 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.685, 6802.413) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2958.020508 candidate freq = 120.000000 (idx = 1) response = 3.551017 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.706, linearMetric .0.063844, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.195303 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.13, 20.20), , , , , avgDCT 4.00, thsDCT 500.00 currentSceneLux 1544.706, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069340 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999648 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.397, 6802.432) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 2.777161 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.478, linearMetric .0.063835, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.173843 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.13, 20.20), , , , , avgDCT 3.25, thsDCT 500.00 currentSceneLux 1544.478, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069371 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999701 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.237, 6802.796) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 897.970520 candidate freq = 100.000000 (idx = 0) response = 0.864175 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.416, linearMetric .0.063832, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.180672 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.20% (20.13, 20.20), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1544.416, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069345 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999685 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.524, 6802.683) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1637.475708 candidate freq = 100.000000 (idx = 0) response = 1.412276 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.326, linearMetric .0.063828, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.169455 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.94% (20.17, 20.20), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1544.326, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069346 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999630 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.544, 6802.311) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 1.000000 Return: peak confidence (0.192450) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.201, linearMetric .0.063823, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.180950 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.05% (20.17, 20.18), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1544.201, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069240 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999679 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1884.655, 6802.646) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2218.515381 candidate freq = 120.000000 (idx = 1) response = 0.849204 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.069, linearMetric .0.063818, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.128136 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.35% (20.13, 20.18), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1544.069, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069337 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999683 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.316, 6802.671) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2218.515381 candidate freq = 120.000000 (idx = 1) response = 2.232547 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.912, linearMetric .0.063811, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.203735 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.18% (20.13, 20.20), , , , , avgDCT 1.00, thsDCT 500.00 currentSceneLux 1543.912, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069324 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999695 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.951, 6802.753) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1795.941040 candidate freq = 100.000000 (idx = 0) response = 2.249629 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.879, linearMetric .0.063810, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.198856 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.18% (20.13, 20.20), , , , , avgDCT 1.00, thsDCT 500.00 currentSceneLux 1543.879, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069286 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999680 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.913, 6802.652) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 422.574371 candidate freq = 100.000000 (idx = 0) response = 2.099315 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.001, linearMetric .0.063815, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.197882 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.18% (20.13, 20.20), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1544.001, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069304 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999639 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.402, 6802.371) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 3.666124 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.038, linearMetric .0.063817, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.175377 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.84% (20.18, 20.20), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1544.038, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069307 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999665 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.491, 6802.549) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 3.374926 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.085, linearMetric .0.063819, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.172171 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.89% (20.17, 20.20), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1544.085, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069293 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999685 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.104, 6802.684) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2324.158936 candidate freq = 120.000000 (idx = 1) response = 2.107256 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.935, linearMetric .0.063812, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.211678 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.80% (20.17, 20.21), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1543.935, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069388 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999676 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.701, 6802.620) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1003.614136 candidate freq = 100.000000 (idx = 0) response = 3.265332 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.920, linearMetric .0.063812, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.173983 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.80% (20.17, 20.21), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1543.920, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069281 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999721 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.771, 6802.932) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3389, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2588.268066 candidate freq = 100.000000 (idx = 0) response = 3.888544 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.945, linearMetric .0.063813, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.176422 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.80% (20.17, 20.21), , , , , avgDCT 0.75, thsDCT 500.00 currentSceneLux 1543.945, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069341 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999699 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.403, 6802.776) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2693.911621 candidate freq = 100.000000 (idx = 0) response = 1.630284 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.124, linearMetric .0.063820, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.223661 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.70% (20.17, 20.22), , , , , avgDCT 0.75, thsDCT 500.00 currentSceneLux 1544.124, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069321 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999627 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.870, 6802.288) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 475.396179 candidate freq = 100.000000 (idx = 0) response = 4.227057 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.153, linearMetric .0.063821, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.167015 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.75% (20.17, 20.22), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1544.153, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069306 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999649 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.453, 6802.441) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 100.000000 (idx = 0) response = 2.202284 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.230, linearMetric .0.063825, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.170219 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.75% (20.17, 20.22), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1544.230, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069358 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999677 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.877, 6802.633) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 581.039734 candidate freq = 120.000000 (idx = 1) response = 3.077360 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.249, linearMetric .0.063825, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.143326 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.92% (20.14, 20.22), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1544.249, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069327 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999667 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.020, 6802.561) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3116.486084 candidate freq = 100.000000 (idx = 0) response = 1.030689 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.272, linearMetric .0.063826, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.199484 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.10% (20.14, 20.20), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1544.272, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069328 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999722 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.057, 6802.938) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3169.307861 candidate freq = 100.000000 (idx = 0) response = 2.651198 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.369, linearMetric .0.063830, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.196697 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.10% (20.14, 20.20), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1544.369, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069308 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999661 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.514, 6802.518) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1795.941040 candidate freq = 100.000000 (idx = 0) response = 2.586080 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.469, linearMetric .0.063834, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.177467 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.10% (20.14, 20.20), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1544.469, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069398 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999690 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.966, 6802.715) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 845.148743 candidate freq = 100.000000 (idx = 0) response = 4.848238 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.622, linearMetric .0.063841, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.209797 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.77% (20.18, 20.21), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1544.622, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069400 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999669 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1889.017, 6802.578) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 845.148743 candidate freq = 120.000000 (idx = 1) response = 2.494622 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.707, linearMetric .0.063844, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.181021 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.77% (20.18, 20.21), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1544.707, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069388 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999725 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.691, 6802.957) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2958.020508 candidate freq = 120.000000 (idx = 1) response = 3.059013 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.717, linearMetric .0.063845, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.219063 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.71% (20.18, 20.22), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1544.717, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069379 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999699 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.448, 6802.782) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3380.594971 candidate freq = 120.000000 (idx = 1) response = 2.218119 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.721, linearMetric .0.063845, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.139912 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.98% (20.14, 20.22), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1544.721, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069398 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999719 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.961, 6802.912) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 3.193104 Return: peak confidence (0.691011) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.647, linearMetric .0.063842, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.173355 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.98% (20.14, 20.22), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1544.647, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069311 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999667 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.595, 6802.564) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1795.941040 candidate freq = 100.000000 (idx = 0) response = 7.098674 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.636, linearMetric .0.063841, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.164785 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.98% (20.14, 20.22), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 1544.636, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069322 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999713 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.898, 6802.875) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3433.416748 candidate freq = 120.000000 (idx = 1) response = 2.183780 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.584, linearMetric .0.063839, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.211399 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.04% (20.14, 20.21), , , , , avgDCT 3.25, thsDCT 500.00 currentSceneLux 1544.584, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069388 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999696 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.702, 6802.756) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1848.762817 candidate freq = 100.000000 (idx = 0) response = 1.584754 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.450, linearMetric .0.063834, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.151129 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.96% (20.15, 20.21), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1544.450, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069311 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999707 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.596, 6802.832) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2060.050049 candidate freq = 100.000000 (idx = 0) response = 2.303148 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.304, linearMetric .0.063828, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.188614 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.96% (20.15, 20.21), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1544.304, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069338 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999685 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.337, 6802.682) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1003.614136 candidate freq = 120.000000 (idx = 1) response = 2.800948 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.231, linearMetric .0.063825, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.152384 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.96% (20.15, 20.21), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 1544.231, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069299 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999718 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.264, 6802.906) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2535.446289 candidate freq = 100.000000 (idx = 0) response = 3.482045 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.146, linearMetric .0.063821, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.204710 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.01% (20.15, 20.20), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1544.146, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069368 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999673 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.146, 6802.603) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1426.188477 candidate freq = 100.000000 (idx = 0) response = 4.540271 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.117, linearMetric .0.063820, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.160883 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.00% (20.15, 20.20), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1544.117, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069307 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999693 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.480, 6802.738) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1531.832031 candidate freq = 100.000000 (idx = 0) response = 2.013082 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.034, linearMetric .0.063816, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.178860 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 35.00% (20.15, 20.20), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1544.034, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069318 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999704 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.796, 6802.811) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2693.911621 candidate freq = 120.000000 (idx = 1) response = 1.498265 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1544.038, linearMetric .0.063817, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.208403 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.91% (20.16, 20.21), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1544.038, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069295 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999713 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.153, 6802.875) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3063.664062 candidate freq = 120.000000 (idx = 1) response = 3.352866 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.943, linearMetric .0.063813, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.191332 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.91% (20.16, 20.21), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1543.943, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069347 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999668 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.588, 6802.566) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 100.000000 (idx = 0) response = 3.361121 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.890, linearMetric .0.063810, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.202202 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.77% (20.18, 20.21), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1543.890, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069358 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999651 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.880, 6802.456) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2588.268066 candidate freq = 120.000000 (idx = 1) response = 2.451090 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.927, linearMetric .0.063812, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.173634 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.81% (20.17, 20.21), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1543.927, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069304 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999674 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.410, 6802.612) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2746.733398 candidate freq = 120.000000 (idx = 1) response = 2.338360 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.863, linearMetric .0.063809, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.192726 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.86% (20.17, 20.20), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1543.863, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069358 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999662 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.874, 6802.526) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 6.134477 Return: peak confidence (2.677054) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.761, linearMetric .0.063805, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.182552 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.86% (20.17, 20.20), , , , , avgDCT 1.00, thsDCT 500.00 currentSceneLux 1543.761, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069299 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999617 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.274, 6802.219) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2958.020508 candidate freq = 120.000000 (idx = 1) response = 3.021554 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.660, linearMetric .0.063801, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.186245 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.93% (20.17, 20.19), , , , , avgDCT 1.00, thsDCT 500.00 currentSceneLux 1543.660, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069300 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999643 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.287, 6802.398) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2905.198730 candidate freq = 100.000000 (idx = 0) response = 3.659826 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.630, linearMetric .0.063800, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.205894 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.77% (20.18, 20.21), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1543.630, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069287 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999658 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.951, 6802.499) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1848.762817 candidate freq = 100.000000 (idx = 0) response = 5.310143 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.610, linearMetric .0.063799, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.174679 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.82% (20.17, 20.21), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1543.610, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069307 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999740 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.490, 6803.059) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 581.039734 candidate freq = 100.000000 (idx = 0) response = 1.863154 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.705, linearMetric .0.063803, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.186525 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.82% (20.17, 20.21), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1543.705, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069291 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999701 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.052, 6802.794) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3063.664062 candidate freq = 120.000000 (idx = 1) response = 4.593614 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.719, linearMetric .0.063803, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.188128 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.82% (20.17, 20.21), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1543.719, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069333 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999677 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.192, 6802.628) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2165.693604 candidate freq = 100.000000 (idx = 0) response = 1.811781 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.711, linearMetric .0.063803, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.194677 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.91% (20.17, 20.19), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1543.711, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069354 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999631 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.777, 6802.319) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 369.752563 candidate freq = 120.000000 (idx = 1) response = 2.331202 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.655, linearMetric .0.063801, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.198578 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.79% (20.19, 20.20), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1543.655, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069272 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999676 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.542, 6802.621) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1531.832031 candidate freq = 120.000000 (idx = 1) response = 3.082637 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.666, linearMetric .0.063801, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.186176 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.79% (20.19, 20.20), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1543.666, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069275 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999708 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.620, 6802.841) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1848.762817 candidate freq = 100.000000 (idx = 0) response = 2.913735 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.565, linearMetric .0.063797, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.216833 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.66% (20.19, 20.22), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1543.565, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069358 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999678 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.885, 6802.634) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2535.446289 candidate freq = 100.000000 (idx = 0) response = 2.501552 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.587, linearMetric .0.063798, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.234531 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.53% (20.19, 20.23), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1543.587, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069318 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999702 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.778, 6802.799) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 845.148743 candidate freq = 100.000000 (idx = 0) response = 3.919540 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.573, linearMetric .0.063797, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.218994 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.53% (20.19, 20.23), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1543.573, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069286 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999698 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.929, 6802.772) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2165.693604 candidate freq = 120.000000 (idx = 1) response = 4.929513 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.522, linearMetric .0.063795, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.192308 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.48% (20.19, 20.23), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1543.522, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069327 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999681 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.043, 6802.660) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 3486.238525 candidate freq = 100.000000 (idx = 0) response = 3.413972 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.530, linearMetric .0.063796, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.219830 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.48% (20.19, 20.23), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1543.530, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069250 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999682 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1884.938, 6802.664) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2112.871826 candidate freq = 100.000000 (idx = 0) response = 3.486812 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.570, linearMetric .0.063797, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.191402 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.60% (20.19, 20.22), , , , , avgDCT 1.25, thsDCT 500.00 currentSceneLux 1543.570, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069342 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999715 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.434, 6802.891) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1003.614136 candidate freq = 100.000000 (idx = 0) response = 0.956903 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.626, linearMetric .0.063800, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.194328 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.60% (20.19, 20.22), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1543.626, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069329 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999651 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.077, 6802.456) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 120.000000 (idx = 1) response = 1.202964 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.612, linearMetric .0.063799, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.165970 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.79% (20.17, 20.22), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1543.612, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069299 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999648 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.282, 6802.430) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3387, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2905.198730 candidate freq = 100.000000 (idx = 0) response = 1.821837 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.626, linearMetric .0.063800, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.242962 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.61% (20.17, 20.24), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1543.626, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069335 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999684 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.249, 6802.679) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1479.010254 candidate freq = 100.000000 (idx = 0) response = 3.491947 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.658, linearMetric .0.063801, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.193701 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.61% (20.17, 20.24), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1543.658, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069313 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999714 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.641, 6802.879) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 316.930786 candidate freq = 120.000000 (idx = 1) response = 3.025881 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.671, linearMetric .0.063801, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.209866 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.61% (20.17, 20.24), , , , , avgDCT 1.75, thsDCT 500.00 currentSceneLux 1543.671, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069278 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999647 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.692, 6802.428) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1954.406494 candidate freq = 120.000000 (idx = 1) response = 4.039201 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.778, linearMetric .0.063806, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.195862 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.41% (20.19, 20.24), , , , , avgDCT 1.50, thsDCT 500.00 currentSceneLux 1543.778, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069327 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999705 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.042, 6802.820) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 100.000000 candidate freq = 100.000000 (idx = 0) response = 5.380113 Return: peak confidence (2.307907) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.685, linearMetric .0.063802, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.174610 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.80% (20.17, 20.21), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1543.685, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069302 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999642 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.355, 6802.390) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 475.396179 candidate freq = 120.000000 (idx = 1) response = 3.620675 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.650, linearMetric .0.063801, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.172520 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.81% (20.17, 20.21), , , , , avgDCT 3.00, thsDCT 500.00 currentSceneLux 1543.650, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069267 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999610 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.402, 6802.176) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1584.653931 candidate freq = 120.000000 (idx = 1) response = 2.285256 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.580, linearMetric .0.063798, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.225891 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.69% (20.17, 20.23), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 1543.580, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069297 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999659 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.221, 6802.505) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1267.723145 candidate freq = 120.000000 (idx = 1) response = 2.420532 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.580, linearMetric .0.063798, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.185480 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.69% (20.17, 20.23), , , , , avgDCT 3.50, thsDCT 500.00 currentSceneLux 1543.580, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069255 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999674 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1885.068, 6802.606) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 2.019323 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.679, linearMetric .0.063802, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.202759 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.69% (20.17, 20.23), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 1543.679, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069346 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999737 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.537, 6803.041) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1214.901367 candidate freq = 120.000000 (idx = 1) response = 3.590957 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.686, linearMetric .0.063802, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.222198 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.60% (20.19, 20.23), , , , , avgDCT 2.75, thsDCT 500.00 currentSceneLux 1543.686, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069366 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999595 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1888.106, 6802.075) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 120.000000 candidate freq = 120.000000 (idx = 1) response = 3.191427 Return: peak confidence (0.626675) < th (10.000000) After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.682, linearMetric .0.063802, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.184574 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.63% (20.18, 20.22), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1543.682, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069318 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999730 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.775, 6802.991) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 264.108978 candidate freq = 100.000000 (idx = 0) response = 1.984396 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.640, linearMetric .0.063800, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.204710 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.63% (20.18, 20.22), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1543.640, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069305 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999695 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.430, 6802.751) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2429.802734 candidate freq = 100.000000 (idx = 0) response = 3.423374 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.551, linearMetric .0.063796, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.174679 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.70% (20.17, 20.22), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1543.551, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069311 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999646 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.588, 6802.421) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 633.861572 candidate freq = 100.000000 (idx = 0) response = 1.407450 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.554, linearMetric .0.063797, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.219830 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.72% (20.17, 20.22), , , , , avgDCT 2.25, thsDCT 500.00 currentSceneLux 1543.554, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069311 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999614 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1886.611, 6802.202) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 1954.406494 candidate freq = 100.000000 (idx = 0) response = 1.150826 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.682, linearMetric .0.063802, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.174540 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.72% (20.17, 20.22), , , , , avgDCT 2.50, thsDCT 500.00 currentSceneLux 1543.682, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069360 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999723 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.920, 6802.945) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 475.396179 candidate freq = 120.000000 (idx = 1) response = 3.664107 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.738, linearMetric .0.063804, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.221292 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.71% (20.17, 20.22), , , , , avgDCT 2.00, thsDCT 500.00 currentSceneLux 1543.738, AE_DEBUG_MAIN: GetRunningInfo ET Range {0.00003, 0.66000} GainRane {1.00000, 3981.07080}, CurrentFrameRate 32.000, FrameRateRange{1.50000, 32.00000}, ReadOutTime 0.019 PclDynData Aperture step 0 SyncSensorAgent: ET limits {0.00003, 0.66000} stepGranularity 0.00000 SyncSensorAgent: AG limits {1.00000, 3981.07080} stepGranularity 0.00000 SyncSensorAgent: ISPDG limits {1.00000, 256.00000} stepGranularity 0.00000 ApertureGainLimits {0.174, 0.174} ReadControl: FrameRateRange {32.00000, 32.00000} and ET after clamp {0.00003, 0.03125}, ET -1.00000 ReadControl: analog GainLimits {1.00000, 3981.07080} and SensorAnalogGain {-1.00000} IspDigitalGainRange limits {1.00000, 1.00000} ReadControl: AeMode 2 user aperture f-Number{-1.000}, apertureStep -1 ExposureComp 1.000 FocusSupportAfTrigger is 0 computeMidtoneMeter: midtone signal 0.069340 m_highlightGainApplied 0.001523 computeHighlightMeter: highlight signal 0.999624 m_highlightGainApplied 0.001523 # JR :: (mLux, hLux) (mGain, hGain) dre = (1887.378, 6802.272) (0.002, 0.002) 1.000 runBreakDownAlgorithm:TargetCGain 0.00152, 0.00152, DRE 1.00000 +++ updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} ++ applyLimitsOnCoarseTable limits {0.17361, 0.17361} table min, max {0.17361, 0.17361}, numOfEntries 11 applyLimitsOnGainStageInternal: table min, max {0.17361, 0.17361}, m_apertureLUT{0.17361, 0.17361} updateGainStageLimits: stage 0 params limits {0.17361, 0.17361, 1.00000} after update, Table {0.17361, 0.17361}--- updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} ++ applyLimitsOnCoarseTable limits {0.00003, 0.03125} table min, max {0.03333, 0.08333}, numOfEntries 11 updateGainStageLimits: stage 1 params limits {0.00003, 0.03125, 0.00000} after update, Table {0.00003, 0.03125}--- updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 3981.07080} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 2 params limits {1.00000, 3981.07080, 0.00000} after update, Table {1.00000, 3981.07080}--- updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} ++ applyLimitsOnCoarseTable limits {1.00000, 1.00000} table min, max {1.00000, 1000.00000}, numOfEntries 11 updateGainStageLimits: stage 3 params limits {1.00000, 1.00000, 0.00000} after update, Table {1.00000, 1.00000}--- runBreakDownAlgorithm: pass 0 requiredCGain 0.00152, m_isStageLocked[0] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00000 updateTotalCGainsTable: m_totalCGains[1] 0.00543 updateTotalCGainsTable: m_totalCGains[2] 0.00807 updateTotalCGainsTable: m_totalCGains[3] 0.01198 updateTotalCGainsTable: m_totalCGains[4] 0.01780 updateTotalCGainsTable: m_totalCGains[5] 0.02646 updateTotalCGainsTable: m_totalCGains[6] 0.03931 updateTotalCGainsTable: m_totalCGains[7] 0.05842 updateTotalCGainsTable: m_totalCGains[8] 5.42535 updateTotalCGainsTable: m_totalCGains[9] 5.42535 updateTotalCGainsTable: m_totalCGains[10] 21.59869 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.17361 CoarseSearch If: for Stage 0, coarseTarget 0.17361 IndexCoarseTaget 0, low point 0.17361, high 0.17361 CoarseSearch: stageType 0, coarseTarget 0.17361 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00152 PWL for_loop:n 0 and point 0.00000, PWL for_loop:n 1 and point 0.00543, PWL: n is 1 PWL: else:point 0.00543, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findPossibleApertureGains: coarsetable lowerPoint 0.17361 higherPoint 0.17361, index 0, IndexFromLUT 0, numOfEntries 48 , lut {2.40000, 2.40000} binarySearch ++ indexMin 0: indexMax 0, table min, max {0.17361, 0.17361}, target 0.17361 binarySearch indexMid 0 binarySearch : indexMin 0 indexMax 0 table table[indexMin] 0.17361, table[indexMax] 0.17361 binarySearch --: indexMin: closest matched is found 0 and value 0.17361 limitApertureMovement :firstEntry 0, lastEntry 47 allowedAAStepRange {0, 0}, step 0, motorSpeed 0, allowedSettleTime 0.03125 findBestMatch : gain 0.17361, fNumber 2.40000, Step 0 runBreakDownAlgorithm: stage 0 coarseTarget 0.17361 points {0.17361, 0.17361}, IndexCoarseTaget 0, bestMatch 0.17361, ErrorInGain 0.00000 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 0 coarseTarget 0.17361 GainSelected 0.17361, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 3, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 3, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 3 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 3 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.04647 updateTotalCGainsTable: m_totalCGains[3] 0.06898 updateTotalCGainsTable: m_totalCGains[4] 0.10255 updateTotalCGainsTable: m_totalCGains[5] 0.15239 updateTotalCGainsTable: m_totalCGains[6] 0.22641 updateTotalCGainsTable: m_totalCGains[7] 0.33648 updateTotalCGainsTable: m_totalCGains[8] 31.25000 updateTotalCGainsTable: m_totalCGains[9] 31.25000 updateTotalCGainsTable: m_totalCGains[10] 124.40846 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 1.00000 CoarseSearch If: for Stage 2, coarseTarget 1.00000 IndexCoarseTaget 0, low point 1.00000, high 1.00000 CoarseSearch: stageType 2, coarseTarget 1.00000 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 124.40846}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 124.40846} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: stage 2 coarseTarget 1.00000 points {1.00000, 1.00000}, IndexCoarseTaget 0, bestMatch 1.00000, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 2 coarseTarget 1.00000 GainSelected 1.00000, worstError 0.00000 runBreakDownAlgorithm: pass 1 requiredCGain 0.00877, m_isStageLocked[1] 0 +++, updateTotalCGainsTable: m_totalCGains[0] 0.00003 updateTotalCGainsTable: m_totalCGains[1] 0.03125 updateTotalCGainsTable: m_totalCGains[2] 0.03125 updateTotalCGainsTable: m_totalCGains[3] 0.03125 updateTotalCGainsTable: m_totalCGains[4] 0.03125 updateTotalCGainsTable: m_totalCGains[5] 0.03125 updateTotalCGainsTable: m_totalCGains[6] 0.03125 updateTotalCGainsTable: m_totalCGains[7] 0.03125 updateTotalCGainsTable: m_totalCGains[8] 0.03125 updateTotalCGainsTable: m_totalCGains[9] 0.03125 updateTotalCGainsTable: m_totalCGains[10] 0.03125 PWL requiredCGain 0.00877 PWL for_loop:n 0 and point 0.00003, PWL for_loop:n 1 and point 0.03125, PWL: n is 1 PWL: else:point 0.03125, Value 0.00877 CoarseSearch If: for Stage 1, coarseTarget 0.00877 IndexCoarseTaget 0, low point 0.00003, high 0.03125 CoarseSearch: stageType 1, coarseTarget 0.00877 IndexCoarseTaget 0 findBestMatch: before flicker gainSelected 0.00877 , remainingCGain 0.00877 and slimits {0.00003, 0.03125}+++ flickerCorrection: remainingCGain 0.00877 and remainingCGainLimits {0.00003, 0.03125} CorrectionRangeMultiplier 1.00000 flickerCorrection: required, MaxExposure 0.03000 and adjustedAEStep 0.01000, ET GainSelected 0.00877 findBestMatch: after flicker gainSelected 0.00877, error 0.00000 --- runBreakDownAlgorithm: stage 1 coarseTarget 0.00877 points {0.00003, 0.03125}, IndexCoarseTaget 0, bestMatch 0.00877, ErrorInGain 0.00000 runBreakDownAlgorithm: worstStageId 1 coarseTarget 0.00877 GainSelected 0.00877, worstError 0.00000 updateNumSkipFrame: No change runBreakDownAlgorithm output ---: convergenceStatus: 2, framerate 32.00000, requiredCain 0.00152 totalAchievedCGains 0.00152 with AA 0.17361 {step 0, f-Number 2.40000}, ET 0.00877, AG 1.00000, ISPDG 1.00000 updateAeStatus: totalAchievedCGains 0.00152, DRE 1.00000 and Pre {0.00152, 0.00152} UdpateFrameData: AA 0.17361, ET 0.00877, AG 1.00000, FrameRate 32.00000 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: last odm pos 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) CAF: NvCamAf status = Inactive, mode = 1 CAF: AF Focus Position 0 CAF: alg converge = Searching, timer off, caf.state = Power_Up, caf.cur.state = Power_Up, sweepdone:(0, 0, 0) FM config layout, startX = 0, startY = 0, numX = 64, numY = 64 FM config layout, wWidth = 32, wHeight = 32, wHInterval = 60, wVInterval = 34 AWB: No ROI used. Let's use the whole area. MLS: idl[0]-127, cct 3388, idH[0]-127, t 0.000000 NvIspAeGetEVTableIndex: pGainThresholds[0] = 0.500000 NvIspAeGetEVTableIndex: pGainThresholds[1] = 1.000000 NvIspAeGetEVTableIndex: pGainThresholds[2] = 2.000000 NvIspAeGetEVTableIndex: pGainThresholds[3] = 4.000000 NvIspAeGetEVTableIndex: pGainThresholds[4] = 8.000000 NvIspAeGetEVTableIndex: pGainThresholds[5] = 16.000000 NvIspAeGetEVTableIndex: pGainThresholds[6] = 32.000000 NvIspAeGetEVTableIndex: log2(GainThresholds) = {-1.000000, 0.000000, 1.000000, 2.000000, 3.000000, 4.000000, 5.000000} NvIspAeGetEVTableIndex: Gain = 1.000000, log2(Gain) = 0.000000 NvIspAeGetEVTableIndex: log2(GainThresholds[1]) = 0.000000 (0.000000) Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 211.287186 candidate freq = 120.000000 (idx = 1) response = 1.281142 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.797, linearMetric .0.063807, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.188755 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.71% (20.17, 20.22), , , , , avgDCT 2.00, thsDCT 500.00 Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 686.683350 candidate freq = 120.000000 (idx = 1) response = 1.949453 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.691, linearMetric .0.063802, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.209726 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.71% (20.17, 20.22), , , , , avgDCT 1.75, thsDCT 500.00 Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2746.733398 candidate freq = 100.000000 (idx = 0) response = 3.040925 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.630, linearMetric .0.063800, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.191750 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.61% (20.19, 20.22), , , , , avgDCT 2.00, thsDCT 500.00 Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2746.733398 candidate freq = 120.000000 (idx = 1) response = 5.621799 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.551, linearMetric .0.063796, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.198021 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.69% (20.19, 20.21), , , , , avgDCT 2.00, thsDCT 500.00 Before detection: state = 2 flicker period = 0.010000 exposure time = 0.008770 frame rate = 32.000000 Dominant freq = 2746.733398 candidate freq = 100.000000 (idx = 0) response = 1.979036 Return: no candidate frequency matched After detection: state = 2 flicker freq = 100.000000 exposure time = 0.008770 frame rate = 32.000000 currentSceneLux 1543.634, linearMetric .0.063800, cameraEfficiency 0.151 cg highlight 0.002 CAF: sensor ROI [0, 0, 0, 0], focus ROI [240, 136, 400, 232] CAF: CAFGetCurrentStats: pos 0 sharpness 20.169733 ROI [240 400 136 232] TS: 0: motion status: movementValid:0, angleValid:0, isMoving: 0, angle:0.000000 (deg) CAF:...... SCENE_IDLE, Sharp peak 22.55, diff 34.83% (20.17, 20.21), , , , , avgDCT 1.75, thsDCT 500.00 MLS:+De-init === argus_camera[4730]: CameraProvider destroyed (0x7f7493a950)=== argus_camera[4730]: Connection closed (7F7B4701C0)=== argus_camera[4730]: Connection cleaned up (7F7B4701C0)