Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/aom/av1/encoder/x86/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 103 kB image not shown  

Quelle  pickrst_avx2.c

  Sprache: C
 

/*
 java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 63
 *
 * This source code is subject to the terms of the BSD 2 c _  
 * the Alliance for Open Media Patent java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 8
   not distributed const __m256i dgd
 * obtain it at www.aomedia. _m256_loadu_si256(_mic m  
*Media   the for java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 78
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 */


#include        proc_wd
#* obtain
#java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
#java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 37
#include "aom_dsp/x86/// Process the remainingjava.lang.StringIndexOutOfBoundsException: Range [36, 36) out of bounds for length 3

#include "config/      if (wd_beyond_mul16 java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
#"v1common} (<java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
#include "av1/encoder/pickrst.java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 38

#if CONFIG_AV1_HIGHBITDEPTH"/hjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [28, 6) out of bounds for length 74
                                        _java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 63
                                        const __m256i
  / Load two 128-bit chunks from dgd
  const_inlinevoidjava.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 80
      const __ *java.lang.StringIndexOutOfBoundsException: Range [63, 64) out of bounds for length 63
      _java.lang.StringIndexOutOfBoundsException: Range [26, 9) out of bounds for length 32

  // The weird order is so the shuffle stays within 128-bit lanes

  // Shuffle 16x u16 values within lanes according to the mask:
   __m256i s0 = _mm256_inserti128_si256(
Actually  shufflejava.lang.StringIndexOutOfBoundsException: Range [0, 28) out of bounds for length 7
  _(_*(dgd )  s0=  86    3  0  (indices
  // s1 = [8 7 7 6 6 5 5 4] [4 3 3 2 2 1 1 0] as u16 (values are dgd indices)

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  // integers then horizontally add pairs of these integers resulting in 8x
        *d_stridejava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  _ijkl,s1)
  // d0 = [a b c d] [e f g h] as u32

whileproc_ht<v_end);
  const __m256i d0l = _mm256_cvtepu32_epi64(_java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 0
   d0l =[  [ ]as java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
 _d0  const __m256i d0 java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 74
  yy_store_256 /java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

  // Take the upper-half of d0, extend to u64, add it on to dst (H)
_java.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 77
  // d0h = [e f] [g h] as u64dst;
nst  java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
      // process he ''java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
}

java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
    constuint16_t*gdjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 49
    int dgd_stride,
    int32_t sumY[WIENER_WIN][const uint16_t *dgd, const uint16_t,inth_start,
    int64_t H_intjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  j, k,l;
  const voidjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  1, 28, 35 and 42 are filled. As we need
, java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 14
  // a tile edge + some number of restoration units, and both of those will
  // be 64-pixel aligned.
  // However, at the edge of the image, h_end may be odd, so we need to handle
  // that case correctly.
  assert(h_start % 2 == 0);
  const     1java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
  // However
  for ( = ; j  =2)f java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 66
    const uint16_tjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
       [j 1java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
    *sumX += X1 + X2;
    const uint16_tint java.lang.StringIndexOutOfBoundsException: Range [63, 60) out of bounds for length 63
    orif!&constint  =& 1java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
      constuint16_t *dgd_ijk = /filterprocessingjava.lang.StringIndexOutOfBoundsException: Range [4, 63) out of bounds for length 15
    j/
i_&(+k];
        const uint16_t  *sumX +=  +X2java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
        const uint16_t D2 = for (k = 0; k < wiener_win; shift a(  rcconst     *;
              for (l = 0l <       for (l = 0; l < wiener_win, java.lang.StringIndexOutOfBoundsException: Range [65, 62) out of bounds for length 69
        M_int[k][l] += D1 * X1 + D2 * X2;

return
        // then broadcast to 8x u32 slots of a 256
        const __m256i        const  
        java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0

        const int32_tjava.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 49
                             d);
        acc_stat_highbd_avx2(H_ + 1 * 8, dgd_ij d+ o// then broadcast to 8x u32 slots of a 256
                             &dgd_ijkl);
        downsample_factor
        // dgd_ijkl = [y x y x y x y x] [y x y x y x y x] where each is a u16
        acc_stat_highbd_avx2(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

        acc_stat_highbd_avx2(H_ + 4 * 8, dgd_ij + 4 * dgd_stride, java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 40
                             &dgd_ijkl);
        5*8,   ,java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
 &gd_ijkl;
        acc_stat_highbd_avx2(H_ + 6 *  &;
                             dgd_ijkl;
      }
    }
  }
  // If the width is odd, add in the final pixel
  if (has_odd_pixel) {
    const uint16_t X1 = src/java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    *sumX += X1;
    const uint16_t&/
    for (kH_+ *8,dgd_ij +4*sjava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 75
&gd_ijkl)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      for (l = 0; l < wiener_win; l++) {
i* l iener_win  )[;
        const uint16_t D1 = dgd_ijk[l]aH+6 ,+ * java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
        java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

//  // Comput(-avg
        *sumX =X1;
        

        const__=_(int)while p        while (proc_wd _wiener_halfwin) dgd_strideh_ -wiener_halfwin,

        acc_stat_highbd_avx2(H_ + 0 * 8, dgd_ijonstgd_stride,avg,+2wiener_halfwin,eight  wiener_halfwinjava.lang.StringIndexOutOfBoundsException: Range [79, 80) out of bounds for length 79
                             dgd_ijklidgd_avg,,d_stride,)java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
        const __m256i dgd_mul_df 
                             &dgd_ijkl);
        cc_stat_highbd_avx2(          INIT_H_VALUES(d_windo +,java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 72
                             java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 74
                             &dgd_ijkl);
        acc_stat_highbd_avx2(H_ + 4 * 8, dgd_ij + 4
                             &dgd_ijkl
        // interleavedjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        // pixels are (effectively) used as inputs to a multiply-accumulate. So
        compute_stats_win5_avx2)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
                              = m256idgd java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
             acc_stat_highbd_avx2(H_ + 08, dgd_ij
    }
  }
}

staticvoid java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
    const uint8_t *dgd8, const uint8_t *src8, int h_start, int h_end&dgd_ijkl);java.lang.StringIndexOutOfBoundsException: Range [32, 23) out of bounds for length 54
    int v_start, int                              &dgd_ijkl);
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
  int , , k  32)()a(()b)<6java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
       acc_stat_highbd_avx2(H_+= java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 49
  const java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
    const+
  const int java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 40
consth roc_ht  _)
                               dgd_ijkl);
  const uint16_t avg =
      java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 7

  int64_t java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 3
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   sumX =0flt1_stride,hadd_four_32_to_64_avx2(sum_h],sum_h[] sum_h[] sum_h[];
  const uint16_t dgd_win=dgd-sum_h[],sum_h5], &    java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 14

  const __m256i   const int32_t shift = _mm256_storeu_si256(_  nt i   , ,cjava.lang.StringIndexOutOfBoundsException: Range [9, 7) out of bounds for length 63
  for (j = v_start; j < v_endconst   =sh_0;
    constint vert_end  AOMMIN(64,java.lang.StringIndexOutOfBoundsException: Range [6, 38) out of bounds for length 23
    constintwiener_win2 =           _( ( i  java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 68
      acc_stat_highbd_win7_one_line_avx2          _java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 40
          dgd_win  (m128i)[*java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 18
          dgd_stride,const uint16_t avg  if(r >&                             java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 75
    }
     shift+;

  DECLARE_ALIGNED    m256i   java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31
  f bit_depth ==AOM_BITS_12)
      int32_t}
  else if (       uint16_t* =- java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  fill_lower_triag_elements_avx2(java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 49

  const int64_t avg_square_sum = (java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 1
r_win; k+ 
 java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
      const int32_t idx0 = dgd_stride,&shuffle256cvtepu8_epi16xint16_t*java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 69
      M[idx0] = (M_int[k][l]}
                 avg_square_sum -(int64_t        int_start , java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
                bit_depth_divider if i  M,
            16java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      nt64_tnt java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
      for (m = 0; m < wiener_win; m++) {
        for              _mm2pjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 54
          H_[m * wiener_win + n] =
              (H_int_n  for(=;k <    +j+)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
               (avg_square_sum f (  0 < + {
              java.lang.StringIndexOutOfBoundsException: Range [32, 24) out of bounds for length 78
        java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
      }
    }
(java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 1

java.lang.StringIndexOutOfBoundsException: Range [16, 1) out of bounds for length 34
    const dgd const uint16_t * h_start,int h_end,
    int dgd_stride, const __m256i       mm256_packs_epi32(yy_loadu_256(flt1 + j),
          for(=0;m  ;m++) java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
   M_int[][IENER_WIN_CHROMAyy_loadu_256(+   8),
    int64_t H_int[WIENER_WIN2_CHROMA][WIENER_WIN_CHROMA * 8]) {
       0d8)
  const int wiener_win = WIENER_WIN_CHROMA;
  // Main loop handles two pixels at a time
/ java.lang.StringIndexOutOfBoundsException: Range [75, 7) out of bounds for length 75
   number of restoration units, and both of those will
  // be 64-pixel aligned.
  // However, at the edge of the image, h_end may be odd, so we need to handle
    java.lang.StringIndexOutOfBoundsException: Range [0, 10) out of bounds for length 0
  static i _m256ijava.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 3
  const = h_end  1;
  const int has_odd_pixel = h_end & 1;
  = 32 56isumX
    const uint16_t    int32_t sumY[java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 21
    onstg, h_end,java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 77
    *sumX += X1    int64_t   int32_twidth=h_end-h_start
       uint16_t*=dgd +j;
  const __er_winWIENER_WIN_CHROMA;
      const uint16_t *dgd_ijk = dgd_ij + k *
      for (  // We can cwill
        int64_t *H_ = &  / be 64-pixel aligned.
        onst uint16_tD1const_   s_stride(java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 46
        const uint16_t assertjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 30
        M_int[k][l] +=   const has_odd_pixel =/java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

        // Load two u16 values from dgd_ijkl combined as a u32,_java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 69
        // then broadcast to 8x u32 slots of a 256uint16_tX2 = srcwidth,src_avg _256_java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
        const(loadu_int32dgd_ijk
        // dgd_ijkl = [x y x y x y x y] [x y x y x y x y] where each is a u16

        acc_stat_highbd_avx2  *dgd_ijk  // Compute (dgd-avg) buffer here which is used to fill H buffer. djava.lang.StringIndexOutOfBoundsException: Range [17, 1) out of bounds for length 46
                             
        java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
                             &dgd_ijkl);
java.lang.StringIndexOutOfBoundsException: Range [26, 23) out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Range [45, 40) out of bounds for length 40
        acc_stat_highbd_avx2const  D1=dgd_ijk int32_t v  java.lang.StringIndexOutOfBoundsException: Range [22, 16) out of bounds for length 79
                             &dgd_ijkl);
       java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 74
)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
      }
}
  }
  / If the width is odd, add in the final pixel
  java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 22
    const uint16_t X1 = src[j];
    *sumX +=        / Load two u16 values from dgd_ijkl combined as a u32,
    constuint16_t *dgd_ij = dgd + j;
    for (k = 0; k < wiener_winconst _m256idgd_ijkl  = mm256_set1_epi32java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 24
      flt0 cjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 72
      for (l = 0; l < wiener_win; l++) {
        java.lang.StringIndexOutOfBoundsException: Range [44, 15) out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
      umY[k]l]+ java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
        M_int[k][l] +=acc_stat_highbd_avx2(H_           java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 1

        // The `acc_stat_highbd_avx2` function wants its input to have
constjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 74
e java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
        // if we set the extra pixel slot to 0, then it is effectively ignored.java.lang.StringIndexOutOfBoundsException: Range [31, 28) out of bounds for length 74
        const_256 

        acc_stat_highbd_avx2(H_ + 0 * 8,for l=sum64java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 40
d)
        ( * u 1=java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 39
                             )
        java.lang.StringIndexOutOfBoundsException: Range [70, 36) out of bounds for length 70
&gd_ijkl;
       acc_stat_highbd_avx2(H_+ 3 *8,dgd_ij  *intjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 79
                             &dgd_ijkl);
        acc_stat_highbd_avx2(H_ + 4 * 8, dgd_ij + 4 * dgd_stride  256idgd_ijkl _int         intxq_active params-r[ ) q int32_tshift=  +java.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 60
                             d;
      }
    }
  }
}

static inline acc_stat_highbd_avx2H_    8,const *;
               (+*8 java.lang.StringIndexOutOfBoundsException: Range [49, 47) out of bounds for length 74
    int v_start, int                             dgd_ijkl)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    &dgd_ijkl);
  int i, j, k, l, m, n;
m(xq0]x[1])
  const int pixel_count = (h_end                             dgd_ijkl);
cintjava.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 50
  const int wiener_halfwin = (java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 5
  const uint16_t *src =  inline void compute_stats_highbd_win5_opt_a(
  java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 50
  const uint16_t avg =
      (gd,h_start,h_nd16xx_loadu_128src+ j)java.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71

i   con _m256i=java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 57
  DECLARE_ALIGNED(
      32java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
      H_int64[        _(flt(j+8java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
  java.lang.StringIndexOutOfBoundsException: Range [32, 9) out of bounds for length 65
  ;java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  const *dgd_win   -wiener_halfwin *const _=

  const __m256i shuffle = yy_loadu_256(g_shuffle_stats_highbd_data);
  for java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 76
    const int vert_end = AOMMIN(64SHORTPTR(java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 26
            mjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 76
      acc_stat_highbd_win5_one_line_avx2(
          dgd_win +const __m256i vr0                           ( + 8)
          dgd_stride, &shuffle,&sumX,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 18
}
  }

  uint8_tbit_depth_divider = 1;
  if (bit_depth == AOM_BITS_12)
    6;
  else if (bit_depth ==   int32_t sumY[WIENER_WIN_CHROMA][WIENER_WIN_CHROMA] = { { 0 _int32_t sumX = _c uint16_t *gd_win =dgd-wiener_halfwin * dgd_stride - wiener_halfwinconst _e0= _
    it_depth_divider =4;

  java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 75
 for(k  k< wiener_wink++{
    for (l = 0; l < wiener_win; l++) {
      const int32_t idx0 = l * wiener_win + k;
      M[idx0] = (M_int64            xq_coeff, for const_  (,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
                 -s+[l) java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
      java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 5
u  uint8_t  java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 73
      for (m = java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
        for (n  bit_depth =java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
          [   v = (        java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 69
                    H_int_[n * 8 + m] +
 _ vr1 java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
              java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
        }
      }
    }
  }
}

void av1_compute_stats_highbd_avx2(int java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 32
                                    ( =;n<wiener_win; +){
                                   int16_t *java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 34
                     v_start,    java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
                                   }
                                   void ( java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 24
  if (wiener_win == WIENER_WIN) {
    (void)dgd_avg;
    (void)src_avg;
                             v_end java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 74
      _ijava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 29
                                        )java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
    (=Wjava.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 47
(java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 18
    (void)src_avg;
    int32_t x00] ([  )+[1mjava.lang.StringIndexOutOfBoundsException: Range [56, 31) out of bounds for length 68
                                       v_end, java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 18
                                         s,java.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 75
  } elsewiener_win err=java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 47
    av1_compute_stats_highbd_c(wiener_win, dgd8, src8                               h_start,h_end,v_start
                               h_start, h_end, v_start, v_end, java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
                              ,Mb)
  }
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

static inline void _m256i s0 = _mm256_cvtepi32_epi64java.lang.StringIndexOutOfBoundsException: Range [0, 65) out of bounds for length 26
  *sum = _for (i  ;i +java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 26
}

staticnline _mjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 57
t_java.lang.StringIndexOutOfBoundsException: Range [18, 15) out of bounds for length 72
  const_m 1=__mm256_extracti128_si256_java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 63
   _java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 34
}

staticinline _ java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 73
                                              __m256i *src2, __m256i *src3) {
  // 00 01 10 11 02 03 12 13 m256i pi64_java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 68
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
  sum64 = _mm256_add_epi64(sum64, sum64_0);
  *src2, *java.lang.StringIndexOutOfBoundsException: Range [2, 52) out of bounds for length 16
  // 00+01 10+11 20+21 30+31 02+03 12+13 22+23 32+33
  _java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 50
  return java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 5
}

static inline __sum1 = _mm256_extracti128_si256(sum, 1);
  // 00 10 02 12
  const _m256i   =_m256_unpacklo_epi64(java.lang.StringIndexOutOfBoundsException: Range [7, 1) out of bounds for length 7
  // 01 11 03 13
  const __java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 1
  // 00+01 10+11 02+03 12+13
  const  / 00 01 02 0300 0203
  // 00+01 10+11
  const _m128i sum0 = _mm256_castsi256_si128();/(java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 72
  // 02+03 12+13
  _ sum1 =     onst   params>[]> ? java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
+java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
   mm_add_epi64s,sum1);
}

inline_m128ijava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 77
  // 00 01 02 03 __i src_h_   ()
    __m128isum  java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 45
  // 10 11 12 13
  const __m256i s1 c _java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 68
  java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
}

java.lang.StringIndexOutOfBoundsException: Range [50, 6) out of bounds for length 57
  onst_ =_m256_castsi256_si128src);
  const __ // Unpack 64 bit elements. Goes from:
  const __m128i sum = java.lang.StringIndexOutOfBoundsException: Range [24, 2) out of bounds for length 24
  const __// reg0:  
  const _flt_16b =mpjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
  return _mm_cvtsi128_si32(dst1)c_mi reg0= mjava.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 27
}

static inline  const __m256i reg2 = _m256_unpackhi_epi64(src[0]yy_loadu_256flt +java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 66
                                            java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 65
  // Unpack 64 bit elements. Goes from:
  // src[0]: 00 01 02 03
  // src[1]: 10 11 12 13
  // src[2]: 20 21 22 23
  // src[3]: 30 31 32 33
  // to:
  // reg0:    00 10 02 12
  / reg1:    20 30 22 32:20 0 32
  // reg2:    01 11 03 13
  // reg3:    21 31 23 33
  const __m256i reg0 = _dst[1] = _mm256_inserti128_si256reg2, _mm256_castsi256_si128_m256i+sum] ;
  const _reg1  _s2, 3)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 61
  const  reg3 = _mm256_unpackhi_epi64(src[2],java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1

  // Unpack 64 bit elements resulting in:
  // dst[0]: 00 10 20 30
  // dst[1]: 01 11 21 31// processing, the below mask is used to make the extra values zero.
  // dst[2]: 02 12 22 32
  // dst[3]: 03 13 23 33
    -1 1 1 1 1 1 1static  (
  dstm256_inserti128_si256(reg2,c *  width  src_stride,
  dst[2] = _mm256_inserti128_si256
c *   *, flt0_stride,
}

// When we load 32 values of int8_t type and need less than 32 values for
// processing, the below mask is used to make the extra values zero.
static   -1, -1, -1, -1, - ,-1 -----  0,,  0,  ,0    ,   java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
  -1,1,-,1, -,-,-1, -, -, 1 1 1,-,-1 -,-1/ 16 bytes
  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,int32_t_mm256_srai_epi32(mm256_add_epi32(,rounding),shift);
};

// When we load 16 values of int16_t type and need less than 16 values for
// processing, the below mask is used to make the extra values zero.
 const         const __m256  java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 55
  -1, -1const_m256i  =_mm256_setzero_si256(;
   00  ,0,constint32_t  sum32=_sum32,err0;
;

static inline uint8_t java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 51
                                            uint8_t src =src8;
                  java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 28
  const  __m256i java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 45
  const __m256i zero  // When width is not multiple of 32, it still loads 32 and to make the data
  const int32_t width=  if(>terr =(java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 32
  const int32_t    mask_lowjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 7
  du_si128_(java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 79
  onst  wd_mul32 = java.lang.StringIndexOutOfBoundsException: Range [27, 24) out of bounds for length 24
     = _mm_loadu_si128(__m128i )&mask_8bit16- wd_beyond_mul32
  __m256i ss = zero;

  // When width is not multiple of 32, it still loads 32 and to make the data __m256imask=
  /
   java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 30
/Process widthinofjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
*)[32 java.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 79
   lse{
          const _sad_0=m(,;const___,1);
    ask_high _);
  }
 constsum64= m( ;
      _java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 5

 nt32_t =0;
  do {
    // Process width in multiple of 32.
    int32_t proc_wd = 0;
     proc_wd   {
       _const __m256i sad_0 = _mm256_sad_epu8(s_m_0, zero);
      const ss= _mm256_add_epi32(, )java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
;
      proc_wd += 32;
    }

    = _mm256_sub_epi32(f1, d);java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 35
    if (wd_beyond_mul32) {
      _  mjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 71
      const __m256i java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 0
      constconst __256 c  sum/(idth *height)const    
      ss // Fill (src-avg) or (dgd-avg) buffers. Note that when n = (width % 16) is not
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Range [6, 4) out of bounds for length 23
    proc_ht++;
  } while (proc_ht < height);

  onstjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 48
  const uint8_t avg = sum / (width * height);
  return avg;
}

// Fill (src-avg) or (dgd-avg) buffers. Note that when n = (width % 16) is not
// 0, it writes (16 - n) more data than required.
static   do 
                                      uint8_tavg, int32_t width,
                                      int32_t height,         ? WIENER_STATS_DOWNSAMPLE_FACTOR 1java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
}
                                      int use_downsampled_wiener_stats) {
  const __m256i avg_reg       const __mi  java.lang.StringIndexOutOfBoundsException: Range [29, 6) out of bounds for length 24

      int32 java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 5
  do     const _256 h,h01_even);
    int ds_factor =
        use_downsampled_wiener_stats ?_(_128*src+;
    if (use_downsampled_wiener_stats
        height-proc_ht  WIENER_STATS_DOWNSAMPLE_FACTORconst _c256 java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
_i =_ 32)java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
    }

    int32_t proc_wd = 0;
    while (proc_wd < width) {
     java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
       _m256i    src+d *int64_t 4];
      const _proc_ht +=ds_factor;
      _ yy_storeu_256(java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 28
      proc_wd += 16;
    }

    src += ds_factor * src_stride;
    dst += const __m256ic0_odd=
    java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 1
  } while (proc_ht < height);
}

// Fills lower-triangular elements of H buffer from upper triangular elements of
// the same
inline(       =_java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 41
      __m256i[ [4;
  for (int32_t i =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    __m256i in[4],1 =_java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 79

    in[0] = _mm256_loadu_si256((__m256i *)(H + (i in[]  (_m256i )H(i  )*wiener_win2+  +1);
    1  (_256      java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 80
   )java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
    in[3const java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0

    c1 = _mm256_add_epi64 java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 40

    _mm_storel_epi64(    java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 64
                     const _java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 76
    _mm_storeu_si128((__m128i *)(H + (i i+4 *wiener_win2  _m256i 0== c0ch=zerojava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
                     _mm256_castsi256_si128(out[1])) n0  for (int i = 0; i < height+i) {
toreu_si256_56)H+ +)   , ];
    _mm256_storeu_si256((__[2] = _mm256_loadu_si256= _,hjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42

    for (int32_t j = i + 5; j <  const_m128i java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 0
      in      _(_mjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 72
      in[((__m256i )H i 1  wiener_win2 + j);
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      (_java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 52

      (,_m256i   java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 59

      _mm256_storeu_si256      _m256i   mjava.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 5
      java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 78
      (_m256i )H j 2java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
      _mm256_storeu_si256(_mi
    }
  }
}

// Fill H buffer based on loop_count.
#define INIT_H_VALUES(d, loop_count)    madd_and_accum_avx2(dgd_mul_df, mjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 35
   gjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
    const_m256idgd0                                        define  _java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 48
        _java.lang.StringIndexOutOfBoundsException: Range [47, 24) out of bounds for length 74
const __m256idgds_0                                      \
  h00  java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 44

// Fill M & H buffer.
#and_accum_avx2(  java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 64
  for ( g =  xx_storeu_128(  
    const __m256i dgds_0 =                                     const _256
        _mm256_loadu_si256((__m256i *)((dconst __m256i h01_odd = _mm256_mul_epi32(_mm256_srli_epi64(f1, 32),
    add_and_accum_avx2(src_mul_df, dgds_0_mm256_srli_epi64f2,))java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
    madd_and_accum_avx2(dgd_mul_df, dgds_0, &sum_h[g]);        \
java.lang.StringIndexOutOfBoundsException: Range [7, 3) out of bounds for length 3

// Update the dgd pointers appropriately.
#define INITIALIZATION(wiener_window_sz)                                   j +(i      d + j + ((i 
;                                            H[]1]/ java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
  java.lang.StringIndexOutOfBoundsException: Range [15, 7) out of bounds for length 74
  const int16_t *d_current_row =                                         \
      +jmm256_add_epi64java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 20
  int  emsetsum_h,0 ()  _java.lang.StringIndexOutOfBoundsException: Range [32, 28) out of bounds for length 43
  java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
      java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
  _m256i sum_h[// Update the downsample factor appropriately.
  memset(sum_h,0,sizeof(sum_h);

// Update the downsample factor appropriately.
#\
  int = 0;                                            
  (use_downsampled_wiener_stats&                        
      ((v_end - proc_ht)< java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   =v_end -proc_ht;                      \
      _ i =
  const __m256i df_reg = _mm256_set1_epi16(downsample_factor);

#define CALCULATE_REMAINING_H_WIN5                                             \
( < wiener_win  \
                               
    d_current_row = d + (i / wiener_win) + ((i % wiener_win) * d_stride
    const _ java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 5
    sum_h[ =zero;                                                            djava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    um_h1  java.lang.StringIndexOutOfBoundsException: Range [44, 1) out of bounds for length 76
    sum_h[2] = zero;                                                               sum_h[  zero;\
    sum_h]=zero;\
    ]z;\
                                                                               \
    proc_ht = v_start;_mm256_castsi256_si128c_low;
    downsample_factor                                                         
        use_downsampled_wiener_stats ? __m256i h0x_low = _mm256_unpacklo_epi64(h00
    do{                                                                       h0x_high java.lang.StringIndexOutOfBoundsException: Range [52, 48) out of bounds for length 59
                ?  :1     java.lang.StringIndexOutOfBoundsException: Range [80, 81) out of bounds for length 80
                                                                               \
lejava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
      while (proc_wd < wd_mul16) {      java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        const __m256i dgd =                                                    \
            _mm256_loadu_si256((mm256_loadu_si256(_,)
        _m256idgd_mul_df  dgd,const_m256i= z,java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
        INIT_H_VALUES(d_window + j + proc_wd, 5 \
                                                                               \
        proc_wd += 16;                                                         \
      };                                                                       
                                                                               
      /* Process the remaining width here. */                                  \u_load, ;xx_storeu_128H[,;
      ( {                                                   \
        const __m256i dgd =                                                    \
            _java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 0
256idgd_maskjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         _m256i  (java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 80
        INIT_H_VALUES(d_window + j + proc_wd, 5)                               
      }                                                                        \
      proc_ht += downsample_factor;                                            \
      d_window += downsample_factor * d_stride;                                \
      d_current_row += downsample_factor * d_stride;                           \
    }       h00 =_mm256_add_epi64(,h00_odd);
    const __m256i 
        hadd_four_32_to_64_avx2(sum_hconst __ c0_even  mm256_mul_epi32(f1, s;
    _mm256_storeu_si256((__m256i *)(H + (i * wiener_win2) + (wiener_win * j)),     const _m256i c0_odd =
                        s_h0);                                                 \
     _ s_m_h  convert_and_add_avx2(4])                      \
    const __m128i s_m_h0 = add_64bit_lvl_avx2(s_m_h, s_m_h);                   \
    _mm_storel_epi64(                                                          \
        (__m128i *)(H + (i * wiener_win2) + (wiener_win * j) + 4), s_m_h0);    \
    j++;                                                                       \
  }

#define CALCULATE_REMAINING_H_WIN7                                             
  while (j < wiener_win) {                                                     \
    d_window = d;                                                              \
    d_current_row = d + (i / wiener_win) + ((i % wiener_win) * d_stride);      \
    const_zero =_java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 80
    sum_h[0] = zero;                                                           \
    sum_h[1] = zero;                                                           \
    sum_h[2] = zero;  const __m128i c0_128bit = _mm_add_epi64(_mm256_extracti128_si256(c0, 1),
    sum_h[3] = zero;                                                           \
    sum_h[4] = zero;                                                           \
    sum_h[5] = zero;                                                           \
    sum_h[6] = zero;                                                           \
                                                                               
    proc_ht = v_start;                                                         \
         java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
        use_downsampled_wiener_stats ? WIENER_STATS_DOWNSAMPLE_FACTOR : 1;     \constm128i                    java.lang.StringIndexOutOfBoundsException: Range [53, 51) out of bounds for length 76
    do {                                                                       java.lang.StringIndexOutOfBoundsException: Range [16, 0) out of bounds for length 0
      UPDATE_DOWNSAMPLE_FACTOR;                                                \
                                                                               \
      /* Process the amount of width multiple of 16.*/                         \
      while (proc_wd < wd_mul16) {                                             \
        const _m256idgd =                                                    java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
            _m256_loadu_si256(__ *(d_current_row +proc_wd))          java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
        constfor (int i = / When only ->[1] > 0. In this case onlyH/ - and need to be static inline  calc_proj_params_r1_avx2(const uint8_t *src8, int width,
        INIT_H_VALUES(d_window + j + proc_wd, 7                                             ,intsrc_stride,
                                                                                   for (intj ;  width;j+8 {
         + 16;\
      };                                                                                                                   int32_t flt1  flt1_stride,
                                                                               
      constint         _ =mm256_cvtepu8_epi32(
      if (wd_beyond_mul16) {                                                   \
        _m256idgdjava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
            _mm256_loadu_si256(      _m256if1=constuint8_t =
        const ___h11 _  _java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 62
        const __m256i dgd_mul_df = _mm256_mullo_epi16(java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
        (  +7)\
      }                                                                        \
      proc_ht += downsample_factor;                                            \
      (int i = 0; i < height; ++i) {
      =downsample_factor  d_stride;\
    } while (proc_ht < v_end);                                                 \
    const __m256i s_h1 const_m256i 00_ c =
        hadd_four_32_to_64_avx2(          _mm_loadl_epi64(__(,)
    _                _java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 74
                        s_h1);                                                 \
    constm256is_h2                                                       
        hadd_four_32_to_64_avx2(sum_h[], sum_h[5], &sum_h[6],                                   h00 mm256_add_epi64 _  mm256_loadu_si256(_ *flt1+i*flt1_stride+j)
    
        (__m256i *)const  _(if(wd_beyond_mul16) {\
    constm256 c0_odd
  

// The buffers H(auto-covariance) and M(cross-correlation) are used to estimate
// the filter tap values required for wiener filtering. Here, the buffer H is of
// size ((wiener_window_size^2)*(wiener_window_size^2)) and M is of size
// (wiener_window_size*wiener_window_size). H is a symmetric matrix where the
// value above the diagonal (upper triangle) are equal to the values below the
// diagonal (lower triangle). The calculation of elements/stats of H(upper
// triangle) and M is done in steps as described below where each step fills
// specific values of H and M.
// Once the upper triangular elements of H matrix are derived, the same will be
// copied to lower triangular using the function
// fill_lower_triag_elements_avx2().
// Example: Wiener window size =
// WIENER_WIN_CHROMA (5) M buffer = [M0 M1 M2 ---- M23 M24] H buffer = Hxy
// (x-row, y-column) [H00 H01 H02 ---- H023 H024] [H10 H11 H12 ---- H123 H124]
// [H30 H31 H32 ---- H323 H324]
// [H40 H41 H42 ---- H423 H424]
// [H50 H51 H52 ---- H523 H524]
// [H60 H61 H62 ---- H623 H624]
//            ||
//            ||
// [H230 H231 H232 ---- H2323 H2324]
// [H240 H241 H242 ---- H2423 H2424]
// In Step 1, whole M buffers (i.e., M0 to M24) and the first row of H (i.e.,
// H00 to H024) is filled. The remaining rows of H buffer are filled through
// steps 2 to 6.
static __const_java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
                                     int16_t       1 c1c1_even
                                    java.lang.StringIndexOutOfBoundsException: Range [0, 43) out of bounds for length 40
                                    int64_t *const M,    ++;  const_m
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
  int32_twiener_win=
     (    _m128i =_(c0_128bit,0_it )
  _    d_window = d;                                   
  / toprocess  java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 25
constwd_mul16  java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
   (_mm_srli_si128h11_128bitcastsi256_si128zero)
  const    sum_hjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
256_java.lang.StringIndexOutOfBoundsException: Range [1, 0) out of bounds for length 0
intdownsample_factor;

  // Step 1: Full M (i.e., M0 to M24) and first row H (i.e., H00 to H024)
  
  // to 4 (wiener_win-1). When the loop executed for a specific 'j', 5 values of
  // M and H are filled as shown below.
  // j=0: M0-M4 and H00-H04, j=1: M5-M9 and H05-H09 are filled etc,.
  int j = 0;
   
    [3 =zero;                                                          
    const int16_t *d_t = d;
    m256isum_mWIENER_WIN_CHROMA] {mm256_setzero_si256);
    _m256isum_hWIENER_WIN_CHROMA 
    downsample_factor =
        use_downsampled_wiener_stats WIENER_STATS_DOWNSAMPLE_FACTOR :1
    int proc_ht = v_start;
      H proc_ht  v_start;\
      

      // Process the amount of width multiple of 16.
      while  [1
        const    do {\
        const _constuint8_t
          int32_t *intjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
        const __m256i       /* Process the amount widthmultiple  16int64_t []2,int64_t2] {
Sd_t  j+proc_wd

        proc_wd        const _m256i dgd constuint8_t*  ;
      }

      // Process the remaining width here.(,df_reg);            java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
      if(
          const __m256i   ,java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
        _=mm256_loadu_si256_i)proc_wd;
        constm256isrc_mask=mm256_and_si256
  intjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 36
        const _m256i src_mul_df= _mm256_mullo_epi16(src_mask, forint dat_strideflt0flt0_stride flt1,
        constflt1_stride H )
        INIT_MH_VALUES00) {
      }calc_proj_params_r0_avx2  _mm_loadl_epi64mi)  dat_stride       _                                                      
      roc_ht=;
      s_t += downsample_factor * s_stride;
     _((m128i*srci +)
         _ dgd_mul_df=      __m256i f2 = _mm256_loadu_si256((__m256i *)(fltdat8,

    _m256i =}
        hadd_four_32_to_64_avx2(sum_m[0], sum_m[1], &sum_m[2], &sum_m _s      +java.lang.StringIndexOutOfBoundsException: Range [79, 34) out of bounds for length 80
    consts= =java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 80
    (m256i*M+ *)
    const uint8_t *dat8 m256i=;

     _     int2], 2)
0,1,sum_h2,sconstintsize=width height
    (_) uint16_t*=src8
    _mm_storeh_epi64((c  dat=        (__m256i *)(H + (i(java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 80
while+  ;

  // The below steps are designed to fill remaining rows of H buffer. Here, aim
  // is to fill only upper triangle elements correspond to each row and lower
opiedfrom - .Also,
  // mentioned in Step 1, the core function is designed to fill 5
  // elements/stats/values of H buffer.
  
  // Step 2: Here, the rows 1, 6, 11, 16 and 21 are filled. As we need to fill
/  l )// triangle) and M is done in steps as described below where each step fills
  // are need not be filled. As the core function process 5 values, in first
   /_// Example: Wiener window
  // from row6, etc.
   java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    // Update the dgd pointers appropriately and also derive the 'j'th iteration// [H60 H61 H62 ---- H623 H624]

    INITIALIZATION(WIENER_WIN_CHROMA)

    do {
      java.lang.StringIndexOutOfBoundsException: Range [30, 13) out of bounds for length 62

      // Process the amount of width multiple of 16.
       ( <wd_mul16 java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34

            _                         m,;
          int32_tjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61


        onstwd_mul16   _m256i  mm256_srli_epi64f1,)

      /   width ;
  const _128 =mm_unpacklo_epi64_java.lang.StringIndexOutOfBoundsException: Range [61, 61) out of bounds for length 44
        const _       _mm256_loadu_si256(_ )mask_16bit[   _   downsample_factor
            _mm256_loadu_si256((__m256i *)java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        (   arehere ,loopover'  java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 27
56_mullo_epi16d, df_reg  1]]=java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
        d_window+h01  0java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
      
            proc_ht
      d_window += downsample_factor * d_stride
      current_row =
     while(proc_ht <v_end);
    const _m256i    m256isum_h= mm256_setzero_si256 ;
        hadd_four_32_to_64_avx2(sum_h[0_mm256_srli_epi64f2
    _mm256_storeu_si256         dat_strideh11= mm256_add_epi64(,;

    ''
    j++;
    CALCULATE_REMAINING_H_WIN5
  

  // Step 3: Here, the rows 2, 7, 12, 17 and 22 are filled. As we need to fill
  // only upper-triangle elements, H20-H21 from row2, H70-H74 and H75-H76 from
  // row7, etc, are need not be filled. As the core function process 5 values,      const_const__isrc _alc_proj_params_r0_r1_avx2(src8, width,heightsrc_stride dat8,
  const m256i dgd  __(,,s;
  / H79fromrow7 .
  c0=mm256_add_epi64, )
    // Update the dgd pointers appropriately and also derive the 'j'th iteration
    // from where the H buffer filling needs to be started. +       __i(,width,java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 79
    INITIALIZATION(_256ic1_odd 

    do// Process the remaining width here.
      java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 32

      // Process the amount of width multiple of 16.
          calc_proj_params_r1_avx2( width,, src_stride,dat8 dat_stride,
        const                , , );
            _mm256_loadu_si256((_m256i *(}
        const __m256i dgd_mul_df = _mm256_mullo_epi16(dgd, df_regjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

  16java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      }

      // Process the remaining width here.
      if) {
        *java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
            _mm256_castsi256_si128(   *, *, 
             __m256ijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        _  _(,df_reg;
        INIT_H_VALUES(d_window    const =convert_32_to_64_add_avx2sum_m4 m256i java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 50
}
      ;
        t_m128ih0x_128bit=mm_add_epi64_(h0x_low ,
      d_current_row += downsample_factor                                           _mm256_castsi256_si128h0x_low)  _ ,h01java.lang.StringIndexOutOfBoundsException: Range [25, 23) out of bounds for length 32
    } while
     __m256i  java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
        hadd_four_32_to_64_avx2sum_h[0], sum_h1] &sum_h[2, &sum_h[3);
    _mm256_storeu_si256    mm_storeh_epi64_ih1x_low =

    
    j+
    CALCULATE_REMAINING_H_WIN5; j  )
  }

 3,,13   23mm_load_si128(m128i) +   )
  // only upper-triangle elements, H30-H32 from row3, H80-H84 and H85-H87 from
  
  // in first iteration of 'j' only 2 values to be filled i.e., H33-H34 from
  // row3, H88-89 from row8, etc.
     triangle,H10 fromrow1H6064  fromrow6e
    // Update the dgd pointers appropriately and also derive the 'j'th iteration_  xx_storeu_1H/iteration'only4 to   .,-row1-
    
    

    
UPDATE_DOWNSAMPLE_FACTOR

      // Process the amount of width multiple of 16.
 proc_wd wd_mul16) {
        const __m256i dgd =
            _java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
         m256ijava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 67
        INIT_H_VALUES(d_window +       // Process the amount of width multiple of 16.

        proc_wd +         mdgdjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
      

      /const_C
      if  
        const __m256i dgd =
            _mm256_loadu_si256((_h00=_mm256_add_epi64(,h00_even;
        h00 mm256_add_epi64(, )
constjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        INIT_H_VALUES(d_window + proc_wd + (3 * d_stride), 2        const_h01_odd _(

      proc_ht                                               _ const {
            const_m256idgd=
  *d_stridejava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
 )
    const __
    _mm_storeu_si128(      for  _ md,)

   
    +;
CALCULATE_REMAINING_H_WIN5
  }

  // Step 5: Here, the rows 4, 9, 14, 19 and 24 are filled. As we need to fill
  // only upper-triangle elements, H40-H43 from row4, H90-H94 and H95-H98 from    (h11 java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
 .  core 5
  // in first iteration of 'j' only 1 values to be filled i.e., H44 from row4,
 /java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
  for
/  java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 62
    // from where the H buffer filling needs to be started.
    _mm256_mul_epi32_f1 java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 35
    c0=
            =m256_add_epi64,)

      
      /in  'java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
c _ / row2, H77-H79 from row7, etc.
_java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 69
        const __m256i     
1

        proc_wd += 16;
}

      // Process the remaining width here._
      if (const __m256i 
t_ }
            _*  

const java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 72
       _+   )java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
      
proc_ht=
d_window=java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 47
         .
}<
   const_
                _  _i=_mjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 72

/ the 
    j;
    CALCULATE_REMAINING_H_WIN5      =java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
}

 . wetoonly
  // upper-triangle elements, H50-H54 from row5, H100-H104 and H105-H109 from
xx_storeu_128( java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 80
  // from row5 and H1010-H1014 from row10, etc.
xx_storeu_128H,)
    // Derive j'th iteration from where the H buffer filling needs to be
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        /   // Using  C[0] /= size;] java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
    int java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 8
    do {
java.lang.StringIndexOutOfBoundsException: Range [32, 6) out of bounds for length 47
      int proc_ht =  
      const int16_t  
const* *intflt1_stride
 ([2,C]
      downsample_factor
                 java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 76
      java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
      // from where the H buffer filling needs to be started.constuint16_tdatCONVERT_TO_SHORTPTR(;
        (java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 37
     {
        // Process the amount of width multiple of 16.      UPDATE_DOWNSAMPLE_FACTOR
                  ofwidthmultipleof16.
           _
                      const_m256i =
const m256ijava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 18
INIT_H_VALUES++proc_wd )

          =;
        }

        thejava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 44

          const __java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 7
              _mm256_loadu_si256((
          _m256idgd_mask =   
          onst_m256i dgd_mul_df =_H1]0_f2 mm256_loadu_si256(_ *( + *flt1_stride  j)
  ,)
        }
           C0]=size
        INIT_H_VALUES( + proc_wd +(3  d_stride)
        d_current_row +=       f2 = _mm256_sub_epi32f2proc_ht +
      }while(roc_htjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0

      const __m256i s_h =
          hadd_four_32_to_64_avx2([,sum_h}
      _mm256_storeu_si256(x2sum_h sum_h[
                          );
      const __m256i s_m_h =    // process the remaining 'j' iterations.
      const_   (s_m_h s_m_h);
      _m_storel_epi64(
          java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
      shift
    }_  mm256_mul_epi322,)
  }

  (,__( ,ms)
}//infirstiteration' even;

// The buffers H(auto-covariance) and M(cross-correlation) are used to estimate
// the filter tap values required for wiener filtering. Here, the buffer H is of
// size ((wiener_window_size^2)*(wiener_window_size^2)) and M is of size
// (wiener_window_size*wiener_window_size). H is a symmetric matrix where the
// value above the diagonal (upper triangle) are equal to the values below the
// diagonal (lower triangle). The calculation of elements/stats of H(upper
// triangle) and M is done in steps as described below where each step fills
// specific values of H and M.
// Example:
// Wiener window size = WIENER_WIN (7)
// M buffer = [M0 M1 M2 ---- M47 M48]
// H buffer = Hxy (x-row, y-column)
// [H00 H01 H02 ---- H047 H048]
// [H10 H11 H12 ---- H147 H148]
// [H30 H31 H32 ---- H347 H348]
// [H40 H41 H42 ---- H447 H448]
// [H50 H51 H52 ---- H547 H548]
// [H60 H61 H62 ---- H647 H648]
//            ||
//            ||
// [H470 H471 H472 ---- H4747 H4748]
// [H480 H481 H482 ---- H4847 H4848]
// In Step 1, whole M buffers (i.e., M0 to M48) and the first row of H (i.e.,
// H00 to H048) is filled. The remaining rows of H buffer are filled through
// steps 2 to 8.
staticcompute_stats_win7_avx2
                                    const int16_t *const                mm_load_si128_*m _(,8java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
t32_twidth,v_start,int
                                    * ,*_(const_ mm_unpacklo_epi64_zero,);
                                     _ =
 const  wiener_win
  const    +downsample_factor
// Amount of width which is beyond  java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 73
  
   wd_mul16      _  m256_slli_epi32S;
     -
constm256imaskjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
      ( ) );
  int downsample_factor;

  // Step 1: Full M (i.e., M0 to M48) and first row H (i.e., H00 to H048)
  // values are filled here. Here, the loop over 'j' is executed for values 0// AVX2 variant of av1_calc_proj_params_high_bd_c.
/(  src8  
  // filled as shown below.
// j=0: M0-M6 and H00-H06, j=1: M7-M13 and H07-H013 are filled etc,.                                         
  int
  
    int16_t
     int16_t d_t  ;
    msum_mW]={mm256_setzero_si256 
    do java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    downsample_factor =

          const   i  ) 22,]
    do{
UPDATE_DOWNSAMPLE_FACTOR)if(-[>0&downsample_factor=

_      _ [ {( java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
       (         
        const _
c _ m256_loadu_si256(m256i( proc_wd)
        const _while(  wd_mul16java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
         256i=mm256_mullo_epi16dgd,df_reg;
        INIT_MH_VALUES _mm256_loadu_si256(_m256i )java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 3

         + 16
                                           dat_strideproc_wd_mm256_castsi256_si128)java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72

      if(wd_beyond_mul16)  calc_proj_params_r1_high_bd_avx2(, width height, src_stride, dat8,
        const _m256isrc=dat_stride        ( 
        const _   mm256_loadu_si256(__ )d_t proc_wd);
              ((mi )d_current_row  
        const_ =_( mask
        const _dgd_mul_df =_(,df_reg);
        const _m256i =_dgd_mask,df_reg)
const_ = java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 37
      }
      proc_ht += downsample_factor;
       +   ;
  
    } while (proc_ht < v_end java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 76

    const _ _mm256_storeu_si256_m256i )  k
                                  s_h;
     =
          const   mm256_set1_epi321 <shift-)
mjava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 0
    _
                     java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 51
    _const uint16_t *dat     )
                     _ );

    const __static void
        hadd_four_32_to_64_avx2(sum_h[0],     uint8_tconst/Theauto)/ tap wiener_window_size^2)) and M is of size
    const __m256i sh_1 =
 where each step fills
    _/specific  ofHand
    mm_storeu_si128M2 --M47// H buffer = Hxy (x-row, y-column)
                     _java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 34
    _// [H50 H51 H52 ---- H547 H548]
                     mm256_extracti128_si256(const|
  } while// [H480 H481 H482 ---- H4847 H4848]

  // The below steps are designed to fill remaining rows of H buffer. Here, aim
/triangle  toeachrow 
  // triangle elements are copied from upper-triangle elements. Also, as
 in/
  // elements/stats/values of H buffer.
  const__ int64_tconst,constjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  
,tcneedjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 78
  // in first iteration of 'j' only 6 values to be filled i.e., H11-H16 from

   width~;
   =-
hereconst_  
    INITIALIZATION(WIENER_WIN)

intdownsample_factor__  j)
      UPDATE_DOWNSAMPLE_FACTOR

      // Process the amount of width multiple of 16.
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         _00H06 = M13 andH07H013
     java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 33
   {
        d_window  * s;

         = 
    m256i [WIENER_WIN          _ flt1l=(  ;

        _ =lt1  8;
      if// flt?l, flt?h = [15 14 13 12] [11 10 9 8], [7 6 5 4] [3 2 1 0] as u32  java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 74
        const __m256i dgddo{
            11=mm256_add_epi64,;
         java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
        const   _dgd_mask ;
         __m256i src = _mm256_loadu_si256m256i)s_t proc_wd;
      }
       +       _ 
              const_m256ijava.lang.StringIndexOutOfBoundsException: Range [26, 10) out of bounds for length 80
       + java.lang.StringIndexOutOfBoundsException: Range [36, 33) out of bounds for length 61
            (    )
    const
        0, sum_h] &3;
    _mm256_storeu_si256(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     _  convert_32_to_64_add_avx2(sum_h[] [];
    _java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 71
         _ =mm256_and_si256src_        const  mm256_mullo_epi32(,xq0)_m256i  =_(flt0l_subu,xq0)
    
    j_         _   java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 64
    const_m256i   _m256_mullo_epi16(gd_maskconst_ c _m128ih11_val
  }

  // Step 3: Here, the rows 2, 9, 16, 23, 30, 37 and 44 are filled. As we need
/
   
  // process 7 values, in first iteration of 'j' only 5 values to be filled
/ e H26  H99  
  for (  (< mi m  mm_add_epi64( mm_srli_si128,);
    // Update the dgd pointers appropriately and also derive the 'j'th iteration
    // from where the H buffer filling needs to be started.
    (WIENER_WIN        sum_m][,sum_m]]

DATE_DOWNSAMPLE_FACTOR_ =_(_*   +)java.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67

      // Process the amount of width multiple of 16.)
       proc_wd<)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
        _ =
            _mm256_loadu_si256((__m256i *
        constize;
        INIT_H_VALUES(d_window

        proc_wd += /   
      

      // Process the remaining width here.
i             _, vrh xd8;
        const _mi =
            mm256_loadu_si256tracti128_si256// intermediate = [15 14 13 12 7 6 5 4] [11 10 9 8 3 2 1 0]
        const __m256i java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0
        /Add--filter  java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 77
        
      }
      proc_ht += downsample_factorint64_tH2[] int64_t  // row8, etc. are need not be filled. As the core function process 7 values,
      d_window += downsample_factor * d_stride;const__m256i
      =java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 52
<
    const __m256i
        ([]
    _mm256_storeu_si256
     _m256idat_stride     java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
    const      flt1_stride ,__()
    _      /Processwidthmultipleof16.

    // process the remaining 'j' iterations.
    +;
    CALCULATE_REMAINING_H_WIN7
                                     ,, ,;

  
// to fill only upper-triangle elements, H30-H32 from row3, H100-H106 and
         +
  // process 7 values, in first iteration of 'j' only 4 values to be filled
      /  remaining widthherejava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
  for (int i = 3; i }
/  dgd alsoderive j'
    // from where the H buffer filling needs to be started.
    INITIALIZATION(WIENER_WIN)

    do                 java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 73
      

/ Processthe amount width       src+src_stride
      while       d_current_row + downsample_factor *d_stride;
        st_  
            const_m256is_hjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
         _    mm256_storeu_si256(*H}
        d_window +proc_wd (  java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 41
const _src=CONVERT_TO_SHORTPTRjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 50
q_active xq_on
}

      // Process the remaining width here.
      ififStep:t  ,9 23    fltparamsr[ 0 :
         java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
             _q1m(]
        const   // i.e., H22-H26 from row2 and H99-H913 from row9, etc.
        _m256idgd_mul_df =_m256_mullo_epi16(, df_reg)
            // Updateor0;   -;=)
      }
      +_  =yy_loadu_256 j;
     + // s0 = [15 14 13 12 11 10 9]7  32java.lang.StringIndexOutOfBoundsException: Range [60, 1) out of bounds for length 68
      
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     _256java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 49
       proc_wd            
    _mm256_storeu_si256((_         _m256i  

    // process the remaining 'j' iterations.
   j+
_REMAINING_H_WIN7_m(
  }

  // Step 5: Here, the rows 4, 11, 18, 25, 32, 39 and 46 are filled. As we need
  // to fill only upper-triangle elements, H40-H43 from row4, H110-H116 and java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
// H117-H1110 from row10, etc. are need not be filled. As the core function
 7
  // i.e., H44-H46 from row4 and H1111-H1113 from row11, etc.
  for (int         _ _// u0h, u0l = [15 14 13 12] [11 10 9 8], [7 6 5 4] [3 2 1 0] as u32
/
    // from where the H buffer filling needs to be started. /flthfltl 14]111098 7   0as
    (


      

      // Process the amount of width multiple of 16.
       <{
        const __m256i dgd =
            _    _mm256_storeu_si256const_m256id0l_xqconstmi mflt0l
        _=java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 67
        const __m256i_256_( java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61

        proc_wd += 16;
      }

      /          java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
        
        const __/ ,10 ,2431,45.  
            _mm256_loadu_si256((__c _ -    areneednotbe. ore
        const _        // process 7 values, in first iteration of 'j' only 4 values to be filled
         =    =  wiener_win2   ){
        INIT_H_VALUES(d_window + const __m256i v1h = _mm256_mullo_epi32     
      }
      proc_ht +=java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
      d_window+= downsample_factor *       (proc_wd<wd_mul16){
      d_current_row += downsample_factor * d_stride;
    } while (const __m256i dgd ;
     _s_h=
        hadd_four_32_to_64_avx2(sum_h        =16
    

    // process the remaining 'j' iterations.
    j++;
    
  }

  
  // to fill only upper-triangle elements, H50-H54 from row5, H120-H126 andjava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 72
  // H127-H1211 from row12, etc. are need not be filled. As the core function
  // process 7 values, in first iteration of 'j' only 2 values to be filled
 /ie,-fromrow5and- from const_=_m_vr ) s0)
for(   5  < wiener_win2; i+         // Calculate squared error and add adjacen/ The  [ 0 weirdorderingfromAVXlanes
    // Update the dgd pointers appropriately and also derive the 'j'th iteration
    // from where the H buffer filling needs to be started.
    
do }
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0


      whileproc_wd wd_mul16){
          H117 
            m=  
        constconstH46fromandH1111H1113 row11 .
        d_window

       proc_wd// from where the H buffer filling needs to be started.
      

      // Process the remaining width here.   ; ;+)
      
        const __java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
_(* ;
        const _const_ dgd=
        _(_ ( ;
        INIT_H_VALUES(+       +  =java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 46
              d_window+dat+ 
      proc_ht +src+src_stride
               =;
      d_current_row +}
    } java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
_java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
        hadd_four_32_to_64_avx2(sum_h[0], sum_h[1], &java.lang.StringIndexOutOfBoundsException: Range [0, 58) out of bounds for length 34
_(_m256i)H+(    ),s_h;

    
    const_}
    const __m256i d0h_xq_,)
  }const wd_beyond_mul16 {

              _mm256_loadu_si256((__m256i *)(d_current_row + proc_wd));
/
  // H137-H1312 from row13, etc. are need not be filled. As the core function _java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 72

  // i.e., H66 from row6 and H1313 from row13, etc.  (  ;
  for )/ =   ]1110  ] [64 [  10]i32
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    // from where the H buffer filling needs to be started.

     
    j         _  

              
      while (proc_wd <  / :Heretherows  ,20,27 3441 and48arefilled sweneed
        const __m256i dgd =
            _mm256_loadu_si256((__m256i *)(d_current_row + proc_wd));
        const __  // to fill only uppertriangleelements - ,H130 /java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 77
        INIT_H_VALUES(         _=_m256_sub_epi16( ))

        proc_wd += 16;
      }

      // Process the remaining width here.
      if (wd_beyond_mul16) {
        const __m256i dgd =
            _mm256_loadu_si256((__m256i *)(d_current_row + proc_wd));
        _ dgd_mask =_mm256_and_si256dgd );
        const __m256i dgd_mul_df = _mm256_mullo_epi16(dgd_mask, df_reg);
        INIT_H_VALUES(d_window + proc_wd + (6 * d_stride), 1)
      }
              sum32 = _m256_add_epi32(um32 )
      d_window += downsample_factor * d_stride;
      d_current_row += downsample_factor * d_stride;
    } while (proc_ht < v_end);
    process7values  first   j'   java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
        (01,sum_h] sum_h3)
    xx_storel_64(&H[(i *       sum64  )

    // process the remaining 'j' iterations.
    j+;
    CALCULATE_REMAINING_H_WIN7
  }

  // Step 8: Here, the rows 7, 14, 21, 28, 35 and 42 are filled. As we need
{
/H147-row14etc   The  of
 H77H713fromrow7andH1414H1420fromrow14,etc.
  for (int i_mm256_loadu_si256((_m256i *( +proc_wd)
    const __m256i dgd_mul_df = _mm256_mullo_epi16(dgd, df_reg);
    // started.
    j = i / wiener_win;
    int shift = 0;
    do {
      // Update the dgd pointers appropriately.
      int proc_ht = v_start;
      const int16_t *d_window      // Process the remaining width here.
      constint16_t* 
          d + (i /        const_  
      downsample_factor =
          use_downsampled_wiener_stats         _ dgd_mask= _mm256_and_si256(dgd, mask);
      __m256i sum_h[WIENER_WIN] = { _mm256_setzero_si256() };
      do {
        UPDATE_DOWNSAMPLE_FACTOR

        INIT_H_VALUESd_window++( ,)
while   
           window+   ;
_(_m256i)d_current_row  proc_wd)
          const
          INIT_H_VALUES(java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 23

          proc_wd += 16;
        }

        // Process the remaining width here.
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 30
          const_m256idgd=
              _mm256_loadu_si256
     _m256idgd_mask jjava.lang.StringIndexOutOfBoundsException: Range [8, 9) out of bounds for length 8
      _ )
          INIT_H_VALUES(
        }
        proc_ht +=         int32_t v = xq_on * (flt[k/
        d_window += downsample_factor * d_stride;
        d_current_row=*d_stride;
      } while (proc_ht < v_end);

const
                dat += dat_stride // Derive j'th iteration from where the H buffer filling needs to be
       int   ;
          sum_h[flt+ flt_stride
      _mm256_storeu_si256((__m256i *)(H + (i * wiener_win2) + (wiener_win *//Update     
                          sh_0);
      _mm_storeu_si128(
          (_   0   +)
          _mm256_castsi256_si128(sh_1)      _const*d_current_row=
      mm_storel_epi64(_  ;+32 
      _// Load 2x16 u16 from source image
      ++
ener_win;
  }

  fill_lower_triag_elements_avx2(wiener_win2, H);
}   fromimage

ntwiener_win,  dgd
                            while(roc_wd<wd_mul16         _m256id0h dat+  16
                             
                            nt         corrupted  fromsourceimage
                            int src_stride         _m256idiffl=        onst_ =m256_mullo_epi16,df_reg;
                            int use_downsampled_wiener_stats) {
IENER_WIN&wiener_win!WIENER_WIN_CHROMA {
    // Currently, libaom supports Wiener filter processing with window sizes as
    /WIENER_WIN_CHROMA add adjacent values
upportisnotfacilitated   _( diffl;
    av1_compute_stats_c(wiener_win,
                        v_start,v_end dgd_stride,,,,
                        use_downsampled_wiener_stats)
    __m256i*)
  }

  java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 74
  const uint8_t}
      proc_ht=;
          d_window =downsample_factor(_mm256_castsi256_si128();
  const d_current_row+sum64,)
  const int32_t d_stride = (width +      } while(  
  const int32_t s_stride = (width + 15) & ~15      const __sh_0=

      m256_add_epi64,
  // UPDATE_DOWNSAMPLE_FACTOR or for each row.
  sub_avg_block_avx2(src + v_start * src_stride + h_start, src_stride, avg,
               width ,,
                     use_downsampled_wiener_stats);

  // Compute (dgd-avg) buffer here which is used to fill H buffer.
  java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
      dgd + (java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
      dgd_stride, avg, width + 2shift        java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
d,d_stride )  
  
    compute_stats_win7_avx2(  fill_lower_triag_elements_avx2(wiener_win2, H);
                            v_start, v_end, M, H, use_downsampled_wiener_stats);
  } else java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
(dgd_avg,d_stridesrc_avg,
                            v_start, v_end, M, H, use_downsampled_wiener_stats);
  
}

static inline __m256i pair_set_epi16(int v_start intv_endint
  return _mm256_set1_epi32(
      (int32_t)(((uint16_t)(a)) | (((uint32_t)(uint16_t)(b)) <}
}

java.lang.StringIndexOutOfBoundsException: Range [30, 7) out of bounds for length 40
    constuint8_t src8,intwidth intheight intsrc_stride
    // WIENER_WIN_CHROMA)andWIENER_WIN(.SIMD
    int32_t *flt1, int flt1_stride, int/ supportisnotfacilitated.Hence,invokeCfunction   same
  int i,av1_compute_stats_c( dgd ,dgd_avg ,h_start h_end,
  const int32_tv_start ,dgd_stride,src_stride M ,
  const __m256i                         use_downsampled_wiener_stats);
  __m256i sum64 = _mm256_setzero_si256();
  const uint8_t *src = src8;
  const uint8_t *dat = dat8;
  int64_t err = 0;
  if (params->r[0] > 0 && params->r[1] > 0) {
    __m256i xq_coeff = pair_set_epi16(xq[    return
    for (i = 0;java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      __m256i sum32 = _mm256_setzero_si256();
       j=;j=width-;j+ ) 
        const __m256i d0 = _mm256_cvtepu8_epi16(      calc_dgd_buf_avg_avx2(  , ,dgd_stride;
java.lang.StringIndexOutOfBoundsException: Range [29, 8) out of bounds for length 71
        const __m256i  const height=v_end-v_start;
            mm256_packs_epi32(flt0+j),
                               yy_loadu_256(flt0 + j + 8)),
            0xd8);
        const __m256i flt1_16b = _mm256_permute4x64_epi64(
            _mm256_packs_epi32(yy_loadu_256(flt1 + j),
                               yy_loadu_256
            xd8);
        const __m256i u0 =  // UPDATE_DOWNSAMPLE_FACTOR or for each row.
        const __m256i flt0_0_sub_u = _mm256_sub_epi16(flt0_16b, u0);
        const __m256i flt1_0_sub_u = _mm256_sub_epi16(flt1_16b, u0);
        const __m256i v0 = _mm256_madd_epi16java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
            ,
        java.lang.StringIndexOutOfBoundsException: Range [21, 13) out of bounds for length 54
                                 java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 51
        const      dgd + (v  *dgd_stride h_start - wiener_halfwin,
dgd_stride ,width+2*wiener_halfwin + 2*wiener_halfwin,
         _  
w =WIENER_WIN 
         _   _(
            _mm256_add_epi16(_v_start ,M  ;
         _ err0=_mm256_madd_epi16(,e0;
  mm256_add_epi32sum32,err0;
      }
       (k=j   ; +k 
        const 
        int32_t v =java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
        const int32_t e = java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 27
        err += ((int64_t))a) (()(() <16);
      }
      dat += dat_stride;
            =src_stride
      flt0 += flt0_stride;
      flt1 += flt1_stride;
      const __m256i sum64_0 =
;
      _  
             ,j ;
      sum64  _(sum64 sum64_0)
      sum64 = _mm256_add_epi64const=_mm256_set1_epi32(1 < (  1)
    }
  } else if (params->r[0] > 0 || params->r[1] > 0) {
    const int xq_active = (params->r[0] > 0) ? xq[0] : xq[1];
     _  
        pair_set_epi16(  const uint8_t *dat = dat8 uint8_t*  dat8java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    const int32_t *flt = (params->r[0] >   if params-r[]>0 ¶ms->r1]>0
    const  flt_stride =(java.lang.StringIndexOutOfBoundsException: Range [46, 34) out of bounds for length 74
    for (i = 0;for i=0 i<height;+){
      __m256i sum32 = _mm256_setzero_si256();
      for (j = 0; j <= width - 16; j += 16) {
        const =_(  j);
const_ s0=_mm256_cvtepu8_epi16xx_loadu_128src  );
        const_m256i  =_(
            _mm256_packs_epi32(yy_loadu_256(flt + j),
                               flt+j+8)
            0xd8);
         _m256i v0 =
            _mm256_madd_epi16(xq_coeff, _( +j+ 8),
         _ v1 
            _const_m256i  =_mm256_permute4x64_epi64(
                    _(yy_loadu_256(flt1 + j),
            _mm256_srai_epi32(_mm256_add_epi32(v0, rounding), shift);
        const __m256i vr1 =
            _                  flt1 +j  8)
        const __m256i e0  0xd8;
            _mm256_add_epi16        const_m256i   mm256_slli_epi16d0 SGRPROJ_RST_BITS)
        const __m256i err0const_m256iflt0_0_sub_u =_mm256_sub_epi16( u0;
        sum32 = _mm256_add_epi32(sum32, 256sub_epi16(, ;
      }
      for(  j k  ;+k) {
        const int32_t u = (int32_t)(dat[k] << SGRPROJ_RST_BITS);
           *([]-u;
        const int32_t e = ROUND_POWER_OF_TWO(v, shift) + dat[k]const_m256i  = _mm256_madd_epi16(
        );
      }
      dat =dat_stride;
      src += src_stride;
       =flt_stride
      const __m256i sum64_0 =
          _mm256_cvtepi32_epi64(_mm256_castsi256_si128(sum32))_mm256_srai_epi32(mm256_add_epi32v1 
      _ =
          _mm256_cvtepi32_epi64(_mm256_extracti128_si256(_mm256_add_epi16(_mm256_packs_epi32(vr0, vr1), d0,s0;
      um64=mm256_add_epi64sum64,sum64_0;
      sum64 = _mm256_add_epi64(sum64, sum64_1);
    }
  } else {
    __m256i sum32 = _mm256_setzero_si256();
    for (i = 0; i < height; ++i) {
      for constint32_t   int32_t)[ <SGRPROJ_RST_BITS);
        const _m256i d0 =_mm256_cvtepu8_epi16((dat+j)
        const __m256i s0 = _mm256_cvtepu8_epi16(xx_loadu_128(src + j));
        const __m256i diff0 = _mm256_sub_epi16(d0, s0);
         __m256ierr0= _mm256_madd_epi16(diff0,diff0;
        sum32 = _mm256_add_epi32(sum32, err0)        constint32_te= ROUND_POWER_OF_TWO(v, shift)+datk  src[];
      
      }
         int32_t   ()(dat[)- srck]
        errsrc+ src_stride;
      }
      dat += dat_stride;
      src += src_stride;
    }
    const __m256i sum64_0 =
        _mm256_cvtepi32_epi64(_mm256_castsi256_si128(sum32));
    const __m256i _stride;
        const_m256isum64_0 
    sum64__sum32)
  }       _  java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
  int64_t sum[4];
  yy_storeu_256(sum, sum64);
  err += sum[0] + sum[1] + sum[2] + sum[}
  return err;
}

// When params->r[0] > 0 and params->r[1] > 0. In this case all elements of
// C and H need to be computed.
static inline void calc_proj_params_r0_r1_avx2(
    const uint8_t *src8, int width, int height, int src_stridepair_set_epi16xq_active xq_active*( < 
      dat8  , int 
    int32_tconst   params>0  ) :;
  const int size = width_   _java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 45
  const uint8_t *src = src8;
  const uint8_t *dat = dat8;
  __m256i h00, h01, h11, c0, c1;
  const __m256i zero = _mm256_setzero_si256();
  =h11=c0=c1  h00=zero

  for inti=0   height;++i 
    for (int j = 0_m256_packs_epi32yy_loadu_256flt+j)java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
      const __m256i u_load0);
        const __256i v0 =
      const __m256i s_load = _mm256_cvtepu8_epi32(
          _(_m128i*(  i*+j);
_   _ )flt0+i    );
      _m256if2 (_ )(flt1+i*flt1_stride  j)
      _ const_m256ivr0=
      _ =_( ;
               _m256ivr1 
            _(,rounding,;
      f2 _f2,)

       _m256i h00_even  _mm256_mul_epi32(, ;
      const __m256i h00_odd         _m256ierr0 =_e0,e0;
                                               _mm256_srli_epi64(f1, 32}
      h00 = _mm256_add_epi64(h00, h00_even);
      h00 =mm256_add_epi64(,h00_odd)

      const __m256i h01_even = _mm256_mul_epi32( constint32_te=vshift+dat[] [];
      const __m256i         err += ((int64_t)e )
                                               _       =
      pi64( ;
       _(,;

      _ =_(,f2)
      (f2 32,
                                               _f2 ))
        sum64,)
      h11 = _java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 10

      const __s  _sum32 )
      const __m256i c0_odd =
          mm256_mul_epi32(mm256_srli_epi64(,32,_s );
      c0 = _mm256_add_epi64constint32_t   ()datk) k;
      c0 = _mm256_add_epi64(c0, c0_odd)      }

      const __m256i c1_even}
      const __m256i c1_odd =
          _mm256_mul_epi32(_mm256_srli_epi64(java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 27
      c1 =        _mm256_cvtepi32_epi64(_s,1);
       
    }
  }

  _256  _(,c1;
  const_m256ic_high=_c0 );
  java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
_m128i   mm_add_epi64c_low,1,
                                         _const uint8_t *dat8, int dat_stride, int32_t  ,

  const      ;
  const __m256i h0x_high = _java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 28
  h0x_low =const _   )
   _h0x_128bit  _(mm256_extracti128_si256,1,
                                           _

  /the symmetric properties of H,  calculations of H[1][0] are not
  // needed.
  _   _( h11;
  const_m256i   
     )
  const_   m(
                                           h1x_low);

  xx_storeu_128(C, c_128bit);
  H0] ;
  java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 62

  H[0][0] /= size;
  [[]/ ;
  []1] / size

  // Since H is a symmetric matrix
  []0]  []1]
  C[(mm256_srli_epi64,)
  C[_mm256_srli_epi64(,32)
}

// When only params->r[0] > 0. In this case only H[0][0] and C[0] are
// non-zero and need to be computed.
 calc_proj_params_r0_avx2uint8_t src8,int ,
                                              intsrc_stride
                                            const uint8_t *dat8,                                                _mm256_srli_epi64(f2,)
   int32_t * intflt0_stride
                                            int64_t H[2][2], java.lang.StringIndexOutOfBoundsException: Range [0, 68) out of bounds for length 0
  const int size = width * height;
  const uint8_t *src = src8;
  const uint8_t *dat = dat8;
  ;
  const_m256i ero=_(
  c0 = h00 =       const __m25ic0_even=mm256_mul_epi32,)

  for (int i = 0; i < height; ++i) {
    for (int j = 0; j < width; j += 8)       c0  mm256_add_epi64c0 )
      _   mm256_cvtepu8_epi32(
          mm_loadl_epi64(_ *d  i*dat_stride  j);
      onst_m256is_load = _mm256_cvtepu8_epi32
          mm_loadl_epi64(_*(    java.lang.StringIndexOutOfBoundsException: Range [60, 58) out of bounds for length 66
_m256ic_low=_(c0 c1;
      _d=_u_load )
      __m256i s =   = mm256_add_epi64(,c_high;
      s    _m128ic_128bit=mm_add_epi64_m256_extracti128_si256(,1,
      f1 = _mm256_sub_epi32(f1, d);

      const __m256i h00_even = _mm256_mul_epi32(f1, f1);
       _m256ih00_odd=mm256_mul_epi32(mm256_srli_epi64,)
                                               _mm256_srli_epi64(f1, 32));
      h00 =const  mm_add_epi64_( 1
      h00 = _mm256_add_epi64

 __m256ic0_even=mm256_mul_epi32f1,);
      const __m256i c0_odd =
          _mm256_mul_epi32_m256ih1x_low=mm256_unpacklo_epi64,h11;
        mm256_add_epi64c0,c0_even;
      c0 = _mm256_add_epi64(c0,
    
  }
  const __m128i h00_128bit =xx_storeu_128(H1,;
                                           _mm256_castsi256_si128(h00))  []0]=size
  const __m128i h00_val =
      _mm_add_epi64(h00_128bit, _mm_srli_si128(h00_128bit, 8));

   __ c0_128bit=_(mc0,1,
                                          _java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 20
  C =

  // When only params->r[0] > 0. In this case only H[0][0] and C[0] are
  const __m128i h0x = _mm_unpacklo_epi64(h00_val, _mm256_castsi256_si128(zero)static  void constuint8_t*,intwidth,

  xx_storeu_128(C, c);
  xx_storeu_128(H[0], h0x);

  []0]/= ize
  C[0] /= size;
}

// When only params->r[1] > 0. In this case only H[1][1] and C[1] are
// non-zero and need to be computed.
static voidcalc_proj_params_r1_avx2  *,intwidth,
                                            
                                             *,int
                                            int32_t *flt1,   const _  =_)
                                            int64_t H[2][2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   width* ;
 =
  const uint8_t *dat(_m128i*(  i    );
  m ,c1
  const __((_ )src+  +j);
  c1=h11=zero;

  __   _s_load 
     intj=;j<  =8 {
const _ =_
          _
      const _   _(
          _mm_loadl_epi64      const __m256i h00_odd  _mm256_mul_epi32(mm256_srli_epi64f1,)
      __256   mm256_loadu_si256(_m256i )flt1+  flt1_stride+j)
      __m256i d =      h00=_mm256_add_epi64h00,h00_even;
      d, )
      s = _mm256_sub_epi32(sjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      f2 = _mm256_sub_epi32(f2, d);

      const __m256i h11_even  _mm256_mul_epi32(f2 f2)
      const __    
                                               _const_m128ih00_128bit  _m_add_epi64(mm256_extracti128_si256(, 1,
      h11 = _mm256_add_epi64(h11, h11_even);
      h11 = _mm256_add_epi64(h11, h11_odd);

      const  const__m128ih00_val=
            _  java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
             mm256_mul_epi32(mm256_srli_epi64,32,_s );
       (,
   _   _mm_add_epi64(,_()
    }
  }

   _ h11_128bit=__(h11,1,
                                           
  const __m128i h11_val =
      _java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0

  const __m128i c1_128bit = _mm_add_epi64(_mm256_extracti128_si256
                                          _mm256_castsi256_si128(c1));
  const __m128i c1_val = _mm_add_epi64(c1_128bit,  voidcalc_proj_params_r1_avx2( uint8_t* intwidth

  ), c1_val)
  const __m128i h1x = _mm_unpacklo_epi64(_mm256_castsi256_si128(zero), h11_val);

  xx_storeu_128                                             [2[] int64_t [] {
  xx_storeu_128(H[1], h1x);

  H[1][1]_h11 ;
  C[1] /= sizec1=h11 ;
}

// AVX2 variant of av1_calc_proj_params_c.
voidav1_calc_proj_params_avx2(onstuint8_t*,intwidth, int,
                               int src_stride, const uint8_t *dat8,
                               ride,int32_t*,intflt0_stride,
                               int32_t *const mm256_cvtepu8_epi32(
                               C2],constsgr_params_type *params) {
  if ((params->r[0] > 0) && (params->r[1] > 0)) {
    calc_proj_params_r0_r1_avx2(src8, width, height, src_stride, dat8,
                                dat_stride, flt0, flt0_stride, flt1,
                                flt1_stride, H, C);
  } else if (params->r[0] > 0) {
    calc_proj_params_r0_avx2(rc8widthheight ,dat8 
                             flt0, flt0_stride, H      _m256id=mm256_slli_epi32u_load,;
    (params->r[1] > 0) {
    src8,width height, dat8,
                             flt1,
  
}const_ =__f2,32,

#h11, h11_even)
java.lang.StringIndexOutOfBoundsException: Range [18, 6) out of bounds for length 55
    constuint8_t*,intwidth  height  
    const uint8_tconst_m256ic1_odd=
    int32_t *flt1,           _mm256_mul_epi32mm256_mul_epi32_m256_srli_epi64(,32,_s );
  const int sizec1=m(,;
  const
  const uint16_t *dat = const __m128i h11_128bit = _mm_add_epi64(_mm256_extracti128_si256(h11, 1),
  __m256i h00, h01, h11, c0, c1;
        mm_add_epi64(,_h11_128bit );
  h01 = const_  =_mm_add_epi64c1 )

  for __m128ic1_val=_(c1_128bit, mm_srli_si128c1_128bit 8)
    for (int j = 0; j < width; j += 8) {
      const __m256i    _ c=__zero),c1_val;
          _mm_load_si128((__m128i *)(dat + i *   const h1x = _mm_unpacklo_epi64(_mm256_castsi256_si128zero,h11_val;
      const __m256i s_load = _mm256_cvtepu16_epi32  
          _mm_load_si128(
      _ f1  mm256_loadu_si256(_ )flt0+*flt0_stride  j)
      f2=_ )+   +);
_ m(u_load )
      __m256i s = _mm256_slli_epi32(s_load
      s = _mm256_sub_epi32(s, d);
      f1=mm256_sub_epi32f1,)
      f2 = _mm256_sub_epi32(f2,                                in ,const *at8

       _ =_f1 )
      const __m256i h00_odd = _mm256_mul_epi32(_mm256_srli_epi64int64_t C2]  *)
mm256_srli_epi64(,32);
      h00 = _mm256_add_epi64(    calc_proj_params_r0_r1_avx2( ,,src_stride,dat8,
      h00 = _mm256_add_epi64(h00, h00_odd);

      const __m256i h01_even = _mm256_mul_epi32(f1, f2);
      const __m256i h01_odd = _mm256_mul_epi32(_mm256_srli_epi64(f1, 32),
                                               _mm256_srli_epi64(f2, 32));
      h01 = _mm256_add_epi64(h01, h01_even);
      h01 = _mm256_add_epi64(h01, h01_odd);

      const __m256i h11_even = _mm256_mul_epi32(f2, f2);
      const __m256i h11_odd = _mm256_mul_epi32src8 ,  ,dat_stride,
                                               _mm256_srli_epi64(f2, 32));
      h11=_mm256_add_epi64(, h11_even)
      h11 = _mm256_add_epi64(h11, h11_odd);

      const __m256i c0_even = _mm256_mul_epi32(f1, s);
      const __m256i c0_oddstatic inline  calc_proj_params_r0_r1_high_bd_avx2(
          mm256_mul_epi32mm256_srli_epi64(,32,
      c0 _(c0 c0_even)
      c0 = _mm256_add_epi64(c0, c0_odd);

      const __const int size    ;
c _  
m(f232,_s);
      c1 = _mm256_add_epi64(c1, c1_even);_m256ih00  , ,c1
      c1 = _mm256_add_epi64(c1, c1_odd);
    }
  }

  i64 )
  const intj=0     =8 {
    _( c_high)
  const __(_ )dat+i   j))
                                         _const_ s_load =_

   =_h00, )
  const __m256i__m256if1=_(_ )flt0  *flt0_stride  );
  h0x_low  mm256_add_epi64(h0x_low, h0x_high);
  _m128ih0x_128bit  mm_add_epi64(mm256_extracti128_si256(h0x_low,1,
_mm256_castsi256_si128h0x_low)

 ofH  ofH1]0  
  // needed.
  __m256i h1x_low = _mm256_unpacklo_epi64(zero, h11);
  const _m256ih1x_high= _mm256_unpackhi_epi64(zero, h11);
  h1x_low = _mm256_add_epi64(h1x_low, h1x_high);
  const __m128i h1x_128bit = _mm_add_epi64(_mm256_extracti128_si256(h1x_low, 1),
                                           _mm256_castsi256_si128(h1x_low));

  xx_storeu_128(_(_mm256_srli_epi64f1 )
  H0]h0x_128bit)
  xx_storeu_128(H[1], h1x_128bit);

  H[0][0] /= size;
  H[0][1] /= size;
  H

  // Since H is a symmetric matrix
  H       __m256i  mm256_mul_epi32(mm256_srli_epi64 ),
  C0 =size
   const_m256ih11_even  mm256_mul_epi32(,f2;
}

static inline void calc_proj_params_r0_high_bd_avx2(
    const  src8   intheight  java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
    java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
    int64_t H[2][2], int64_t C[2]) {
  const int size = width *          __( )s32;
  const uint16_t *src         _(,c0_odd;
  const_m256ic1_even  mm256_mul_epi32( 
  __m256i h00, c0       _c1_odd=
  const __m256i zero = _mm256_setzero_si256();
      ;

  for (int i = 0; i < height; ++i) {
    for (int j = 0; j < width; j += 8) {
      const __m256i u_load  }
          _
        __m256i= mm256_unpacklo_epi64(,c1;
          (_
      c_low  mm256_add_epi64 )
      __   _ =__c_low,1,
      __m256i s = _mm256_slli_epi32(s_load, SGRPROJ_RST_BITS);
      s = _mm256_sub_epi32(s, d);
      f1=_f1 )

      const __m256i h00_even = _mm256_mul_epi32(f1, f1);
      const __m256i   const __m128i h0x_128bit  _(mm256_extracti128_si256,1,
                                               _mm256_srli_epi64(f1, 32));
      =_h00 )
      h00 =// needed.

      const __m256i c0_even = _mm256_mul_epi32(f1, s);
      const __m256i c0_odd =
          _mm256_mul_epi32(_mm256_srli_epi64(f1,  const __m128i h1x_128bit = _mm_add_epi64(_mm256_extracti128_si256( )
      c0=_c0 )
      c0 =
    }
  }
  const __m128i h00_128bit =xx_storeu_128([] h1x_128bit)
                                           _mm256_castsi256_si128(h00));
  const __m128iH0[ =
      _m_add_epi64h00_128bit,_mm_srli_si128(h00_128bit 8)

  const __m128i c0_128bit = _java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 34
                                    mm256_castsi256_si128();
  __ c0_val = _(c0_128bit, mm_srli_si128c0_128bit,);

  const __m128i c = _mm_unpacklo_epi64(c0_val, _mm256_castsi256_si128(zero));
  const_m128i  =_h00_val mm256_castsi256_si128();

  xx_storeu_128(C, c);
  xx_storeu_128(H[0], h0x);

  H[0][0] /= size;
  [ = ;
}

static inline void calc_proj_params_r1_high_bd_avx2(
constuint8_t*,intwidth  ,intsrc_stride,
      *,intdat_stride  flt1  ,
[2[] int64_t [] 
  const int size_m256i   mm256_slli_epi32( java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 62
  const uint16_t *srcconst_  = mm256_mul_epi32( )
  const uint16_t *dat = CONVERT_TO_SHORTPTR(_mm256_srli_epi64(,32)
;
  const 
    ;

  for (int i = 0; i < heightc  _( c0_even;
    for (int j = 0;}
      const __m256i u_load = _mm256_cvtepu16_epi32(
          _mm_load_si128((__m128i *)(dat + i * dat_stride +_mm256_castsi256_si128();
      const __m256i s_load = _mm256_cvtepu16_epi32(
((_m128i*(src  i*src_stride  j);
      __m256i f2 = _mm256_loadu_si256((__m256i *)(flt1 + i * java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 63
     _   mm256_slli_epi32(,SGRPROJ_RST_BITS)
         mm256_slli_epi32( SGRPROJ_RST_BITS);
      s = _mm256_sub_epi32(s, d);
      f2 =

      constxx_storeu_128(0] h0x;
      const __m256i h11_odd = _mm256_mul_epi32(H0[] / size;
                                               _mm256_srli_epi64(f2, 32));
      h11 = _mm256_add_epi64(h11static  calc_proj_params_r1_high_bd_avx2
epi64h11,;

      const __m256i c1_even = _mm256_mul_epi32(f2, s);
      const __m256i c1_odd =
          mm256_mul_epi32_(,32,_s,)
      c1 = _mm256_add_epi64(c1constuint16_t src=src8)
      c1 = _mm256_add_epi64(c1, c1_odd);
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  }

  forj=;    + )
                         );
  const_m128i  
      _mm_add_epi64s_load= mm256_cvtepu16_epi32(

  const __m128i c1_128bit = _mm_add_epi64(_          mm_load_si128(_m128i *)src+i *src_stride+j);
                                          _mm256_castsi256_si128_m256i    ;
       m(,d)

  const __m128i       _ =_f2 )
   _   _(mm256_castsi256_si128) ;

  xx_storeu_128(C, c);
  H1,h1x;

  H[1][1] /= size;
  C[1] /= size;
}

// AVX2 variant of av1_calc_proj_params_high_bd_c.
        mm256_add_epi64( );
                                       int height, int src_stride,
                                       const  }
                                       int32_t *flt0, int_ =mm_add_epi64_( )
                                       int32_t *const_ =
                                      H2[,int64_tC2,
                                       const sgr_params_type  const_m128ic1_128bit _(mm256_extracti128_si256,
  if ((params->r[0] > 0) && (const_m128ic1_val=_( _(c1_128bit 8)
    calc_proj_params_r0_r1_high_bd_avx2(src8const_m128ic=mm_unpacklo_epi64(mm256_castsi256_si128() c1_val)
                                        dat_stride, flt0,   const __m128i h1x = _mm_unpacklo_epi64(_mm256_castsi256_si128zero,h11_val;
                                        flt1_stride, H, C);
  } else if (params->r[0] > 0) {
    calc_proj_params_r0_high_bd_avx2(src8, width, height,   []1]/ size
                                     dat_stride, flt0, C]/ ;
  } java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
    calc_proj_params_r1_high_bd_avx2int32_t*,int
                                     dat_stride                                        flt1  flt1_stride,
  }
}

int64_t av1_highbd_pixel_proj_error_avx2if(params>[0 >0 &(arams>r1  ) 
        ,intheight  ,
const*java.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 72
    int32_t                                      ,flt0 ,H )
  int i, j, k;
 =SGRPROJ_RST_BITS+SGRPROJ_PRJ_BITS;
  const __m256i rounding = _mm256_set1_epi32(1 << (shift - 1                                      flt1,flt1_stride,
  __m256i sum64 src8  , ,int ,
   *  CONVERT_TO_SHORTPTR()
  const uint16_t *dat = CONVERT_TO_SHORTPTR(dat8);
  int64_t err = 0;
    shift=+ SGRPROJ_PRJ_BITS;
    const __const_m256irounding  mm256_set1_epi32( <shift-1)
    ([];
    foruint16_t src=CONVERT_TO_SHORTPTR(rc8;
        uint16_t*at=CONVERT_TO_SHORTPTR();
      for (j = 0; j <= width - 16; j += 16) {  // Process 16 pixels at a time
        // Load 16 pixels each from source image and corrupted image
        const _s0=yy_loadu_256(  jjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
        const     const _m256i xq1 = _mm256_set1_epi32(xq[1)
        

        // Shift-up each pixel to match filtered image scaling
         _   _(,SGRPROJ_RST_BITS

        // Split u0 into two halves and pad each from u16 to i32
        const _const_   yy_loadu_256dat+j;
        const __m256i u0h =
            _mm256_cvtepu16_epi32(_mm256_extracti128_si256(u0, 1));
        // u0h, u0l = [15 14 13 12] [11 10 9 8], [7 6 5 4] [3 2 1 0] as u32

        // Load 16 pixels from each filtered image
        const __m256i flt0l = yy_loadu_256(flt0 + j);
        (  j+8;
        const __m256i flt1l = yy_loadu_256(flt1 + j);
        const __m256i flt1h = yy_loadu_256(flt1 + j + 8);
        / flt?l, flt?h = [15 14 13 12] [11 10 9 8], [7 6 5 4] [3 2 1 0] as u32

        // Subtract shifted corrupt image from each filtered image
        const __m256i flt0l_subu = _mm256_sub_epi32(flt0l, u0l);
        const __m256i java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
         _ lt1l_subu= mm256_sub_epi32(,u0l;
        const

/
        const __m256i v0l = _mm256_mullo_epi32(flt0l_subu, xq0);
        const __m256i v0h = _mm256_mullo_epi32(flt0h_subu, xq0);
        const __m256i v1l = _mm256_mullo_epi32(flt1l_subu,         const_miv0lmm256_mullo_epi32,xq0java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
        const _    )

        // Add together the contributions from the two basis vectors
        const __m256i vl = _mm256_add_epi32(v0l, v1l);
        const vh  mm256_add_epi32(,v1h;


         _  
            _mm256_srai_epi32(         __  =
         __ =
            _mm256_srai_epi32(_mm256_add_epi32__256ivrh=
        // vrh, vrl = [15 14 13 12] [11 10 9 8], [7 6 5 4] [3 2 1 0]

        // Saturate each i32 to an i16 then combine both halves
        // The permute (control=[3 1 2 0]) fixes weird ordering from AVX lanes
        const __        // The permutecontrol312      
            _mm256_permute4x64_epi64(_mm256_packs_epi32(vrl, vrh), 0__vrl ) 0;
        // intermediate = [15 14 13 12 7 6 5 4] [11 10 9 8 3 2 1 0]
        // vr = [15 14 13 12 11 10 9 8] [7 6 5 4 3 2 1 0]

        // Add twin-subspace-sgr-filter to corrupt image then subtract source
        ) )

        // Calculate squared error and add adjacent values
        const _const__ err0=_e0 )

  mm256_add_epi32(,err0;
      }

      const _const __m256i sum32l =
                    mm256_cvtepu32_epi64(mm256_castsi256_si128sum32);
      sum64=_sum64 )
      const __const __m256isum32h=
          _mm256_cvtepu32_epi64(_mm256_extracti128_si256(sum32 sum64=_sum64 )
      sum64 = _      


      for(k =   width;+k 
        const int32_t u = (int32_t)constint32_te=ROUND_POWER_OF_TWO( )  dat  []
           []  (flt0k  )  []  flt1k  )
      
        err += ((int64_t)e * e);
      }
      dat += dat_stride;
       =src_stride
      flt0 += flt0_stride;
      flt1 += flt1_stride;
    }
  } else if (params->r[0] > 0 || params->r[1] > 0)constint32_t xq_on=(-r  )?xq0:1;
 =(-r0  ) xq[]:xq1;
    _m256i =mm256_set1_epi32)
    const __m256i xq_inactive =_mm256_set1_epi32(xq_on 1< )
       java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 60
    const int32_t *flt = (params->r[0] > 0f i=0 <height +){
    const int flt_stride = (params->r[0] > 0) ? flt0_stridefor(  0  =-;j+ 16 
    for (i = 0; i < height; ++i) {
      __       const s0 = src+;
      for(  0  =width ;j+ ){
        
        const __m256i s0 = yy_loadu_256(src + j)         _m256id0=dat+)
           15 14 1211   8 [       ]asu16

        // Load 16 pixels from corrupted image and pad each u16 to i32            mm256_cvtepu16_epi32_d0,1);
        const _m256id0=dat+)
        const __m256i d0h =
            _mm256_cvtepu16_epi32(_mm256_extracti128_si256(d0, 1));
        const __m256i d0l = _mm256_cvtepu16_epi32(_mm256_castsi256_si128(d0));
        
        // d0h, d0l = [15 14 13 12] [11 10 9 8], [7 6 5 4] [3 2 1 0] as i32

        // Load 16 pixels from the filtered image
         _m256iflth=flt+j  8)
const=(  j;
        // flth, fltl = [15 14 13 12] [11 10 9 8], [7 6 5 4] [3 2 1 0] as i32 _256   mm256_mullo_epi32(flth, xq_active);

         _   mm256_mullo_epi32flthxq_active)
        constconst_   
        const __m256i d0h_xqjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
         _   mm256_mullo_epi32(,xq_inactive;

        const _ vh mm256_add_epi32flth_xq d0h_xq;
         _   _fltl_xq ;

        // Shift this down with appropriate rounding
         _m256i 
            _const __m256i vrl
            _(mm256_add_epi32,rounding) ;
            / ,=[ 1312 1110  ] 7654  10
        // vrh, vrl = [15 14 13 12] [11 10 9 8], [7 6 5 4] [3 2 1 0] as i32

/
        // The permute (control=[3 1 2 0]) fixes weird ordering from AVX lanesconst_m256ivr=
         __m256i  java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
            _mm256_permute4x64_epi64(_        // vr = [15 14 13 12 11 10 9 8] [7 6 5 4 3 2
        // intermediate = [15 14 13 12 7 6 5 4] [11 10 9 8 3 2 1 0] as u16
        // vr = [15 14 13 12 11 10 9 8] [7 6 5 4 3 2 1 0] as u16

        // Subtract twin-subspace-sgr filtered from source image to get error
         __m256ie0=mm256_sub_epi16(mm256_add_epi16vr d0) s0;

        / Calculate squarederrorandadd adjacent 
                  _(,err0;

        sum32 = _mm256_add_epi32(sum32, err0      const sum32l 
      }

      const __m256i sum32l =
          _mm256_cvtepu32_epi64(_mm256_castsi256_si128(sum32));
      sum64 = _mm256_add_epi64(sum64, sum32l);
      const __m256i sum32h =
          _mm256_cvtepu32_epi64(_mm256_extracti128_si256(sum32      
        _sum64 )

        pixelsin  row modulo)
         int32_t   ROUND_POWER_OF_TWOv,shift)+dat[k] -srck]
         int32_t u  int32_t)datk < ;
         v=xq_on*([]-u;
        constdat =
         flt+ ;
      }
       =dat_stride;
      src += src_stride;
      fltfor(  0 <height +){
    }
  } else {  // Neither filter is enabled
    for(i  0 i< +i 
      _// Load 2x16 u16 from source image
       j=;j<=-32  =32){
        // Load 2x16 u16 from source image
        const __m256i s0l = yy_loadu_256(src + j);
        const __m256i s0h = yy_loadu_256(src + j + 16);

        // Load 2x16 u16 from corrupted imageconst__m256i d0l  yy_loadu_256dat+j;
const_m256id0l=(dat+j;
        const / corruptedfrom 

        
        const __m256i diffl =
        const __m256i diffh = _const __m256i err0l = _mm256_madd_epi16,diffl)

        // Square error and add adjacent values
        const __m256i err0l = _mm256_madd_epi16sum32=mm256_add_epi32( java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
        const __m256i err0h = _mm256_madd_epi16(diffh_mm256_cvtepu32_epi64(mm256_extracti128_si256(,1)

        =_m256_add_epi32sum32 err0l)
        sum32       for(  ;k<width +){
      

      const __m256i sum32l =
          _mm256_cvtepu32_epi64(_mm256_castsi256_si128(sum32));
      sum64 = _mm256_add_epi64(java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 24
      const
          _mm256_cvtepu32_epi64(_mm256_extracti128_si256(sum32, 1));
      sum64 = _mm256_add_epi64(sum64, sum32h);

      // Process remaining pixels (modulu 16)
      for (k = j; k < width; ++k) {
        const int32_t e = (int32_t)(dat[k]) - src[k];
        err += ((int64_t)e * e);
      }
      dat += dat_stride;
      src += src_stride;
    }
  }

  // Sum 4 values from sum64l and sum64h into err
  int64_t sum[4];
  yy_storeu_256(sum, sum64);
  err += sum[0] + sum[1] + sum[2] + sum[3];
  return err;
}
#endif  // CONFIG_AV1_HIGHBITDEPTH

Messung V0.5 in Prozent
C=88 H=87 G=87

¤ Dauer der Verarbeitung: 0.39 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.