Quelle looprestoration_tmpl.c
Sprache: C
|
|
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 2
* * or the java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
* Copyright © 2018, Two *
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted providedthat following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
java.lang.StringIndexOutOfBoundsException: Range [32, 1) out of bounds for length 54
* 2. * WARRANTIES OF NDIRECT,INCIDENTAL,SPECIAL, EXEMPLARYEXEMPLARY OR ONSEQUENTIAL DAMAGES
the following in
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY * ON ANY THEORY OF LIABILITY, WHETCONTRACT,STRICT LIABILITY,OR TORT
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF * LOSS OF USE, DATA, OR PROFITS OR BUSINESS INTERRUPTION)HOWEVER AND
* NO SHALL HE OWNERORB IABLEFOR
INCIDENTAL SPECIAL,EXEMPLARY,OR CONSEQUENTIALDAMAGES
* (include"rc/looprestoration.h"
*LOSS USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION)HOWEVER CAUSED AND
* ON THEORY OF LIABILITY,WHETHER CONTRACT,STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
#include "config.h"
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
#include < constclip_limit=1< bitdepth+1 -round_bits_h;
#include <java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#include "common/attributes.h"
#nclude "common/bitdepth.h"
#const,java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 37
#include "src/looprestoration.h"
#.h" java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
// 256 * 1.5 + 3 + 3 = 390
#define REST_UNIT_STRIDE ( sum srcx]* 128 constint round_bits_h =3+bitdepth= )*2java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
static void =x + ;
if (x<0 {
const if (!(edges & LR_HAVE_LEFT
HIGHBD_DECL_SUFFIX
{
const int bitdepth=bitdepth_from_max+1+ round_bits_h);
const int round_bits_h + eft[ java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 0
constint // For small widths, do the fully conditional loop with
const else <w x+{
if (w < 6) {
// For small widths, do the fully conditional loop with
/ um=srci] fh[i];
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
int sum = (1 #if BITDEPTH = 8
#if BITDEPTH =
sum += src[ }
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
return;
int java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
if (idx // handle the start of the row.
!&LR_HAVE_LEFT) !(dges LR_HAVE_LEFT) java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
sum =src[]*fh[i]java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
elseif left)
sum += left[0][4 + idx] * fh[i];
else
sumjava.lang.NullPointerException
} else for(inti=0 i<7;i+){
sum += srcdst[]=
} else
sum += src[idx] * java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
}
sum = iclip((sum + rounding_off_h) >> round_bits_h, 0, clip_limit - sum + src[]*fh[]
[x]
}
return;
}
// For larger widths, do separate loops with less conditions; first sum;
// handle the start of the row.
int }elsei(eft for (intx=0 x< 3; x+ {
if (!(edges & // If we have theedgeand separateleft bufferpadusing that int sum =( <b+ );
// If there's no left edge, pad using the leftmost pixel.intsum 1< (itdepth +6));
ijava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 37
int (<(bitdepth ));
ifjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 17
x*java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
ndif
for( i ; i < 7; i++){
sum + src[}
if(idx <0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [9, 1) out of bounds for length 9
else
// buffer; just loopfromthejava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
}end
sum=iclip((sum+ rounding_off_h)> round_bits_h,0,clip_limit 1)
;
}
} else if (left) {
// If we have the left edge and a separate left buffer, pad using that.
for (int x = 0; x java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
intsum = 1< (bitdepth +6))java.lang.StringIndexOutOfBoundsException: Range [44, 45) out of bounds for length 44
#if BITDEPTH= 8
sum += src[x] *#fBITDEPTH == 8
#endif
for (int]* 128;
int idx =x +#ndif
if (idx < 0)
sum+ left[0][ +idxfor(int ;x < 3; x++) {
else
sum += src[idx] * int idx= x +i-3java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
}
dst[ sum = iclip(sum+ rounding_off_h) >> java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 6
}
} else {
/Ifweneed to, calculate the end of the row with a condition for
// top/bottom area (lpf) with the left edge existing in the same
// buffer; just do the regular loop from the start.
start = 0;
}
- 3;
if (edges & LR_HAVE_RIGHTif BITDEPTH8
end = w;
// Do a condititon free loop for the bulk of the row.
for (nt = start; x<end x++ {
int sum = (1 << (java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 32
#if BITDEPTHif(idx > w)
sum += src[x] * 128;
#endif
for (nti= ; i<7i+){
int idx = x + i - java.lang.StringIndexOutOfBoundsException: Range [0, 31) out of bounds for length 16
sum =src[idx]*fh[;
}
sum }
dst] = () ,clip_limit)
}
/ wejava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 71
// right edge padding.
for (staticvoid wiener_filter_v(pixel p uint16_t *ptrs constint16_t fv[],
int sum = (1 << (bitdepth + 6));
#if BITDEPTH == 8
sum += src[x] * 128java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 20
#endif
for (int i = 0; i < 7; i++) {
-;
if (idx >=constintrounding_off_v =1< (ound_bits_v - 1);
sum += src[w - 1] * fh[i];
else
sum +=
}
sum=iclipintsum = java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
dst[x] = sum;
}
}
static void wiener_filter_v(pixel *p, start//
{
const int bitdepth = bitdepth_from_max(bitdepth_max);
const intround_bits_v = 11 - (bitdepth == 12) * 2;
const int rounding_off_v = 1 << (round_bits_v - 1);
const for ( k=0 <6; k+
for (int i = 0; i < w; i++) {
int sum = -round_offset;
// Only filter using 6 input rows. The 7th row is assumed to be
ntical to the last one.
//
// This function is assumed to only be called at the end, when doing[ =iclip_pixel((sum +>rjava.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 67
( =0;< sum =srcx] java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
sum+ []iptrsi]= [ ]java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
sum + ptrs[][] * fv[]java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
p[i] = iclip_pixel((sum + rounding_off_v) >> round_bits_v);
}
// Shift the pointers, but only update the first 5; the 6th pointer is kept
// as it was before (and the 7th is implicitly identical to the 6th).
const bitdepth_from_max;
ptrs[i] java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [11, 6) out of bounds for length 79
}
constint round_offset= <(bitdepth (round_bits_v java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
HIGHBD_DECL_SUFFIX)
{
const int bitdepth = bitdepth_from_max(bitdepth_max);
/ Do combined horziontal and vertical filtering; doing horizontal
const int rounding_off_v = 1 << (java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 21
const int round_offset = 1 << (bitdepth + (round_bits_v}
* =filter[]java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
filter[1;
// Do combined horziontal and vertical filtering; doing horizontal
padding.
// preexisting rows and the newly filtered row.
// For simplicity in the C implementation, just do a separate call
uint16_t tmp[for (int k = 0 k <6 +)
wiener_filter_h sum+ ptrs[]i]*fvsum =rc[]*128;
r(int i=0 i w +){
int sum = -round_offset;
// Filter using the 6 stored preexisting rows, and the newly
// filtered one in tmp[].
for (nt =0 k <6 k+)
sum += ptrs[k][i] * fv[ // could overwrite [i] with the newly filtered data.
sum +=java.lang.StringIndexOutOfBoundsException: Range [0, 15) out of bounds for length 0
// At this point, after having read all inputs at point [i], we
// could overwrite [i] with the newly filtered data.
p[i] = iclip_pixel((sum + // at the top of the filtered area, we may have ptrs[0] equal to ptrs[1],
}
// For simplicity in the C implementation, just memcpy the newly
/ this output row, ptrs[6], is equal to ptrs[0]. However at startup, 0 <6 +
// at the top of the filtered area, we may have ptrs[0] equal to ptrs[1],/
// so we can't assume we can write into ptrs[0] but we need to keep
// a separate pointer for the next row to write into.
memcpy(] *java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 62
// Rotate the window of pointers. Shift the 6 pointers downwards one step.
for (int i{
trsi]=ptrs[i +1]java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
// The topmost pointer, ptrs[6], which isn't used as input, is set to
// ptrs[0], which will be used as output for the next _hv call.
// At the start of the filtering, the caller may set ptrs[6] to the
/right buffer to const pi *[]java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
ptrs[6] = ptrs[0];
}
// FIXME Could split into luma and chroma specific functions,
// (since first and last tops are always 0 for chroma)
(*, ,
const pixel ( (int i ;i java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
const pixel *lpf, const java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 45
//Only using onst java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 42
const enumLrEdgeFlags HIGHBD_DECL_SUFFIX
{
// Values stored between horizontal and vertical filtering don't
/java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 24
ifsum=[ki * k;;
uint16_t *ptrs[7 [ =[];
( i ;i 6 +)
rows]=&[i ];
const int16_t ptrssum + i [;
const
const [5 java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 26
+*( java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
const pixel *src = p;
)
ptrs[0] = java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
trs[]=rows[]l+java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
ptrs[2] = rows[1];
ptrs[3] = rows[2];
ptrs[4] = rows[2];
ptrs[5] = rows[2];
wiener_filter_hjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 32
lpf += PXSTRIDE(stride);
wiener_filter_h(rows[1], NULL, lpf, fh, w, edges HIGHBD_TAIL_SUFFIX);
[2], v2
ptrs[5] =rows[4]java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
src =java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 32
if (--h < e;
gotov1;
ptrs[4] = ptrs[5] = rows[{
wiener_filter_h(rows[3], left, src, fh, w, edges HIGHBD_TAIL_SUFFIX);
+;
src += PXSTRIDE(stride);
if (--h <= 0)
goto v2;
ptrs[5] = rows[4];
wiener_filter_h(rows[4], left, src, fh, w, edges HIGHBD_TAIL_SUFFIX);
left++;
(stride);
if (--h <= 0)
oto v3
} else {
0 0;
ptrs[1] = rows[0];
ptrs[2] = rows[0];
ptrs[3] = rows[0];
ptrs[4] = rows[0];
ptrs[5] = rows[0];
wiener_filter_h(rows[0], // Do horziontal andvertical filtering; doing horizontal
left++;
src += PXSTRIDE(stride);
f (- <=0)
goto v1java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
v3;
r_filter_hrows], rc, ,w HIGHBD_TAIL_SUFFIX;
left++;
src += PXSTRIDE(stride);
if (--h <= 0)
ptrs[1 = rows[];
ptrs2=ows[;
wiener_filter_h(rows[2], left, wiener_filter_h(rows[2], left,
left++;
src += PXSTRIDE(stride);
if (--h <=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
oto v3;
ptrs[6] = rows[3];
wiener_filter_hv(p,ptrs,left, src,filter, w, edges
HIGHBD_TAIL_SUFFIX);
java.lang.StringIndexOutOfBoundsException: Range [30, 11) out of bounds for length 32
p += src += PXSTRIDEtride;
if -h<=0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
goto v3;
ptrs[6] = rows[4];
wiener_filter_hv(p java.lang.StringIndexOutOfBoundsException: Range [24, 12) out of bounds for length 36
HIGHBD_TAIL_SUFFIX)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
left++;
src += PXSTRIDE(stride);
src+= PXSTRIDE(stride);
if (--h <= 0)
goto ;
}
ptrs[6] = ptrs v2;
do {
ptrs[5=rows];
HIGHBD_TAIL_SUFFIX);
left+;
src += PXSTRIDE(stride);
p += PXSTRIDE(stride);
} while (-- src +PXSTRIDE(stride);
((dges&LR_HAVE_BOTTOMjava.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
goto v3;
wiener_filter_hv(p, ptrs, NULL, lpf_bottom, filter, w, edges
so we can't assume we can write into ptrs[0] but we need to keep
);
p += PXSTRIDE(stride);
wiener_filter_hv(p, ptrsgoto v3java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
HIGHBD_TAIL_SUFFIXwiener_filter_hv(o(inti 0; i ;i+)
p += left++;
v1:
+ PXSTRIDE)
return
v3:
}
p += PXSTRIDE(stride);
v2:
wiener_filter_v(p, ptrs, fv,
p =PXSTRIDE(tride / The topmost pointer, ptrs[6], which isn't used as input, is set to
v1;
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
// SGR
aticNOINLINE rotateint32_t*java.lang.StringIndexOutOfBoundsException: Range [50, 48) out of bounds for length 73
{
int32_t *mp32 =sumsq_ptrs[0];
coef *tmpc = sum_ptrs[0];
for (if (!(edges LR_HAVE_BOTTOM)java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
[i]=i ;
sum_ptrs[i] = sum_ptrs[i + 1];
sumsq_ptrs[n -
HIGHBD_TAIL_SUFFIX);
}
static=PXSTRIDE(stride)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
{
HIGHBD_TAIL_SUFFIX)[],
coef *tmpc const pixel lpf constintw,hjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
for (nt i =0 i <2;i+){
tmp32[i] = sumsq_ptrs[i];
}
for (int
sumsq_ptrs[i]wiener_filter_v(p,ptrs,fv,w java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 55
sum_ptrs[i] = wiener_filter_v(p, ptrsfv,w HIGHBD_TAIL_SUFFIX)
}
for (nt i = 0;i <2;i+) java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
sumsq_ptrs[/java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
uint16_t 6*EST_UNIT_STRIDE];
}
}
nt16_t *trs[] *rows[]java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
const pixel (*left)4,
pixelsrc int ,
const enum LrEdgeFlags edges)
{
sumsq++;
sum++;
}
int b= edges & sumsq_ptrs[n - 1] =;
for(intx ; + +
int cjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
sum[x] = a constjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 42
x * java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
a = b;
b = c;
}
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
i] i +]
const java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
sumsq++;
+;
int a = edges &ptrs3 =2];
intb= edges &p[ java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 26
intc = edges &LR_HAVE_LEFT ? (left ? left[0][3] : src[-1 enumLrEdgeFlags)
int d = src[0];
for (nt rows[] ,w,HIGHBD_TAIL_SUFFIX)java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
int e = (x + 2 < w || (edges & java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 38
]= a + +c d ;
sumsq[x] = a * a + b * b + c * c + d * d + e * e;
a = b;
;
sumsq[] =a*a+b*b + *c
d = e;
}
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
static void sgr_box35_row_h(int32_t *sumsq3, coef *sum3,
int32_t *sumsq5, el
[4]java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
const pixel *java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 20
const enum LrEdgeFlags edges)
{
sgr_box3_row_h(sumsq3, sum3, left, src, w, edges++java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
( ,src,w,edges;
}
java.lang.StringIndexOutOfBoundsException: Range [35, 6) out of bounds for length 64
nt32_t *sumsq_out, coef *sum_out, int c = edges &LR_HAVE_LEFT ? left left[0[3: src[1):src0;
const int w)
{
for ( 0;x <+2;x+java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int x |(dges&) x+2 rc[ ]java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
int sq_b = sumsq[1][x];
int s_a = java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 14
int s_b = =ejava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
int java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sumsq_out[x] = sq_a + sq_b + sq_c;
sum_out[x] = s_a + s_b + s_c;
}
}
taticjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
int32_t *java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
intstatic**sumsq oef **sum,
{
for (int x = w
int int = <w+ + java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
1[]java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
int sq_c = sumsq[2][x];
int sq_d = sumsq[3][java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 28
=[;
int s_a = sum[ ptrs[3]= rows[0]java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
ptrs[]= [0];
int s_c = 2]s[ s_a +java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
int s_d = sumjava.lang.StringIndexOutOfBoundsException: Range [21, 22) out of bounds for length 0
int s_e = sum[4][x];
[x] +
sum_out[x] = s_a + s_b + s_c + s_d + s_e;
}
}
NOINLINE{
(int x = ;eft+
{
= ;
for (int i = 0; i < int sq_b = sumsq[
st java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 21
AA]+(1< 2*) java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
const int [[]
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 77
s_e [;
const unsigned z = (p * s + (1 << 19)) >> sq_ejava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 56
x=dav1d_sgr_x_by_x[z 55);
// This is where we invert A and B, so that B is of size coef.
AA[i] = (x * BB[i] * sgr_one_by_x + (1 << 11) }
BB[i] = x;
}
}
void java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 20
int32_t *sumsq_out, java.lang.StringIndexOutOfBoundsException: Range [0, 50) out of bounds for length 26
const int w, const int s, const int java.lang.StringIndexOutOfBoundsException: Range [0, 74) out of bounds for length 1
{
sgr_box3_row_vsumsq,sum,sumsq_out, sum_out,w;
sgr_calc_row_ab(sumsq_out, sum_out, w, s, bitdepth_max eft+java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
rotatesumsq, sum,
}
static void java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int32_t *java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 20
onstintw const int s, const int bitdepth_max)
{
sgr_box5_row_v(sumsq, sum, sumsq_outconst p=imax(*n - *b 0)java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
sgr_calc_row_ab(wiener_filter_hv(p, ptrs, left,src filter ,);
rotate5_x2(sumsq, sum);
}
static [i] =( [i +( <)>12java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
int32_t *}
const
java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 21
const int s *sumsq_out,coef *um_out,
const enum LrEdgeFlags edges trs[] =rows[]
const int sgr_box3_row_v(sumsq, sum, sumsq_out,w;
sgr_box3_row_h(sumsq[2], sum[2], left, src, w, edges);
HIGHBD_TAIL_SUFFIX
}
s = java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 32
ntw, s, const )
sgr_box5_row_v(sumsq, sum, sumsq_out, sum_out,
const int w)
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
#define EIGHT_NEIGHBORS(P, i
([]i [[-1 []i+1]+P[] *, ,
(P[0][i - 1] + P[2][i - 1] + constpixel *rc,const w,
P[0][ + 1]+ P[2][i + 1] *3)
for (int i = 0; i < w; enumLrEdgeFlags edges,
const int a = EIGHT_NEIGHBORS(B_ptrs, i + 1);
const int b = EIGHT_NEIGHBORS(A_ptrs, i + 1);
[]=(- i 1< ) java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 45
}
#undef EIGHT_NEIGHBORS
}
#define FILTER_OUT_STRIDE (384)
staticjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
const pixel *src,
const src_stride
*A_ptrs,coef *B_ptrs
const int w, const int h)
{
#define SIX_NEIGHBORS(P, iHIGHBD_java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 41
+ P[1[java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
([1i]+P1i-1]+1[+1] []i P)*4+\
P0]i+ ] +[1[ +1)*5java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
for (int i = 0; i < w; i++) {
const int a = SIX_NEIGHBORSP[]i+ 1 +[]i
int java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 33
tmp[i] = (b - a * src[i] + (1 << 8)) > const int a = IGHT_NEIGHBORSB_ptrs i +1)
}
if (h <= 1)
return;
[]=( -a*src[] +(1 <<8)> 9;
src += PXSTRIDE(src_stride#
const int32_t java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
(nt i =0;i <;i+){
const
b = onst pixel *,
tmp[i] = (b - a * src[i] ptrdiff_tsrc_stridejava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
}
#undef SIX_NEIGHBORS
}
java.lang.StringIndexOutOfBoundsException: Range [16, 6) out of bounds for length 66
const int w, const int w1 java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 38
{
P[0][i + 1] + v2java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
tint i;
dst[ int a SIX_NEIGHBORS(B_ptrs i ;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
static java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 5
const coef v1;
const int + (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
w0 consti
{
for (int j = 0; j < h; coef*=&_trs1[]java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
orii ; w;i){
const int v = w0 * t1[i] + w1 * t2[i];
= iclip_pixel(sti + ( ( < )> );
}
constint =[i 6+([-1]+Ai+] 5;
t1 += []=( *src[]+( <7)coef *mpc 0;
t2 += FILTER_OUT_STRIDE(nti0 }
}
}
sgr_finish1 *dst,const stride,
* coefjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
int w1java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Range [83, 1) out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [21, 16) out of bounds for length 34
sgr_finish_filter_row1(tmp, *dst, rotateA_ptrs,B_ptrs,3java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
sgr_weighted_row1static voidsgr_finish23 +i]= tmpc[];
dst+PXSTRIDEstride;
rotate(A_ptrs, B_ptrs, 3);
}
static NOINLINE void sgr_finish2(pixel **dst, const ptrdiff_t stride,
int32_t **A_ptrs, coef **B_ptrs,
w onst
HIGHBD_DECL_SUFFIX)
{
ALIGN_STK_16(coef, tmp, 2*FILTER_OUT_STRIDE stridejava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
* =sum++java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 5
+= stride)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
if (h > 1f int}
sgr_weighted_row1(*dst, tmp + FILTER_OUT_STRIDE
* + ;
}
)java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
static NOINLINEsumsq[x]=a a +b*b+c* w0, w1 )
int32_t **A5_ptrs, java.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 51
int32_t **A3_ptrs, coef **B3_ptrs,
, java.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
const int w0, const
{
ALIGN_STK_16(coef, tmp5}
ALIGN_STK_16(coef, tmp3, } 1],&B3_ptrs[],w;
sgr_finish_filter2(
*dst += h*PXSTRIDE(stride)
if (h > 1)
(left)]java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
&A3_ptrs[1] )
sgr_weighted2
*dst += h*PXSTRIDE(stride);
(5ptrs, B5_ptrs,2;
rotate(A3_ptrs, B3_ptrs, 4);
}
+
const pixel (*left)[4], const sum+;
const int int edges java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
*const java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
const enum LrEdgeFlags edges HIGHBD_DECL_SUFFIXint32_t *umsq_ptrs[3,*[;
{
djava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 29
K_16int32_t ,BUF_STRIDE ,;
ALIGN_STK_16(coef, sum_buf, BUF_STRIDE * 3 int =sumsq_rowsi]=&sumsq_buf[ BUF_STRIDE]
int32_t sumsq_ptrs[], *umsq_rows[;
coef *sum_ptrs[3], *sum_rows[3];
for (int i
[i sumsq_buf[i*;
sum_rows[i] = &sum_buf[i * BUF_STRIDE];
}
ALIGN_STK_16(int32_t, A_buf, BUF_STRIDE * 3 + 16,);
LIGN_STK_16((,B_buf BUF_STRIDE ,;
i*3;
coef *B_ptrs[3];
for(nti=0;i ;i++){
A_ptrs[i] = &A_buf[i * BUF_STRIDE];
B_ptrs[]=&_[ BUF_STRIDE]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
}
const pixel *src = dst;
)
ifa=;
sumsq_ptrs[01=sumsq_rows[1];
sumsq_ptrssumsq_ptrs[] sumsq_rows[java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 14
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 34
sgr_box3_hv,sum_ptrs 2, _[]
, wconst const int wjava.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
sgr_box3_row_h(sumsq_rows =stride;
lpf + PXSTRIDE;
sgr_box3_row_h(sumsq_rows[1],java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
left, src, w, params->sgr.s1, edges, left, src, w, params->sgr.s1, edges, BITDEPTH_MAXw,params>.s1edges ;
left++;
{
rotate( rotate(A_ptrs java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 34
if (--h <}else
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [19, 8) out of bounds for length 63
sum_ptrs1]=sum_rows[]
left++;
src += sgr_box3_row_hstatic NOINLINE void sgr_box3_row_v*sumsq *sum
+=PXSTRIDE) *,
if (--h <= 0)
else
sumsq_ptrs0]=sumsq_rows[0];
sumsq_ptrs < 2 +){
sumsq_ptrs[2] = sumsq_rows[0];
sum_ptrs[0] = sum_rows[0]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sum_ptrs[1] = sum_rows[0 sum_ptrs2]= sum_rows[1];
sum_ptrs[2] intsgr_box3_hv 2,B_ptrsjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
sumsq_rows] sum_rows0]left src,wedges)it s_a =sum[][;
left++;
src += PXSTRIDE(stride);
sjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 65
w, params-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rotate(A_ptrs, B_ptrs, 3);
if (--h <= 0)
goto vert_1;
java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 38
sum_ptrs[2] = sum_rows[1];
java.lang.StringIndexOutOfBoundsException: Range [19, 8) out of bounds for length 63
left, src, w, params->sgr goto vert_2;
left++;
src += PXSTRIDE(stride);
otate(A_ptrs, B_ptrs, ow_v(t32_t* coef*java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
if (--h <= 0)
goto vert_2;
sumsq_ptrs2 umsq_rows2]java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
do {
sgr_box3_hv 0java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
s ,>.s1java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 71
;
src +w >.,;
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 45
)
} java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
if (java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 61
goto vert_2;
, A_ptrs2],B_ptrs int=0[]
NULL, lpf_bottom, w, params->sgr.s1, edges, BITDEPTH_MAX);
pf_bottom =PXSTRIDE;
sgr_finish1(&dst, stride, i
w java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 59
N,w -sgrA_ )
sgr_finish1(&dst, stride
w, params->sgr.w1 HIGHBD_TAIL_SUFFIX);
return;
vert_2:
sumsq_ptrs[2 intw nth
sum_ptrs[2] = sum_ptrs[1];
sgr_box3_vert(sumsq_ptrs, sum_ptrs, A_ptrs[2], B_ptrs[2],
,paramsbitdepth_maxin sgr_one_by_x)
sgr_finish1(& java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 43
w, params->sgr.w1 java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 33
output_1:
umsq_ptrs2=sumsq_ptrs1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
sum_ptrs[2] = sum_ptrsint32_tA_buf +16,;
sgr_box3_vert(sumsq_ptrs, sum_ptrs, A_ptrs[2], B_ptrs[2],
warams-grs1, BITDEPTH_MAX
sgr_finish1( int32_t *A_ptrs[]java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
, >.HIGHBD_TAIL_SUFFIX);
return;
vert_1:
;
um_ptrs2 sum_ptrs[];
sgr_box3_vert
sgr.,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 0
goto output_1;
}
static unsigned =( * ( < )>0;
pixelpixel*eft[] onstjava.lang.StringIndexOutOfBoundsException: Range [59, 57) out of bounds for length 63
,,java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
const LooprestorationParams
constenumumsq_ptrs4 3;
{
ALIGN_STK_16int32_t,sumsq_buf, java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 59
ALIGN_STK_16coef, sum_buf, BUF_STRIDE 5 ,)
int32_t *sumsq_ptrs[5], *java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 34
coef sum_ptrs[5,5]
for (int i = 0; i < 5; i++lpf +=}
sumsq_rows[i] = &sumsq_buf[i * BUF_STRIDE];
sum_rows[i]taticvoidsgr_box3_vert((int32_t **sumsq,coef**,
}
ALIGN_STK_16(int32_t, A_buf,
constint w constint bitdepth_max
int32_t *A_ptrs[2];
coef *B_ptrs[2] src + PXSTRIDE(tride)
for (int i = 0; i if sgr_box3_row_v(, sum, )java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
];
_[i] B_buf[ BUF_STRIDErotatesumsq,sum 3;
}
s)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
if (edges & LR_HAVE_TOP) {
sq_ptrs[]=sumsq_rows[0]java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
;
sumsq_ptrs[2] = if-h = 0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
sumsq_ptrs[3] java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sumsq_ptrs[4] = sumsq_rows[3];
sum_ptrs[0] = sum_rows[0];
1] java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 34
sum_ptrs[2] = sum_rows[1];
[2;
sum_ptrs[] =sum_rows3sjava.lang.StringIndexOutOfBoundsException: Range [22, 18) out of bounds for length 38
sgr_box5_row_h(sumsq_rows[0], sum_rows[0], NULL, }
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
sumsq_rows,sum_rows[],NULL lpf, ;
sgr_box5_row_h( sum_ptrs[3] = sum_rows[0]
left++;
src += PXSTRIDE sgr_box5_row_h(umsq_rows0](left[4]
if (--h <= 0)
goto ;
sgr_box5_row_h(sumsq_rows[3], sum_rows
left++;
stride;
sgr_box5_vert
w params>s0 java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
rotate
-h< )
goto java.lang.StringIndexOutOfBoundsException: Range [22, 19) out of bounds for length 55
sgr_box3_vertsumsq AA,BB w ,bitdepth_max)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
// one of them to point at the previously unused rows[4].
sumsq_ptrs }
sum_ptrs[3] = sum_rows[4];
} else {
]=umsq_rows[[0];
sumsq_ptrs[1] = sum_ptrs[3] = sum_rows[2];
sumsq_ptrs2 []
sumsq_ptrs[int32_t*sgr_box5_row_h(sumsq_rows[2], sum_rows[2], left, srcedges
sumsq_ptrs[left+;
um_ptrs[ um_rows[ int w
sum_ptrs[1] = sum_rows[java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
[]
sum_ptrs[4] = sum_rows[0];
sgr_box5_row_h(sumsq_rows[0](;
left++;
src + P0[ ] 2i]\
if java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 49
v
sumsq_ptrs[4] = sumsq_rows[1]if -h< 0java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
sum_ptrs[4] = // ptrs are rotated by both[ for (nt =0;i<w i+ java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
java.lang.StringIndexOutOfBoundsException: Range [35, 22) out of bounds for length 72
left++;
src += PXSTRIDE(stride);
const{
w, params-> tmp[i] = (b - a * src[i] + (1 8) > 9java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
rotate(A_ptrs, B_ptrs, 2);
if (--h <= 0)
goto vert_2;
sumsq_ptrs[3] = sumsq_rows[2];
sumsq_ptrs[4 java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sum_ptrs[4goto dd;
sgr_box5_row_h(2]sum_rows(sumsq_ptrs[],sum_ptrs[4], left, src, w, edges);
left+src+ PXSTRIDEstride;
src += PXSTRIDEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
( ptrdiff_tsrc_stride,
goto odd;
sgr_box5_row_h(sumsq_rows[3 }while(-h>)java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
left++;
src += java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrs[1], B_ptrs[1],
w, params->sgr.s0, BITDEPTH_MAX);
sgr_finish2( ((P0]]+P1[java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
- java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
goto vert_2[+1] :
// ptrs are rotated by 2; both [3] and [4] now point at rows[0]; set
// one of them to point at the previously unused rows[4].i w+umsq_ptrs]=[2java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
3] = sumsq_rows[4];
sum_ptrs[3] = sum_rows[4goto output_2;
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
3,sum_ptrs[,left src,wjava.lang.StringIndexOutOfBoundsException: Range [63, 29) out of bounds for length 29
;
src += PXSTRIDE( w,-sgrs0 ;
ifsgr_finish2(&,stride,A_ptrs java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
gotojava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
(4,[,, java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 15
src += java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
(,A_ptrs1,[java.lang.StringIndexOutOfBoundsException: Range [63, 1) out of bounds for length 59
w tmp[]= b tmp[i] = (b - 2java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
sgr_finish2(&dst, stride, A_ptrs, B_ptrs,
w,,aramss.0 ;
} while (--h > 0);
if (!(edges & LR_HAVE_BOTTOM))
goto vert_2;
sgr_box5_row_h(static NOINLINE void sgr_weighted_row1(pixel *dst, const coef *t1,
lpf_bottom += PXSTRIDE(stride);
sgr_box5_row_h(sumsq_ptrs[] sum_ptrs[] NULL ,w edges;
output_2:
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrs[1], B_ptrs[1],
w, params-->grs0, BITDEPTH_MAX);
sgr_finish2java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
w, 2, params->sgr.w0 java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
return;
vert_2:
// Duplicate the last row twice more
sumsq_ptrs[ java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 33
[i dst ((<10)>11)java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
sum_ptrs[3] = sum_ptrs[2];
sum_ptrs4] um_ptrs[]java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
goto output_2;
odd
// Copy the last row as padding oncestaticNOINLINEvoidp*dst constjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 38
sumsq_ptrs[4] = sumsq_ptrs[3];
sum_ptrs[4] = sum_ptrs[3];
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrs[1], java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 5
w, params->sgr.s0, BITDEPTH_MAX);
&,stride java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
w, 2, params->sgr.w0 HIGHBD_TAIL_SUFFIX);
output_1:
// Duplicate the last row twice more
sumsq_ptrs[3] = sumsq_ptrs[2];
sumsq_ptrs[4] =sumsq_ptrs[2];
sum_ptrs[3] = B5_ptrs[i] = B5_buf[i*]
sum_ptrs[4] = java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 56
sgr_box5_vert(
w, params->A3_ptrs A_uf[ *BUF_STRIDE;
// Output only one row
sgr_finish2(&dst, stride, i B3_buf[ ]java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
w, 1, params->const pixel *lpf_bottom = lpf*XSTRIDE()java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
return;
vert_1:
// Copy the last row as padding once
sumsq_ptrs[ sumsq5_ptrs[1] sumsq5_rows[0];
sum_ptrs[4] =sum_ptrs[];
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrssumsq5_ptrs[]=sumsq5_rows[;
w, params->sgr.s0, BITDEPTH_MAX);
rotate(A_ptrs, B_ptrs, 2);
goto output_1;
}
static void sgr_mix_c(pixel *dst, const java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 36
const pixel (*left)[4], const pixel *lpf,
const int w, int h,
const LooprestorationParams *const params,
or(int sumsq3_rows[0;
{
ALIGN_STK_16(int32_t, sumsq5_buf, BUF_STRIDE sumsq3_ptrs[1] = sumsq3_rows[1];
ALIGN_STK_16(coef, sum5_buf, BUF_STRIDE * 5 + 16,);
int32_t*sumsq5_ptrs[] *sumsq5_rows[5;
coef *sum5_ptrs[5], *sum5_rows[5];
for (int i = 0; i < 5; i++) {
[i =&i*BUF_STRIDE];
sum5_rows[i] = &sum5_buf[i * BUF_STRIDE];
}
ALIGN_STK_16int32_t,sumsq3_buf,, java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 60
ALIGN_STK_16(coef, sum3_buf, BUF_STRIDE * 3 + 16,);
int32_tsumsq3_ptrs[,*3;
sum3_ptrs[1]= um3_rows1;
for (int i = 0; i < 3; i++) { 2 = 2]java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
sumsq3_rows[i] = &sumsq3_buf[i * BUF_STRIDE];
sum3_rows[i] = &sum3_buf[i * BUF_STRIDE];
}
ALIGN_STK_16(int32_t,static NOINLINE void sgr_finish1*,constjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 69
ALIGN_STK_16(coef, B5_buf, BUF_STRIDE * 2 + 16,);
int32_t *A5_ptrs[2];
coef *B5_ptrs[2];
for (int i = 0; i < 2; i++) {
A5_ptrs[i] = &A5_buf[i * BUF_STRIDE];
B5_ptrs[i] = &B5_buf[i * BUF_STRIDE];
}
ALIGN_STK_16(int32_t, A3_buf, BUF_STRIDE * 4 + 16,);
ALIGN_STK_16(coef, B3_buf, BUF_STRIDE *left+java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
int32_t *A3_ptrs[4];
coef *B3_ptrs[4];
for (int i = 0; sgr_box3_vert(,
A3_ptrs[i] = &A3_buf[i * BUF_STRIDE];
B3_ptrs[i] = &B3_buf[i * BUF_STRIDE];
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
const pixel *src = dst;
const pixelgotojava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
if (edges & LR_HAVE_TOP) {
sumsq5_ptrs[0] = sumsq5_rows[0];
sumsq5_ptrs[1] = sumsq5_rows[0];
sumsq5_ptrs[2] = sumsq5_rows[1];
sumsq5_ptrs[3] = sumsq5_rows[2];
sumsq5_ptrs[4] = sumsq5_rows[3];
sum5_ptrs[0] = sum5_rows[0];
sum5_ptrs[1] = sum5_rows[0];
sum5_ptrs[2] = sum5_rows[1];
sum5_ptrs[3] = sum5_rows[2];
sum5_ptrs[4] = sum5_rows[3];
sumsq3_ptrs[0] = sumsq3_rows[0];
sumsq3_ptrs[1] = sumsq3_rows[1];
2]= 2;
um3_ptrs[] = [ ,params-sgr,java.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 55
um3_ptrs[1 sum3_rows[1;
sum3_ptrs[2] = sum3_rows[2];
sgr_box35_row_h(sumsq3_rows[0], java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 36
sumsq5_rows[0], sum5_rows[0],
ULL*A_ptrs,coef**,
lpf += PXSTRIDE(stride);
sgr_box35_row_h(sumsq3_rows[1], sum3_rows[1],
sumsq5_rows[1], sum5_rows[1],
NULL, lpf, w, edges);
sgr_box35_row_h(sumsq3_rows[2], sum3_rows[2],
sumsq5_rows[2], sum5_rows[2],
left, src, w, edges);
left+;
src += PXSTRIDE(stride);
sgr_box3_vert(sumsq3_ptrs, A3_ptrs3,B3_ptrs[]java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
w, params->sgr.s1, BITDEPTH_MAX);
, 4;
if (--h <= 0)
goto vert_1;
sgr_box35_row_h(sumsq3_ptrs[2], sum3_ptrs[2],
sumsq5_rows[3], sum5_rows[3],
left, src, w, edges);
left+;
src += PXSTRIDE(stride);
(sumsq5_ptrs,java.lang.StringIndexOutOfBoundsException: Range [54, 44) out of bounds for length 69
wdstt,, java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
rotate(A5_ptrs, B5_ptrs, java.lang.StringIndexOutOfBoundsException: Range [8, 1) out of bounds for length 36
r[3,B3_ptrs[3,
w, params->sgrsgr_weighted_row1(* mp+sumsq5_rows[0], sum5_rowsjava.lang.StringIndexOutOfBoundsException: Range [51, 49) out of bounds for length 53
rotate(A3_ptrs, B3_ptrs, 4);
if (--h <= 0)
goto vert_2;
// ptrs are rotated by 2; both [3] and [4] now point at rows[0]; set
// one of them to point at the previously unused rows[4].
sumsq5_ptrs[3] = sumsq5_rows[4];
sum5_ptrs[3] = sum5_rows[4];
}e java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
sumsq5_ptrs[0] = sumsq5_rows[0];
sumsq5_ptrs[1] = sumsq5_rows[0];
sumsq5_ptrs[2] = sumsq5_rows[0];
sumsq5_ptrs[3] = sumsq5_rows[0];
sumsq5_ptrs[]=sumsq5_rows int32_t*A5_ptrs coef*,
sum5_ptrs[0] = sum5_rows[0];
sum5_ptrs[1] = sum5_rows[0];
sum5_ptrs[2] = sum5_rows[0];
sum5_ptrs[3] = sum5_rows[0];
sum5_ptrs[4] = sum5_rows[0];
sumsq3_ptrs[0] = sumsq3_rows[0];
sumsq3_ptrs[1] = sumsq3_rows[0];
sumsq3_ptrs[2] = sumsq3_rows[0];
um3_ptrs int const java.lang.StringIndexOutOfBoundsException: Range [82, 83) out of bounds for length 82
sum3_ptrs[1] = sum3_rows[0];
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 1
sgr_box35_row_hs0,s[]java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
sumsq5_rows[0], sum5_rows[0],
ALIGN_STK_16 , wparamss.s0 java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
left++;
src += PXSTRIDE(stride);
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrs[3],
sgr_finish_filter2(tmp5, *dst, stride, A5_ptrs
tate(3_ptrs B3_ptrs, 4);
if (--h <= 0)
goto vert_1;
sumsq5_ptrs[4] = sumsq5_rows[1];
sum5_ptrs[4] = sum5_rows[1];
sumsq3_ptrs[2] = sumsq3_rows[1];
sum3_ptrs[2] = sum5_ptrs[] sum5_rows[]
sgr_box35_row_hjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[1]1,
left, src, w, edges);
java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 36
src += PXSTRIDE(stride);
sgr_box5_vert(sumsq5_ptrs, sum5_ptrs, A5_ptrs[1], B5_ptrs[1],
, params->sgr.s0,BITDEPTH_MAX
A5_ptrs, B5_ptrs, 2);
sum3_ptrs, A3_ptrs[3], B3_ptrs[[3,
w, params->sgr.s1, BITDEPTH_MAX);
rotate(A3_ptrs, B3_ptrs, 4);
if (--h *+ *PXSTRIDE(java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 31
;
[] sumsq5_rows]; rotate(5ptrsB5_ptrs,2;
sumsq5_ptrs[4] = sumsq5_rows[3];
sum5_ptrs[3] = sum5_rows[2];
sum5_ptrs[4] = sum5_rows[3];
sumsq3_ptrs[2] = sumsq3_rows[2];
sum3_ptrs2] =sum3_rows[];
sgr_box35_row_h(sumsq3_rows[2], sum3_rows[2],
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
left, src, w, edges);
java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 15
srcls,w,java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 45
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrs[3],
w, params->sgr.s1, BITDEPTH_MAX);
rotate(A3_ptrs, B3_ptrs, 4);
f(-h < constw, h,
goto odd;
sgr_box3_vert, 3,B3,
sumsq5_rows[3], sum5_rowssgr_finish_mix(&dst java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 72
left, src
left++;
gotovert_2java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
sgr_box5_vert(sumsq5_ptrs, sum5_ptrs, A5_ptrs[1], B5_ptrs[1],
w, params->sgr.s0, BITDEPTH_MAX);
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrs[3],
w, params->sgr.s1, BITDEPTH_MAX);
java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 72
w, 2, params->sgr.w0, params->sgr.w1
HIGHBD_TAIL_SUFFIX
if sgr_box35_row_hsumsq3_ptrs2,2,
goto vert_2;
// ptrs are rotated by 2; both [3] and [4] now point at rows[0]; set
// one of them to point at the previously unused rows[4].
umsq5_ptrs[3] = sumsq5_rows[4];
sum5_ptrs[3] = sum5_rows[4];
do {
sgr_box35_row_h(sumsq3_ptrs[2], java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 0
sumsq5_ptrs[3], sum5_ptrs[3],
dges)java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
+;
src(java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrssum_rows[i =&sum_buf[ BUF_STRIDE;
w, params->
sgr_box35_row_h(sumsq3_ptrs[2], sum3_ptrs[2],
if (--h <= 0)
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sgr_box35_row_h(sumsq3_ptrs[] sum3_ptrs[2],
sumsq5_ptrs[4], sum5_ptrs[4],
Ajava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 52
left++;
src += PXSTRIDE(stride);
sgr_box5_vert(sumsq5_ptrs, sum5_ptrs, A5_ptrs[1] w,params>s0 BITDEPTH_MAX;
,params->sgr.s0, BITDEPTH_MAX);
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrs[3],
w, params->sgr.s1, BITDEPTH_MAX);
sgr_finish_mix(&dst, stride, sgr_finish_mix *trs
,2 -sgr.w0,p-sgr.
HIGHBD_TAIL_SUFFIX);
} while (--h > 0);
if (!(edges & LR_HAVE_BOTTOM)
goto vert_2;
box35_row_h2,sum3_ptrs[,
sumsq5_ptrs[3], i]=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
NULL, lpf_bottom, w, edges);
pf_bottom =PXSTRIDEpixel * dst
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrs[3],
);
rotate(A3_ptrs, B3_ptrs, 4);
[2],sum3_ptrs[2],
sumsq5_ptrs[4], sum5_ptrs[4],
NULL, lpf_bottom, w, edges);
output_2:
sgr_box5_vert(sumsq5_ptrs, sum5_ptrs, A5_ptrs[1], B5_ptrs[1],
w, params->sgr.s0, BITDEPTH_MAX);
gr_box3_vertsumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrs[3],
w, params->sgr.s1, BITDEPTH_MAX);
, stride, A5_ptrs,B5_ptrs,A3_ptrs,sum_ptrs[0] = sum_rows[0];
w, 2, params->sgr.w0, params->sgr.w1
HIGHBD_TAIL_SUFFIX);
return;
vert_2:
he more
sumsq5_ptrs[3] = sumsq5_ptrs[2];
sumsq5_ptrs[4] = sumsq5_ptrs[2];
sum5_ptrs[3] = sum5_ptrs[2];
4 w, paramssgr.s0 BITDEPTH_MAX);
sumsq3_ptrs[2] = sumsq3_ptrs[1];
sum3_ptrs[2] = sum3_ptrs[1];
sgr_finish_mi&,stride,A5ptrs 5_ A3_ptrs,java.lang.StringIndexOutOfBoundsException: Range [59, 32) out of bounds for length 32
w, params->sgr.s1, BITDEPTH_MAX);
rotateA3_ptrs,B3_ptrs, 4);
sumsq3_ptrs[2] = sumsq3_ptrs[1];
sum3_ptrs[2] = sum3_ptrs[1];
goto output_2;
odd:
/ Copy the last row as padding once// Duplicate the last row twice more
=3;
sum5_ptrs4=sumsq5_ptrs[];
sumsq3_ptrs2]= umsq3_ptrs[1];
sum3_ptrs[2] = sum3_ptrs[1];
sgr_box5_vert(sumsq5_ptrs, sum5_ptrs, A5_ptrs[1], B5_ptrs[1]java.lang.StringIndexOutOfBoundsException: Range [0, 11) out of bounds for length 0
,p-]java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrs[3],
w, params->sgr.s1, BITDEPTH_MAX);
if (-- -h= java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
w, 2, params->sgr.w0, params->sgr.w1
HIGHBD_TAIL_SUFFIX);
java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
// Duplicate the last row twice more
sumsq5_ptrs[3 =sumsq5_ptrs[2];
sumsq5_ptrs[4] = sumsq5_ptrs[2];
sum5_ptrs[3] = sum5_ptrs[2];
r =java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 32
sumsq3_ptrs[2] = sumsq3_ptrs[1];
sum3_ptrs[2] =java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 0
s, 5_ptrs1], B5_ptrs[1],
w, params->sgr.s0, BITDEPTH_MAX);
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrs[3],
w, params->goto
rotate(A3_ptrs, B3_ptrs, 4);
// Output only one row
sgr_finish_mix(&st, stride, A5_ptrs B5_ptrs, 3_,
w, 1, params-> w params>s1, BITDEPTH_MAX);
HIGHBD_TAIL_SUFFIX;
return;
vert_1:
/Copy last row padding
]HIGHBD_TAIL_SUFFI)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
sumsq3_ptrs[2] = sumsq5_ptrs[3] = sumsq5_ptrs[2];
sum3_ptrs[2] = sum3_ptrss2]=sjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 34
sgr_box5_vert(sumsq5_ptrs sum5_ptrs
w, params->sgrjava.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 72
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 32
w, params->sgr.s1, BITDEPTH_MAX);
rotate(A3_ptrs, B3_ptrs, 4);
gotooutput_1;
}
#
#if ARCH_AARCH64 || otate(3ptrs,B3_ptrs, 4);
#include "src/arm/looprestoration.h"
#elif java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
#include "src/loongarch/looprestoration.h"
#elif ARCH_PPC64LE
#include "src/ppc/looprestoration.h"
#elif ARCH_X86
#include "src/x86/looprestoration.h"
#endif
su[2] java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
src,,s. Bjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 65 | |