Go to the source code of this file.
◆ ECVL_TUPLE [1/4]
      
        
          | #define ECVL_TUPLE | 
          ( | 
            | 
          type,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:Image g2_##type = 
Image({ 2, 2, 1 }, DataType::type, 
"xyc", ColorType::GRAY); \
     View<DataType::type> g2_##type##_v;
 
Definition at line 342 of file test_core.cpp.
 
 
◆ ECVL_TUPLE [2/4]
      
        
          | #define ECVL_TUPLE | 
          ( | 
            | 
          type,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:g2_##type##_v = g2_##type; \
        g2_##type##_v({ 0,0,0 }) = 50; g2_##type##_v({ 1,0,0 }) = 32; \
        g2_##type##_v({ 0,1,0 }) = 14; g2_##type##_v({ 1,1,0 }) = 60;
 
Definition at line 342 of file test_core.cpp.
 
 
◆ ECVL_TUPLE [3/4]
      
        
          | #define ECVL_TUPLE | 
          ( | 
            | 
          type,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ECVL_TUPLE [4/4]
      
        
          | #define ECVL_TUPLE | 
          ( | 
            | 
          type,  | 
        
        
           | 
           | 
            | 
          ...  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:TEST_F(CoreArithmetics, 
Neg##type) \
{ \
    g2_##type.Neg(); \
    EXPECT_TRUE(g2_##type##_v({ 0,0,0 }) == -50); EXPECT_TRUE(g2_##type##_v({ 1,0,0 }) == -32); \
    EXPECT_TRUE(g2_##type##_v({ 0,1,0 }) == -14); EXPECT_TRUE(g2_##type##_v({ 1,1,0 }) == -60); \
}
void Neg(const Image &src, Image &dst, DataType dst_type=DataType::none, bool saturate=true)
Negation of an Image.
 
 
Definition at line 342 of file test_core.cpp.