Changeset 1736 in Sophya for trunk/ArchTOIPipe/ProcWSophya/ktoibad.h
- Timestamp:
- Nov 7, 2001, 6:31:37 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/ktoibad.h
r1735 r1736 7 7 #include "slinparbuff.h" 8 8 9 ////////////////////////////////////////////////////// 10 //-- Pour flagguer les samples hors dynamique 11 // toi BoloIn ---> |FlagOutOfRange| ---> toi BoloOut 12 ////////////////////////////////////////////////////// 13 class FlagOutOfRange : public TOIProcessor { 14 public: 15 FlagOutOfRange(r_8 vmin,r_8 vmax,uint_8 flag=FlgToiOut); 16 virtual ~FlagOutOfRange(); 17 18 virtual void init(void); 19 virtual void run(void); 20 21 //! Print 22 void Print(ostream & os); 23 inline void Print(void) {Print(cout);} 24 25 protected: 26 uint_8 flgBad; 27 r_8 VMin,VMax; 28 }; 29 30 ////////////////////////////////////////////////////// 9 31 //-- Pour rechercher les glitches 10 // toi BoloIn ---> |FlagGlitch | ---> toi BoloOut 32 // toi BoloIn ---> |FlagGlitch| ---> toi BoloOut 33 ////////////////////////////////////////////////////// 11 34 class FlagGlitch : public TOIProcessor { 12 35 public: … … 42 65 }; 43 66 67 ////////////////////////////////////////////////////// 44 68 //-- Pour flagguer les samples autour de samples deja flaggues 45 // toi BoloIn ---> |FlagAround | ---> toi BoloOut 46 class FlagAround : public TOIProcessor { 69 // Permet aussi de flagguer les samples ayant de mauvaises valeurs. 70 // toi BoloIn ---> |FlagAroundFlag| ---> toi BoloOut 71 ////////////////////////////////////////////////////// 72 class FlagAroundFlag : public TOIProcessor { 47 73 public: 48 FlagAround (uint_4 lm,uint_8 flgs=FlgToiAll);49 virtual ~FlagAround ();74 FlagAroundFlag(uint_4 lm,uint_8 flgs=FlgToiAll); 75 virtual ~FlagAroundFlag(); 50 76 51 77 virtual void init(void); … … 56 82 //! Flagguer autour des samples ayant la valeur flag 57 83 inline void SetFlagAroundFlag(uint_8 flag=FlgToiAll) {flgSample = flag;} 84 //! Flagguer les samples hors limite 85 inline void SetLimits(r_8 vmin=1.,r_8 vmax=-1.,uint_8 flag=FlgToiOut) 86 {VMin=vmin; VMax=vmax; flgBad = flag;} 58 87 //! Print 59 88 void Print(ostream & os); … … 61 90 62 91 protected: 63 uint_8 flgSample,flgAround ;92 uint_8 flgSample,flgAround,flgBad; 64 93 uint_4 LSide; 94 r_8 VMin,VMax; 65 95 }; 66 96
Note:
See TracChangeset
for help on using the changeset viewer.