Go to the source code of this file.
 | 
| static const char *  | format_string [] | 
|   | 
| static const unsigned  | bpp_mask [] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff } | 
|   | 
◆ randomize_buffers [1/2]
      
        
          | #define randomize_buffers | 
          ( | 
           | ) | 
           | 
        
      
 
Value:    do {                                        \
        int n, m;                               \
        int bpp = 1 + (!!idepth);               \
        int buf_size = 
W * 
H * bpp;             \
 
        for (m = 0; m < 3; m++) {               \
            int 
ss = m ? ss_w + ss_h : 0;       \
 
            int plane_sz = buf_size >> 
ss;      \
 
            for (n = 0; n < plane_sz; n += 4) { \
                AV_WN32A(&
src[m][n], 
r);        \
 
            }                                   \
        }                                       \
    } while (0)
 
Definition at line 184 of file vf_colorspace.c.
 
 
◆ randomize_buffers [2/2]
      
        
          | #define randomize_buffers | 
          ( | 
           | ) | 
           | 
        
      
 
Value:    do {                                        \
        for (
p = 0; 
p < 3; 
p++) {               \
 
            for (y = 0; y < 
H; y++) {           \
 
                for (x = 0; x < 
W; x++) {       \
 
                    int 
r = 
rnd() & 0x7fff;     \
 
                    r -= (32768 - 28672) >> 1;  \
                }                               \
            }                                   \
        }                                       \
    } while (0)
 
Definition at line 184 of file vf_colorspace.c.
 
 
◆ check_yuv2yuv()
  
  
      
        
          | static void check_yuv2yuv  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ check_yuv2rgb()
  
  
      
        
          | static void check_yuv2rgb  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ check_rgb2yuv()
  
  
      
        
          | static void check_rgb2yuv  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ check_multiply3x3()
  
  
      
        
          | static void check_multiply3x3  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ checkasm_check_colorspace()
      
        
          | void checkasm_check_colorspace  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ format_string
Initial value:= {
    "444", "422", "420"
}
 
Definition at line 47 of file vf_colorspace.c.
 
 
◆ bpp_mask
  
  
      
        
          | const unsigned bpp_mask[] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff } | 
         
       
   | 
  
static   |