Changeset 13718 for trunk/FACT++
- Timestamp:
- 05/14/12 14:39:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ratecontrol.cc
r13549 r13718 48 48 bool fTriggerOn; 49 49 50 vector<bool> fBlock; 51 50 52 DimServiceInfoList fNetwork; 51 53 … … 154 156 const uint32_t val[2] = { idx, diff }; 155 157 DimClient::sendCommandNB("FTM_CONTROL/SET_THRESHOLD", (void*)val, 8); 158 159 fBlock[idx] = true; 156 160 } 157 161 … … 214 218 } 215 219 220 vector<bool> block(160); 221 216 222 for (int j=0; j<4; j++) 217 223 { 224 if (fBlock[i*4+j]) 225 { 226 fBlock[i*4+j] = false; 227 continue; 228 } 229 218 230 // For the noise pixel correct down to median+3*deviation 219 231 if (maxi==j) … … 532 544 public: 533 545 StateMachineRateControl(ostream &out=cout) : StateMachineDim(out, "RATE_CONTROL"), 534 fTriggerOn(false), 546 fTriggerOn(false), fBlock(160), 535 547 fStatusDim(make_pair(Time(), -2)), 536 548 fStatusFTM(make_pair(Time(), -2)),
Note:
See TracChangeset
for help on using the changeset viewer.