MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / reset

Method reset

sources/base/DetectionAutomatic.cpp:138–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void DetectionAutomatic::calibration::reset()
139{
140 isSuccess = false;
141 isRunning = false;
142
143 sdrStat = 0;
144 hdrStat = 0;
145
146 backupHDR = 0;
147 decimationFPS = 0;
148 phaseStartTime = InternalClock::now() + 200;
149 phaseEndTime = InternalClock::now() + 5000 + 200;
150 endTime = InternalClock::now() + 60 * 1000;
151 currentSDRframe = 0;
152 currentHDRframe = 0;
153 signature = "";
154 width = -1;
155 height = -1;
156 tolerance = 0;
157 model = 0;
158 quality = 0;
159 status = "Waiting for the first SDR frame";
160
161 currentPhase = calibrationPhase::WAITING_FOR_SDR;
162
163 sdrPoint.clear();
164 hdrPoint.clear();
165};
166
167DetectionAutomatic::calibrationPoint::calibrationPoint(int _x, int _y)
168{

Callers 2

startCalibrationMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected