Changeset 13756
- Timestamp:
- 05/16/12 10:35:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ratecontrol.cc
r13752 r13756 157 157 DimClient::sendCommandNB("FTM_CONTROL/SET_THRESHOLD", (void*)val, 8); 158 158 159 fBlock[idx ] = true;159 fBlock[idx/4] = true; 160 160 } 161 161 … … 218 218 } 219 219 220 if (fBlock[i]) 221 { 222 fBlock[i] = false; 223 continue; 224 } 225 220 226 for (int j=0; j<4; j++) 221 227 { 222 if (fBlock[i*4+j])223 {224 fBlock[i*4+j] = false;225 continue;226 }227 228 228 // For the noise pixel correct down to median+3*deviation 229 229 if (maxi==j) … … 549 549 public: 550 550 StateMachineRateControl(ostream &out=cout) : StateMachineDim(out, "RATE_CONTROL"), 551 fTriggerOn(false), fBlock( 160),551 fTriggerOn(false), fBlock(40), 552 552 fStatusDim(make_pair(Time(), -2)), 553 553 fStatusFTM(make_pair(Time(), -2)),
Note:
See TracChangeset
for help on using the changeset viewer.