Go to the source code of this file.
 | 
| #define  | PIXEL_STRIDE   16 | 
|   | 
| #define  | randomize_buffers(src,  dst,  stride,  coef) | 
|   | 
| #define  | SRC_BUF_STRIDE   32 | 
|   | 
| #define  | SRC_BUF_SIZE   (((size << (size < 16)) + 5) * SRC_BUF_STRIDE) | 
|   | 
| #define  | src   (buf + 2 * SRC_BUF_STRIDE + 2 + 1) | 
|   | 
| #define  | randomize_buffers() | 
|   | 
| #define  | setpx(a,  b,  c)   buf[(a) + (b) * jstride] = av_clip_uint8(c) | 
|   | 
| #define  | setdx(a,  b,  c,  d)   setpx(a, b, c - (d) + (rnd() % ((d) * 2 + 1))) | 
|   | 
| #define  | setdx2(a,  b,  o,  c,  d,  e)   setpx(a, b, o = c + ((d) + (rnd() % (e))) * (c >= 128 ? -1 : 1)) | 
|   | 
| #define  | randomize_buffers(buf,  lineoff,  str,  force_hev)   randomize_loopfilter_buffers(lineoff, str, dir, flim_E, flim_I, hev_thresh, buf, force_hev) | 
|   | 
 | 
| static void  | dct4x4 (int16_t *coef) | 
|   | 
| static void  | wht4x4 (int16_t *coef) | 
|   | 
| static void  | check_idct (void) | 
|   | 
| static void  | check_idct_dc4 (void) | 
|   | 
| static void  | check_luma_dc_wht (void) | 
|   | 
| static void  | check_mc (void) | 
|   | 
| static void  | randomize_loopfilter_buffers (int lineoff, int str, int dir, int flim_E, int flim_I, int hev_thresh, uint8_t *buf, int force_hev) | 
|   | 
| static void  | fill_loopfilter_buffers (uint8_t *buf, ptrdiff_t stride, int w, int h) | 
|   | 
| static void  | check_loopfilter_16y (void) | 
|   | 
| static void  | check_loopfilter_8uv (void) | 
|   | 
| static void  | check_loopfilter_simple (void) | 
|   | 
| void  | checkasm_check_vp8dsp (void) | 
|   | 
◆ PIXEL_STRIDE
◆ randomize_buffers [1/3]
      
        
          | #define randomize_buffers | 
          ( | 
            | 
          src,  | 
        
        
           | 
           | 
            | 
          dst,  | 
        
        
           | 
           | 
            | 
          stride,  | 
        
        
           | 
           | 
            | 
          coef  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:    do {                                                                     \
        int x, y;                                                            \
        for (y = 0; y < 4; y++) {                                            \
            for (x = 0; x < 4; x++)                                          \
                (coef)[y * 4 + x] = (
src)[y * (
stride) + x] -                \
 
        }                                                                    \
    } while (0)
 
Definition at line 377 of file vp8dsp.c.
 
 
◆ SRC_BUF_STRIDE
      
        
          | #define SRC_BUF_STRIDE   32 | 
        
      
 
 
◆ SRC_BUF_SIZE
◆ src
◆ randomize_buffers [2/3]
      
        
          | #define randomize_buffers | 
          ( | 
           | ) | 
           | 
        
      
 
Value:    do {                                                  \
        int k;                                            \
            AV_WN32A(buf + k, 
rnd());                     \
 
        }                                                 \
    } while (0)
 
Definition at line 377 of file vp8dsp.c.
 
 
◆ setpx
◆ setdx
      
        
          | #define setdx | 
          ( | 
            | 
          a,  | 
        
        
           | 
           | 
            | 
          b,  | 
        
        
           | 
           | 
            | 
          c,  | 
        
        
           | 
           | 
            | 
          d  | 
        
        
           | 
          ) | 
           |    setpx(a, b, c - (d) + (rnd() % ((d) * 2 + 1))) | 
        
      
 
 
◆ setdx2
      
        
          | #define setdx2 | 
          ( | 
            | 
          a,  | 
        
        
           | 
           | 
            | 
          b,  | 
        
        
           | 
           | 
            | 
          o,  | 
        
        
           | 
           | 
            | 
          c,  | 
        
        
           | 
           | 
            | 
          d,  | 
        
        
           | 
           | 
            | 
          e  | 
        
        
           | 
          ) | 
           |    setpx(a, b, o = c + ((d) + (rnd() % (e))) * (c >= 128 ? -1 : 1)) | 
        
      
 
 
◆ randomize_buffers [3/3]
      
        
          | #define randomize_buffers | 
          ( | 
            | 
          buf,  | 
        
        
           | 
           | 
            | 
          lineoff,  | 
        
        
           | 
           | 
            | 
          str,  | 
        
        
           | 
           | 
            | 
          force_hev  | 
        
        
           | 
          ) | 
           |    randomize_loopfilter_buffers(lineoff, str, dir, flim_E, flim_I, hev_thresh, buf, force_hev) | 
        
      
 
 
◆ dct4x4()
  
  
      
        
          | static void dct4x4  | 
          ( | 
          int16_t *  | 
          coef | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ wht4x4()
  
  
      
        
          | static void wht4x4  | 
          ( | 
          int16_t *  | 
          coef | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ check_idct()
  
  
      
        
          | static void check_idct  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ check_idct_dc4()
  
  
      
        
          | static void check_idct_dc4  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ check_luma_dc_wht()
  
  
      
        
          | static void check_luma_dc_wht  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ check_mc()
  
  
      
        
          | static void check_mc  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ randomize_loopfilter_buffers()
  
  
      
        
          | static void randomize_loopfilter_buffers  | 
          ( | 
          int  | 
          lineoff,  | 
         
        
           | 
           | 
          int  | 
          str,  | 
         
        
           | 
           | 
          int  | 
          dir,  | 
         
        
           | 
           | 
          int  | 
          flim_E,  | 
         
        
           | 
           | 
          int  | 
          flim_I,  | 
         
        
           | 
           | 
          int  | 
          hev_thresh,  | 
         
        
           | 
           | 
          uint8_t *  | 
          buf,  | 
         
        
           | 
           | 
          int  | 
          force_hev  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ fill_loopfilter_buffers()
  
  
      
        
          | static void fill_loopfilter_buffers  | 
          ( | 
          uint8_t *  | 
          buf,  | 
         
        
           | 
           | 
          ptrdiff_t  | 
          stride,  | 
         
        
           | 
           | 
          int  | 
          w,  | 
         
        
           | 
           | 
          int  | 
          h  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ check_loopfilter_16y()
  
  
      
        
          | static void check_loopfilter_16y  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ check_loopfilter_8uv()
  
  
      
        
          | static void check_loopfilter_8uv  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ check_loopfilter_simple()
  
  
      
        
          | static void check_loopfilter_simple  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ checkasm_check_vp8dsp()
      
        
          | void checkasm_check_vp8dsp  | 
          ( | 
          void  | 
           | ) | 
           |