source: Sophya/trunk/ArchTOIPipe/Kernel/flagtoidef.h@ 1787

Last change on this file since 1787 was 1767, checked in by aubourg, 24 years ago

magique

File size: 1.2 KB
RevLine 
[1738]1
2// ArchTOIPipe (C) CEA/DAPNIA/SPP IN2P3/LAL
3// Eric Aubourg
4// Christophe Magneville
5// Reza Ansari
[1767]6// $Id: flagtoidef.h,v 1.6 2001-11-15 10:42:17 aubourg Exp $
[1738]7
[1516]8#ifndef FLAGTOIDEF_H
9#define FLAGTOIDEF_H
[1502]10
[1767]11#include "config.h"
12
[1502]13enum FlagToiDef {
[1516]14// Out of Range Value of Range Value
[1502]15 FlgToiOut = (unsigned long long)1 << 0,
16// Spike-like sample (ex: glitch)
[1516]17 FlgToiSpike = (unsigned long long)1 << 1,
[1502]18// Discontinuity-like sample (ex: step)
[1516]19 FlgToiDisc = (unsigned long long)1 << 2,
[1502]20// Large-Sigma-like sample
[1516]21 FlgToiSigma = (unsigned long long)1 << 3,
[1502]22// Cleaned sample (ex: clean after spike,step...)
[1516]23 FlgToiClean = (unsigned long long)1 << 4,
[1502]24// Sample Value has been interpolated/Replaced ...
[1516]25 FlgToiInterp = (unsigned long long)1 << 5,
[1735]26// Sample killed because near a "flaggued" one ...
27 FlgToiAround = (unsigned long long)1 << 6,
28// All bit to one ...
[1767]29#ifdef IRIX64
30 FlgToiAll = (int)~(unsigned long long)0
31#else
32 FlgToiAll = ~(unsigned long long)0
33#endif
[1516]34};
35
[1502]36// et on peut continuer ainsi jusqu'a 1<<63 cad le bit 64 ieme
37// Pour imprimer la valeur: cout<<(unsigned long long)FlgToi...<<endl;
38
[1516]39#endif
Note: See TracBrowser for help on using the repository browser.