Go to the source code of this file.
 | 
| #define  | MY_MAX(a, b)   (((a) > (b)) ? (a) : (b)) | 
|   | 
| #define  | MY_MIN(a, b)   (((a) < (b)) ? (a) : (b)) | 
|   | 
 | 
| float  | invert_byte_order_float (float x) | 
|   | 
| unsigned long  | invert_byte_order_long (unsigned long x) | 
|   | 
| unsigned int  | invert_byte_order_int (unsigned int x) | 
|   | 
| unsigned short  | invert_byte_order_short (unsigned short x) | 
|   | 
| long  | invert_byte_order_long (long x) | 
|   | 
| int  | invert_byte_order_int (int x) | 
|   | 
| short  | invert_byte_order_short (short x) | 
|   | 
| void  | get_timer_value (unsigned int &sec, unsigned int &usec) | 
|   | 
| unsigned int  | get_timer_value (bool bResetTimer=false) | 
|   | 
| int  | my_round (double x) | 
|   | 
| int  | my_round (float x) | 
|   | 
| double  | uniform_random () | 
|   | 
| double  | gaussian_random () | 
|   | 
| float  | uniform_random_float () | 
|   | 
| float  | gaussian_random_float () | 
|   | 
| void  | sleep_ms (unsigned int ms) | 
|   | 
| void  | hsv2rgb (int h, int s, int v, int &r, int &g, int &b) | 
|   | 
| void  | rgb2hsv (int r, int g, int b, int &h, int &s, int &v) | 
|   | 
| void *  | aligned_malloc (unsigned int size, unsigned int align_size=16) | 
|   | 
| void  | aligned_free (void *ptr) | 
|   | 
| const char *  | GetVersionIVT () | 
|   | 
      
        
          | #define MY_MAX | 
          ( | 
            | 
          a,  | 
        
        
           | 
           | 
            | 
          b  | 
        
        
           | 
          ) | 
           |    (((a) > (b)) ? (a) : (b)) | 
        
      
 
 
      
        
          | #define MY_MIN | 
          ( | 
            | 
          a,  | 
        
        
           | 
           | 
            | 
          b  | 
        
        
           | 
          ) | 
           |    (((a) < (b)) ? (a) : (b)) | 
        
      
 
 
      
        
          | void aligned_free  | 
          ( | 
          void *  | 
          ptr | ) | 
           | 
        
      
 
 
      
        
          | void* aligned_malloc  | 
          ( | 
          unsigned int  | 
          size,  | 
        
        
           | 
           | 
          unsigned int  | 
          align_size = 16  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | double gaussian_random  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | float gaussian_random_float  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void get_timer_value  | 
          ( | 
          unsigned int &  | 
          sec,  | 
        
        
           | 
           | 
          unsigned int &  | 
          usec  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | unsigned int get_timer_value  | 
          ( | 
          bool  | 
          bResetTimer = false | ) | 
           | 
        
      
 
 
      
        
          | const char* GetVersionIVT  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | void hsv2rgb  | 
          ( | 
          int  | 
          h,  | 
        
        
           | 
           | 
          int  | 
          s,  | 
        
        
           | 
           | 
          int  | 
          v,  | 
        
        
           | 
           | 
          int &  | 
          r,  | 
        
        
           | 
           | 
          int &  | 
          g,  | 
        
        
           | 
           | 
          int &  | 
          b  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | float invert_byte_order_float  | 
          ( | 
          float  | 
          x | ) | 
           | 
        
      
 
 
      
        
          | unsigned int invert_byte_order_int  | 
          ( | 
          unsigned int  | 
          x | ) | 
           | 
        
      
 
 
      
        
          | int invert_byte_order_int  | 
          ( | 
          int  | 
          x | ) | 
           | 
        
      
 
 
      
        
          | unsigned long invert_byte_order_long  | 
          ( | 
          unsigned long  | 
          x | ) | 
           | 
        
      
 
 
      
        
          | long invert_byte_order_long  | 
          ( | 
          long  | 
          x | ) | 
           | 
        
      
 
 
      
        
          | unsigned short invert_byte_order_short  | 
          ( | 
          unsigned short  | 
          x | ) | 
           | 
        
      
 
 
      
        
          | short invert_byte_order_short  | 
          ( | 
          short  | 
          x | ) | 
           | 
        
      
 
 
      
        
          | void rgb2hsv  | 
          ( | 
          int  | 
          r,  | 
        
        
           | 
           | 
          int  | 
          g,  | 
        
        
           | 
           | 
          int  | 
          b,  | 
        
        
           | 
           | 
          int &  | 
          h,  | 
        
        
           | 
           | 
          int &  | 
          s,  | 
        
        
           | 
           | 
          int &  | 
          v  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
      
        
          | void sleep_ms  | 
          ( | 
          unsigned int  | 
          ms | ) | 
           | 
        
      
 
 
      
        
          | double uniform_random  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | float uniform_random_float  | 
          ( | 
           | ) | 
           |