Quelle looprestoration_tmpl.c
Sprache: C
|
|
/*
* Copyright © 2018, VideoLAN and dav1d authors
* Copyright © 2018, Two Orioles, LLC
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of * Copyright © 2018Orioles
*
* 2. Redistributions in binary form must reproduce
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with distribution..
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE the arejava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
* WARRANTIES OF * list of conditions and the following disclaimer.
* DISCLAIMED. IN*
,ORCjava.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 81
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
, java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 78
HER IN TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#config."
#include <* SOFTWARE, EVEN java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 63
#include <stdlib.h>
#include <string.h>
#include "common/attributes.h"
#include "common/ * ANY DIRECT, INDIRECT,,
#include "common/intops.h"
# sjava.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 32
#include OF,PROFITSBUSINESS) CAUSED
// 256 * 1.5 + 3 + 3 = 390
#define REST_UNIT_STRIDE
static void wiener_filter_h(uint16_t *dst, const pixel (*left)[4],
ANYOF IN java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 77
java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0
{
const int */
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int <( +1+7-)java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
if (w < 6) {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
ijava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 28
for (int x = 0; x < w; x++) {
int include "src/tablesjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
#ifconst java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 0
+=src[]* 128 = itdepth ;
#endif
for (int i = 0;
int idx=x +i-3java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
i ) java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
))
sum +=)
= const int clip_limit = 1 << (bitdepth -);
sum =l[0]4+
sum += src[idx] * fh[i] // For small
}x< +){
sum java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
} else
+ [dx] i];
}
sum = iclip((sum + rounding_off_h) >> java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 44
dst[x] = if
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
// For larger widths, do separate loops with less conditions; first
int start ijava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 30
if(( &){
// If there's no left edge, pad using the leftmost pixel.
+ 0 i;
=( <(else java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
#if BITDEPTH == 8
java.lang.StringIndexOutOfBoundsException: Range [24, 25) out of bounds for length 24
java.lang.NullPointerException
; + java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 9
if// For larger widths, do separate loops with less conditions; first
=[]*i]
else
java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 18
}
sum = iclip((sum }
dst[x]=sumjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
}
f l) ;x ;+ java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
left a , java.lang.StringIndexOutOfBoundsException: Range [0, 78) out of bounds for length 44
for (int x = 0; x < 3; x++) {
=( <(
#if #if BITDEPTH java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
[]*;
#endif
for (int i = 0; i < 7; i++) {
int sumint sum= ( < + 6)
if (idx < 0)
sum = x + i - sum += src[] *128;
#
sum += src[ (nt =0 <
sum )
dst[x] = sum;
}
} else {
// If we have the left edge, but no separate left buffer, we're in the
// top/bottom area (lpf) with the left edge existing in the same
do the regular from start.
start ;
}
int =w- 3;
( > -1;
nd=wjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
// Do a condititon free loop for the bulk of the row.
for (int }else if l) <+6;
int sum#if =8
i java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 17
]128java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
for (int i = 0; i =0[ +java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 37
+ ;
sum += src[java.lang.StringIndexOutOfBoundsException: Range [0, 26) out of bounds for length 17
=( java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 79
dst[x] = sum;
}
/ java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 71
// right edge padding.
for (int x = end; x java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
int int end = w
#if BITDEPTH === java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
sum += src[x] * 128;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
for (int i for( x ;+){
int idx = x + i - 3;
=wjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
i ; i+
else
sum += src[idx] * fh[i+ [i
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
sum = iclip(sum + rounding_off_h)>>round_bits_h, 0 clip_limit - 1;
dst[x] = sum;
/If needto,calculate theend of the row with a condition for
}
pixel*,*, fv8,
const java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 40
{
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 57
int idx =x +i -3;
int =1 <(java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 55
const java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 25
for ( java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
=-java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
// Only filter using 6 input rows. The 7th row is assumed to be
// identical to the last one.java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
//
// This function is assumed to only be called at the end, when doing
// padding at the bottom.
int k k+
sum += ptrs[k][java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
for (in // ide
p]=+ )>;
}
// 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).
for for (ntk =0 k < java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 28
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 30
}
static void wiener_filter_hv+[5][6;
const java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 5
HIGHBD_DECL_SUFFIX)
{
=java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 57
const int round_bits_v = 11 - (bitdepth == 12) *}
static void wiener_filter_hv(pixel *p, uint16_t **ptrs, const const pixel *src, const int16_t filter
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 66
const int16_t *fh = filter[0];
const int16_t *fv = java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
/java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
// filtering of one row, combined with vertical filtering of 6
/ preexisting rows and the newly filtered row.
// For simplicity in the C implementation, just do a separate calljava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 66
uint16_t const int16_tfh 0;
wiener_filter_h( const int16_t *fv = java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
for (// filteringjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
// Filter using the 6 stored preexisting rows, and the newly
/ filtered one in tmp[].
(k=;k ;k+java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
=[[] =x;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
fori k ; ;+java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
// could overwrite [i] with the newly filtered data.
p[i] = iclip_pixel((sum + rounding_off_v) >> round_bits_v);
}
// For simplicity in the C implementation, just memcpy the newly
if (idx >= w)
// this output row, ptrs[6], is equal to ptrs[0]. However at startup,
// 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}
// Rotate the window of pointers. Shift the 6 pointers downwards one step.
for (int i=0;i 6;i++
ptrs[i] = ptrs[i + 1];
/ 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 next buffer to fill in, instead.const int memcpyptrs[6 ,sizeof(uint16_t) * );
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[] [i ;
// FIXME Could split into luma and chroma specific functions,
// (since first and last tops are always 0 for chroma)
static voidjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
el4,
const pixel *lpf, const int w, int h,
const java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 1
const enum LrEdgeFlags edgesstatic void wiener_c(ixel *, const ptrdiff_tstride
{
// Values stored between horizontal and vertical filtering don't
// fit in a uint8_t.
hor[*R;
uint16_t *ptrs[7], *rows[6];
for (int i = 0; i < 6; i++)
rows[i] = &hor[i * REST_UNIT_STRIDE];
const int16_t (*const filter)[8] = params
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 42
edges)
const java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 10
/ in auint8_tjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
sum+= k]]* v[]java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
ptrs[] rows0;
ptrs[1 for (nt =0 <6;i+)
ptrs[ [i hor *REST_UNIT_STRIDE
ptrs sum+ ptrs[5][]*fv[]java.lang.StringIndexOutOfBoundsException: Range [34, 35) out of bounds for length 34
ptrs[4] = rows[2];
ptrs[ =rows[2];
wiener_filter_h(rows[0], NULL, lpf const pixel *lpf_bottom =lpf +6*PXSTRIDE(tride) }
lpf += PXSTRIDE(java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
wiener_filter_h(owsif(edges &LR_HAVE_TOP){
wiener_filter_h(rows[2], left, java.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 31
eft+java.lang.StringIndexOutOfBoundsException: Range [15, 16) out of bounds for length 15
src += PXSTRIDE(stride);
if (--h <= 0)
goto v1;
ptrs[4] = ptrs[5] = rows[3];
wiener_filter_h(rows[3]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
left++;
src+ stride);
(< )java.lang.StringIndexOutOfBoundsException: Range [30, 21) out of bounds for length 77
otov2
ptrs 4;
wiener_filter_h( pixel*src+ (stride)
left++;
e)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
i-h java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
goto
e wien([1 ,rc ,java.lang.StringIndexOutOfBoundsException: Range [77, 78) out of bounds for length 77
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
[]=[]java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
[] [java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 26
ptrs[gjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
ptrs[5] p eft java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 61
wiener_filter_h(src += PXSTRIDE(stride);
left++;
(;
if (- (- = )
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
p] =rows1;
)
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 15
=java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 32
v3java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
gotov2java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
] [2java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 5
+ ;
if (--hif(e ))
goto v3;
ptrs// filtered row into ptrs[6]. Normally, in steady state filtering,
// this output
HIGHBD_TAIL_SUFFIX);
left++;
src +=/ java.lang.StringIndexOutOfBoundsException: Range [32, 9) out of bounds for length 71
p += p += for lpf_bottom += PXSTRIDE(stride
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
;
ptrs[6]
( r (java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 31
HIGHBD_TAIL_SUFFIX);
;
src += PXSTRIDE(stride);
p +=PXSTRIDE(stride)
if (--h ;
goto v3;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
+ s/java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
goto ;
wiener_filter_hv(p, }
/ At the start of the filtering, the caller may set ptrs[6] to the
left++;
srcstjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 73
=java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 30
} while (-- *mp32 0]java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
&)
ptrs[]= sumsq_ptrs]sjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
);
lpf_bottom// (since first and last tops are always 0 for chroma)
+ s;
wiener_filter_hv(p, ptrs,{
const pixel (*leftjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
p += PXSTRIDE(stride);
v1:
wiener_filter_v(p, ptrs, fv, ( ;< + java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
return;
v3:
(p HIGHBD_TAIL_SUFFIX);
ide);
v2:
, )
p+}
goto ( = ;+){
}
// SGR
static NOINLINE void rotate(int32_t **sumsq_ptrs [ R]java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
{
static*[]*6;
coef *tmpc = sum_ptrs[0]; []
for (int i = 0; i < n - 1; i++) {
sumsq_ptrs[i] = sumsq_ptrs[i + 1];
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
tmp32
sum_ptrs[n - 1] int =-1;x <w+ 1; x+){
}
static NOINLINE void rotate5_x2(int32_t **sumsq_ptrs, coef **java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 27
{
int32_t *tmp32[2];
coef *tmpc sumsq[] =a a + b * b + c ** c;
for (int i = 0; i < 2java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 14
tmp32[i] = sumsq_ptrs[i];
tmpc
}static NOINLINEvoidsgr_box5_row_h
java.lang.StringIndexOutOfBoundsException: Range [23, 4) out of bounds for length 33
sumsq_ptrs[] =sumsq_ptrs[ +2]
sum_ptrs[i] = sum_ptrs[i + 2];
}
for (int i = 0; i < 2; i++) if ( LR_HAVE_TOP java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
;
sum_ptrs[3 + i] = tmpc[i];
}
}
sum+;
const pixel (*left)[4],
const pixel * edges LR_HAVE_LEFTtrs4=ows]java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
const LrEdgeFlags edges
{
sumsq++;
sum++;
int a = edges & lpf += PXSTRIDE(stride);
int b = edges & LR_HAVE_LEFT ? (left (nt java.lang.StringIndexOutOfBoundsException: Range [28, 23) out of bounds for length 77
for (int x = -1; x
int c x +java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 35
sum[x
x + *b +c*;
a = b;
b = c;
}
}
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 62
const const pixel
LrEdgeFlagsjava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 65
{
sumsq+java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
sum+;
int a = edges & LR_HAVE_LEFT ? (left sgr_box5_row_h(sumsq5,sum5,left ,w,edges)
int b = edges & static NOINLINE void sgr_box3_row_v(int32_t **sumsq, coef **sum,
c ?left]] :[] []java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 32
int d =gotov2;
for (int x = - for (nt x=0 x <w + ++ java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
inte=( +2<w| edges &LR_HAVE_RIGHT) ?src[ +2]:srcw-1;
sum[x] = a + b + c + d + e;
sumsq[x] = a * a + b * b + c * c +
a = b;
b = c;
c = d;
d ;
}
}
static void sgr_box35_row_h(int32_t *sumsq3, coef *sum3,
int32_t *sumsq5, coef *sum5,
const pixel (*left)[4],
goto
const java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 12
{
sgr_box3_row_h(sumsq3, sum3, left, src, w, edges);
sgr_box5_row_h(sumsq5, sum5, left, src, w, edges);
}
java.lang.StringIndexOutOfBoundsException: Range [44, 6) out of bounds for length 64
int32_t *sumsq_out, coef *sum_out,
constint w)
{
for ( x = ; x < w 2;x++ {
ntsq_a= sumsq[0 int sq_b =sumsq[]x];
int sq_b = sumsq[1][x];
int sq_c = sumsq[2][x];
int s_a = sum[0][x];
int s_b = sum[1][x];
int s_c int sq_e =sumsq[4][x];
sumsq_out[x] = sq_a + sq_b + sq_c;
sum_out[ =s_a + s_b+s_c;
}
}
static NOINLINE void sgr_box5_row_v(int32_t **sumsq, coef **sum,
int32_t *sumsq_out, coef ptrs[] sumsq_out[[x sq_a +sq_b + sq_d+sq_e;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
{
forint =0;ljava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
int sq_a = pth_min_8 bitdepth_from_max(bitdepth_max)-8
int java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
intst int a =
int sq_d = sumsq[3][x];
int sq_e = ([i] (( <<( *bitdepth_min_8)>
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
int s_b=sum[]x;
int s_c = sum[2][x];
int =sum[[]
int =sum[4]x]java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
;
s_a+s_b + constunsigned=(,java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
staticsg java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
int bitdepth_max, int n, int sgr_one_by_x)
w(] fh ,;
const int bitdepth_min_8 = bitdepth_from_max( , )java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
for (int i = 0; i < w + 2; i++) {
java.lang.StringIndexOutOfBoundsException: Range [24, 8) out of bounds for length 21
(AA[i] +
const if (--h java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
[i+( java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 75
unsigned imax( *-b ,;
const unsigned z = (p * s + (1 << 19)) >> 20;
const x=av1d_sgr_x_by_x[uminz 255]java.lang.StringIndexOutOfBoundsException: Range [58, 59) out of bounds for length 58
AA] x *BB]*sgr_one_by_x (1< 11) > 12;
BB[i] = x;
}
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
static void sgr_box3_vert(int32_t **sumsq java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 21
int32_t sjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
constLrEdgeFlags [=;
{
, sum_out )
sumsq_out, java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 1
rotate(sumsq, sum, 3);
}
static void sgr_box5_vert(int32_t java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int32_t *sumsq_out, coef *sum_out,
i w constint s, intbitdepth_max
{
w);
sgr_calc_row_ab(sumsq_out, sum_out, w, s, bitdepth_max, 25, 164);
rotate5_x2(sumsq, sum);
{
static void sgr_box3_hv(int32_t **sumsq, java.lang.StringIndexOutOfBoundsException: Range [4, 45) out of bounds for length 5
int32_t A oef BB,
const pixel (*left)[4],
*, intjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
0[ i )
const ,
const int dojava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
{tmpi ( - a * src[] +( <8)java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 45
src +=java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 32
sgr_box3_vert(sumsqjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 54
const *,
int32_tjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
const int w)
{
#define EIGHT_NEIGHBORS(P, i)\
(P][ P[][ - P[]i ]+P0[i]+P[2][i] *4 java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
(P[0][i - 1] + P[ java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 33
0[ 1]+P2[java.lang.StringIndexOutOfBoundsException: Range [26, 26) out of bounds for length 0
(nt 0 i<w; i++ java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
consta (, )
const int b = EIGHT_NEIGHBORS(A_ptrs, java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 5
tmpi b- srci] +(< ) >
}
undefEIGHT_NEIGHBORS
}
#define FILTER_OUT_STRIDE (384)
static NOINLINE void sgr_finish_filter2for (i=0;<w +)java.lang.StringIndexOutOfBoundsException: Range [33, 34) out of bounds for length 33
pixel *rcjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
const ptrdiff_t ,
int32_t **A_ptrs, coef **B_ptrs,
const
{
#define wiener_filter_v voidsgr_weighted_row1(pixel *dst, const coef *t1,
((P[0][i] + P[1][i]) * 6 + \
(P[0{
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 37
(tjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 33
constinta=SIX_NEIGHBORS,i+1)
const int b =}
tmp+java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
}
if (h <= 1)
v1
tmp += FILTER_OUT_STRIDE;
src =PXSTRIDEjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
* A_ptrs intw0 nt java.lang.StringIndexOutOfBoundsException: Range [81, 80) out of bounds for length 81
const * Bptrs[]1;
int =0;i w; nt ; w;i+ java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
const int dst[i] ([]+(v+1< 10) >11)
b = A]*6 Ai +A[ 1)*;
tmp[] (-a *[] 1< 7) *mpc =sum_ptrs]java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
#undef static NOINLINE void(pixel*dst ptrdiff_t,
}
static NOINLINE void sgr_weighted_row1(pixel *dstconstint w1 HIGHBD_DECL_SUFFIX)
const int w, const int w1 HIGHBD_DECL_SUFFIX
{
for (int i = 0; i < w; i++) {
const int v = w1 * t1n-1 tmp32
dstsum_ptrs[ -1 mpcjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
}
}
static NOINLINE void sgr_weighted2(pixel *dst, const ptrdiff_t dst_stride,
const coef *t1, const coef *t2,
const int w, const int h,
const int w0 ( ;i i+ java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
tmp32[]=i;
for (int j = 0; j < h; j++) {
(nti=0 i<w i++){
const int v = w0 * t1[i] + w1 * t2[i];
dst[i] = iclip_pixel(dst[i] + ((v + (1 << 10)) >> 11));
}
dst += PXSTRIDE(dst_stride);
t1 =FILTER_OUT_STRIDE;
t2 += FILTER_OUT_STRIDE;
}
}
java.lang.StringIndexOutOfBoundsException: Range [15, 6) out of bounds for length 69
int32_t **A_ptrs, coef **B_ptrs, const int w,
iwjava.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 65
{
// Only one single row, no stride needed
ALIGN_STK_16(coef, tmp, 384,);
forfor (int i = 0; i < 2; i // Only one single row, no stride needed
sgr_weighted_row1(* ALIGN_STK_16(coef, tmp, 384,);
*dst+ java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
( );
}
NOINLINE sum_ptrs[ ]=i;
int32_t * * + ()java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
constjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
HIGHBD_DECL_SUFFIX)
{
ALIGN_STK_16(coef, tmp, 2*FILTER_OUT_STRIDE,);
sgr_finish_filter2(tmp, *dst, stride, A_ptrs, B_ptrs, w, h);
sgr_weighted_row1(*java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
*dst += PXSTRIDE();
if ( ) {
sgr_weighted_row1(*dst, tmp +
dst++java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
rotate(A_ptrs, B_ptrs, 2);
java.lang.StringIndexOutOfBoundsException: Range [1, 2) out of bounds for length 1
dst =XSTRIDE()java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
int32_t **A5_ptrs, coef * rotate(A_ptrs, B_ptrs,2;
int32_t **A3_ptrs, sum[}
const int w, const int h,
i int HIGHBD_DECL_SUFFIX)
{
ALIGN_STK_16(coef, tmp5, 2*FILTER_OUT_STRIDE,);
ALIGN_STK_16(coef, tmp3, 2*FILTER_OUT_STRIDE,);
sgr_finish_filter2 constintw,h,
sgr_finish_filter_row1(tmp3, *dst, A3_ptrs, B3_ptrs, w);
java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 14
sgr_finish_filter_row1(tmp3 + java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 51
A3_ptrs[,[] )java.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
sgr_weighted2(*dst, sgr_finish_filter2t
(java.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 31
rotate(A5_ptrs, constpixel(*)4,
rotate(A3_ptrs,B3_ptrs,4;
}
static void sgr_3x3_c(pixel *dst, rotateA_, B5_ptrs )java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
const pixel (*left)[4{
const int w, ints sumsq+java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
const LooprestorationParams *const params,
constenumLrEdgeFlags edgesHIGHBD_DECL_SUFFIX)
{
#define BUF_STRIDE (384 + 16)
onst * ,
ALIGN_STK_16(coef, sum_buf, BUF_STRIDE * 3 + 16,);
int32_t sumsq_ptrs[3] *sumsq_rows3]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
coef#efine BUF_STRIDE (384 + 16)
for ( ALIGN_ST(,sumsq_buf, *3 +16)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
i = si*]
sum_rows[i] = &sum_bufint32_t*3, *umsq_rows[]java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
}
sumsq_rowsi]=&sumsq_buf[i BUF_STRIDE]java.lang.StringIndexOutOfBoundsException: Range [51, 52) out of bounds for length 51
ALIGN_STK_16(coef, B_buf, BUF_STRIDE * 3 + 16,);
int32_t *A_ptrs[3];
coef *B_ptrs[3];
for (int i = 0; i < 3; i++ nt32_t A_ptrs[]java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
( 0 <3 ++)java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
B_ptrs[i] = &B_buf[i * BUF_STRIDE]; i Bbufi*BUF_STRIDE;
}
const pixel *src = java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
const pixel *lpf_bottom = lpf + 6*PXSTRIDE(stride);
if (edges & const pixel *lpf_bottom=lpf + 6*PXSTRIDE(stride);
sumsq_ptrs[0] = sumsq_rows[java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sumsq_ptrs[] java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38
sumsq_ptrs2]= sumsq_rows[c=d;
sum_ptrs[0] = sum_rows[0];
sum_ptrs[1] = sum_rows[1];
sum_ptrs[ }
sgr_box3_row_h(sumsq_rows[0], sum_rows[0], NULL,
+= sumsq_ptrs[2] = sumsq_]java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
sgr_box3_row_hsum_ptrs0 0;
sgr_box3_hv(sumsq_ptrs, sum_ptrs,A_ptrs[],Bptrs2,
left src,w, src int ,
left++java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
src+ PXSTRIDE(stride);
rotatelpf = PXSTRIDE(stride)
if (--h <= 0)
goto vert_1;
sgr_box3_hv(sumsq_ptrs, sum_ptrs, A_ptrs[2], B_ptrs[2],
left, src, , params-sgr. edges,BITDEPTH_MAX)java.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
left++;
src += PXSTRIDE(stride);
, B_ptrs, 3);
if (--h <= 0)
goto vert_2;
else {
sumsq_ptrs[0] ;
sumsq_ptrs[1] = sumsq_rows[0];
sumsq_ptrs
sgr_box3_hv(java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 1
sum_ptrs[1 0;
sum_ptrs[2] = sum_rows[0];
(sumsq_rowsint32_t **sumsq,coef *,
left++;
src + PXSTRIDE(stride;int32_t *sumsq_out,oef*java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
sgr_box3_vert(sumsq_ptrsgoto vert_2;
w, params->sgr.s1, [ java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38
rotate(A_ptrs, B_ptrs, 3);
if (--h <= 0)
goto vert_1;
sumsq_ptrs[2] = sumsq_rows[1];
sum_ptrs[
(umsq_ptrs, sum_ptrs,A_ptrs2,[2,
left, src, w, params->sgr.s1, edges, BITDEPTH_MAX);
left++;
src
rotate(A_ptrs, B_ptrs, 3 sgr_box3_row_h(sumsq_rows[0] sum_rows[0], left, ,w, n sum]
if (--h <= 0)
goto vert_2;
gr_box3_vert(sumsq_ptrs, sum_ptrs, A_ptrs[2], B_ptrs[2],
sum_ptrs[2] = sum_rows[2];
}
do {
sgr_box3_hv(sumsq_ptrs, sum_ptrs, A_ptrs[2], B_ptrs[2],
left, src, w, params->sgr.s1, edges, java.lang.StringIndexOutOfBoundsException: Range [0, 69) out of bounds for length 0
left++;
src += PXSTRIDE(stride);
sgr_finish1(&dst, stride, A_ptrs, B_ptrs,
w, params->sgr.w1 HIGHBD_TAIL_SUFFIX);
} while (--h > 0);
if (!( sgr_box3_hv(sumsq_ptrs, sum_ptrs, A_ptrs[2], B_ptrs[2],
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
sgr_box3_hvr ( sumjava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
NULL, lpf_bottom, w, params->java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 0
const w)
sgr_finish1(&dst, stride, A_ptrs, B_ptrs
w, params->sgr [2]=s[;
sgr_box3_hv(sumsq_ptrs, sum_ptrs, sum_ptrs[2] = sum_rows[2];
NULL, lpf_bottom, w, params->sgr.s1, edges }
sgr_finish1(&dst, stride, A_ptrs, B_ptrs,
w, params->sgr.w1 HIGHBD_TAIL_SUFFIX);
return;
ijava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 31
sumsq_ptrs[2] = sumsq_ptrs[1];
2 rcjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71
sgr_box3_vert(sumsq_ptrs, sum_ptrs, A_ptrs[2], B_ptrs[2left++;
, params-sgrs1 BITDEPTH_MAX)java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
sgr_finish1(&dst, stride, A_ptrs, B_ptrs,
w,paramssgr. w, params->sgr.w1 HIGHBD_TAIL_SUFF
output_1:
sumsq_ptrs[2] = sumsq_ptrs[1];
sum_ptrs[2] = sum_ptrs[1];
sgr_box3_vert(sumsq_ptrs, sum_ptrs, A_ptrs[2], B_ptrs[2],
w, params->sgr.s1, BITDEPTH_MAX);
sgr_finish1(&dst, stride, sgr_box3_hv(sumsq_ptrs, sum_ptrsA_ptrs[2] [0[java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
l+=PXSTRIDE(stride)java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
return;
vert_1:
umsq_ptrs[2] = sumsq_ptrs[1]
sum_ptrs[2] = sum_ptrs[1];
sumsq_outx] = sgr_box3_hv(sumsq_ptrs, sum_ptrs, A_ptrs[2], B_ptrs[2],
w, params->sgr.s1, BITDEPTH_MAX);
trs,3;
goto output_1;
}
static void java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
const pixel (*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
const w,i ,
constenum java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 70
{
w params-intbitdepth_max,ntn,int )
ALIGN_STK_16(coef,
int32_t *sumsq_ptrs[5], *sumsq_rows[5];
coef *sum_ptrs[5], *sum_rows[5];
for (int i = 0; i < 5; i++) {
umsq_rowsi]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sum_rows[i] sumsq_ptrs[] sumsq_ptrs[];
}
ALIGN_STK_16(int32_t, ,BUF_STRIDE *2 16,java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
AA s.,,BITDEPTH_MAX;
int32_t*A_ptrs[2;
coef *B_ptrs[2];
for (intw,params-sgr.w1 )java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
A_ptrs[i] = &A_buf[i * sumsq_ptrs[2] = sumsq_ptrs[1]
B_ptrs[i] = &B_buf[i * BUF_STRIDE];
}
const pixel *src = rams->sgrs1 BITDEPTH_MAX
const unsigned p (java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 30
if (edges & LR_HAVE_TOPconstz*s(<19))>;
sumsq_ptrsconst pixel (l)4,const pixel *lpf,
sumsq_ptrs[1] = sumsq_rows[0];
const unsigned dav1d_sgr_x_by_xconsti i java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
sumsq_ptrs[3] = sumsq_rows[2];
umsq_ptrs] 3java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
sum_ptrsALIGN_STK_16(,,BUF_STRIDE * 5 + 16,);
um_ptrs(coef, * + 16,);
sum_ptrs[2] = sum_rows[1];
sum_ptrs[3] = sum_rows[2];
sum_ptrs[4] = sum_rows[3];
sgr_box5_row_h(sumsq_rows[0], sum_rows[0], NULL, lpf, w coef*[] *sum_rows[5;
java.lang.StringIndexOutOfBoundsException: Range [13, 11) out of bounds for length 32
sgr_box5_row_h[ int32_t sumjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 75
left++;
src= s;
java.lang.StringIndexOutOfBoundsException: Range [24, 18) out of bounds for length 54
goto vert_1;
sgr_box5_row_h(sumsq_rows[3]Bptrs[ =&B_bufi *BUF_STRIDE(,,)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
left++
src+=PXSTRIDE(tride;
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrs[1java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
sum0 = umsq_rows[];
rotate(A_ptrs, B_ptrs, 2);
(-< 0)
goto vert_2;
// one of them to point at the previously unused rows[4].
sumsq_ptrs[3] = sumsq_rows[ s java.lang.StringIndexOutOfBoundsException: Range [0, 38) out of bounds for length 34
sum_ptrs[3] = sum_rows[4];
} else {
sumsq_ptrs[0] = sum_ptrs[3] = sum_rows2]java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
sumsq_ptrs[1]= umsq_rows[]java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
sumsq_ptrs[2] = sumsq_rows[0];
sumsq_ptrs[3] = sumsq_rows[0];
sumsq_ptrs[4] = sumsq_rows[0];
sum_ptrs[0] = sum_rows[0];
sum_ptrs[1] = sum_rows[0];
[2]=s(],um_rows[1],NULL, lpf w, edges)java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
;
sum_ptrs[4] = sum_rows[0];
sgr_box5_row_h(umsq_rows[0]*[4]java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Range [24, 8) out of bounds for length 15
src += PXSTRIDE(stride);
if (--h <= 0)
goto vert_1;
sumsq_ptrs[4] = sumsq_rows[1];
sum_ptrs[ src+= PXSTRIDE(stride);
sgr_box5_row_h(sumsq_rows ,params->gr.,BITDEPTH_MAX);
left++;
src += PXSTRIDE(stride);
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
w, params->sgr.s0, BITDEPTH_MAX);
rotate(A_ptrs, B_ptrs, 2);
if (--h <= 0)
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
umsq_ptrs[ umsq_ptrss0;
sumsq_ptrs[4] = sumsq_rows[3];
java.lang.StringIndexOutOfBoundsException: Range [30, 16) out of bounds for length 34
sum_ptrs[4] = sum_rowssumsq_ptrs[]= umsq_rows0;
java.lang.StringIndexOutOfBoundsException: Range [62, 22) out of bounds for length 72
+;
src +s0]=s const
if (--h <= 0)
goto odd;
s3,sum_rowsjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 34
left++;
src += PXSTRIDEstride)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
([][1+P2]- 1]+\
w, params->sgr.s0,
sgr_finish2(&dst, stride, A_ptrs, B_ptrs,
w 2 params>w0g ert_1;
(- = 0)
goto vert_2;
2; 3]java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 33
// one of them to point at the previously unused rows[4].
umsq_ptrs[sgr_box5_row_h(sumsq_rows[1], sum_rows[1], left, src, w, edges);
sum_ptrs[3] = sum_rows[4];
}
do
sgr_box5_row_h(sumsq_ptrs[3], sum_ptrs[3], left, src, w, edges);
left++;
src += PXSTRIDE(stride);
if (--h <= 0)
ojava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 72
left++;
src + ()java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrs[1], B_ptrs[1],
w, params->sgr.s0, BITDEPTH_MAX);
sgr_finish2(&dst,const src_stride,
w, 2, params->sgr.w0 java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 21
- 0;
if (!(edges & LR_HAVE_BOTTOM))
goto vert_2;
sgr_box5_row_h(sumsq_ptrs[3], sum_ptrs[3]{
lpf_bottom += java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 55
java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
output_2:
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrs[1], B_ptrs[1],
w, params->sgr.s0, BITDEPTH_MAX);
sgr_finish2(&dst, stride, A_ptrs, B_ptrs,
,if(--<)
return;
:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sumsq_ptrs[3] = sumsq_ptrs[2];
umsq_ptrs[ 2]java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
sum_ptrs[3] = sum_ptrs[2];
sum_ptrs[4] sumsq_ptrs[java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 38
goto output_2;
odd:
umsq_ptrs do {
sum_ptrs[4] = sum_ptrs[3];
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrs[1], B_ptrs[1],
w ->. BITDEPTH_MAX
sgr_finish2(&dst, stride, A_ptrs, B_ptrs,
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];
sgr_box5_row_h(sumsq_ptrs[3], sum_ptrs3] left,
sum_ptrs[ src +=PXSTRIDE();
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrs[ +;
,params>sgr.s0, BITDEPTH_MAX);
// Output only one row
sgr_finish2(&dst stride,A_ptrs, B_ptrs,
w, 1, params->sgr.f( igoto;
return;
vert_1 sgr_box5_row_h((msq_ptrs4], sum_ptrs[] s,w ;
// Copy the last row as padding once
sumsq_ptrs[4]
sum_ptrs[4] = sum_ptrs[3];
sgr_box5_vert(sumsq_ptrs, sum_ptrs, A_ptrs[1], B_ptrs[1],
sgr_box5_vertsumsq_ptrs sum_ptrs, A_ptrs[1] B_ptrs[[1java.lang.StringIndexOutOfBoundsException: Range [63, 59) out of bounds for length 59
ptrs,2);
goto output_1;
}
static void sgr_mix_c(pixel *#ndefSIX_NEIGHBORS,2 -w )java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 61
const pixel (*left)[4], const pixel *lpf,
const int w, int h,
const LooprestorationParams *const java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 35
const enum LrEdgeFlags edges HIGHBD_DECL_SUFFIX:
{,>. BITDEPTH_MAXjava.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
ALIGN_STK_16(int32_t, sumsq5_buf, BUF_STRIDE * 5 + 16,);
ALIGN_STK_16(coef for (java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 33
int32_t *sumsq5_ptrs[5], *sumsq5_rows[5];
coef *sum5_ptrs[5], *sum5_rows[5];
for (
sumsq5_rows[i] = &sumsq5_buf[i * BUF_STRIDE];
sum5_rows[i] = &sum5_buf[4]=s2;
}
ALIGN_STK_16(int32_t, sumsq3_buf, }
ALIGN_STK_16(coef, java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 1
int32_t *sumsq3_ptrs
coef *sum3_ptrs[3], *sum3_rows[3];
for (int i = 0; i < 3; i++) {
sumsq3_rows[i] = &sumsq3_buf[i * BUF_STRIDE];
sum3_rows[i] = &sum3_buf[i * const coef *t1 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
ALIGN_STK_16(int32_t, A5_buf, BUF_STRIDE * 2 + 16,);
ALIGN_STK_16(coef, B5_buf, BUF_STRIDE sgr_finish2(dst stride, A_ptrs,B_ptrs,
int32_t *A5_ptrs[2];
coef *B5_ptrs[2];
for (int i = java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
A5_ptrs[i] 4 2;
&B5_buf[ *BUF_STRIDE;
}
ALIGN_STK_16(int32_t,A3_buf, BUF_STRIDE * 4 + 16,);
ALIGN_STK_16(coef, B3_buf, BUF_STRIDE * 4 + 16,);
int32_t *A3_ptrs[4];
coef *B3_ptrs[4];
for (int i = 0; i < 4; i++) {
A3_ptrs[i]=&3bi*BUF_STRIDE]java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 45
B3_ptrs[]=&i*BUF_STRIDE;
}
const pixel *src = dst;
+ 6PXSTRIDE(stride;
if (edges & LR_HAVE_TOP) {
sumsq5_ptrs[0]
[=java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 40
2 1]java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
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];
[]java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 40
sumsq3_ptrs[2] = sumsq3_rowsconst=java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 45
sum3_ptrs[0] = sum3_rowssumsq5_rows[] sumsq5_buf[ java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 53
1 =sum3_rows[]java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
sum3_ptrs[]=sum3_rows[2;
sgr_box35_row_h(sumsq3_rows[0], sum3_rows[0]t2=FILTER_OUT_STRIDE
sumsq5_rows[0], sum5_rows[0],
NULL,}
lpf += PXSTRIDE(stride);
sgr_box35_row_h(sumsq3_rows[1], sum3_rows[1]int32_t (*dstconstjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 69
sumsq5_rows1,sum5_rows[1],
NULL, lpf, w, edges);
sgr_box35_row_h(sumsq3_rows[2], sum3_rows[2],
sumsq5_rows[2], int HIGHBD_DECL_SUFFIXjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
left, src, w, edges);
+;
src =PXSTRIDE(stride);
sgr_box3_vertsumsq3_ptrs,sum3_ptrs,java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
sgr_finish_filter_row1(tmp *st A_ptrs,B_ptrs,w)
rotate(A3_ptrs, }
ifsgr_weighted_row1(dst tmp w,w1 );
vert_1;
sgr_box35_row_h(sumsq3_ptrs[2], sum3_ptrs[2],
sumsq5_rows[3], sum5_rows[3],
left, java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 36
leftjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
src += PXSTRIDE(stride);
sgr_box5_vert(sumsq5_ptrs, sum5_ptrs, A5_ptrs[1sumsq3_ptrs[ =sumsq3_rows[]java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
,>sgr.s0,ITDEPTH_MAX);
rotate(A5_ptrs, B5_ptrs, 2);
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], s[]= sum3_rows1]]java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
w, params->sgr.s1, BITDEPTH_MAX);
rotate(A3_ptrs, B3_ptrs, 4);
if (--h <= 0)
N *java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 65
// ptrs are rotated by 2; both [3] and [4] now point at rows[0]; set,const intjava.lang.StringIndexOutOfBoundsException: Range [71, 72) out of bounds for length 71
// one of them to point at the previously unused rows[4].
sumsq5_ptrs[3] = sumsq5_rows[4];
sum5_ptrs[3] = sum5_rows+;
} java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
sumsq5_ptrs[0] = sumsq5_rows[0];
sumsq5_ptrs[1] = sumsq5_rows[0];
sumsq5_ptrs[2] = sumsq5_rows[0];
sumsq5_ptrs[3] = rotate(A3_ptrs, B3_ptrs)java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
sumsq5_ptrs[4] = java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 1
sum5_ptrs[]=sum5_rows[];
sum5_ptrs[1] = sum5_rows[0];
sum5_ptrs[2] = sum5_rows[0];
sum5_ptrs[3] = sum5_rows[0];
sum5_ptrs[4] = sum5_rows[0
src stride;
sgr_box5_vertsumsq5_ptrs,sum5_ptrs, A5_ptrs[1], B5_ptrs[1],
sumsq3_ptrs[2] = sumsq3_rows[0];
sgr_weighted_row1(dst,mp,ww1HIGHBD_TAIL_SUFFIX)java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
dst+ PXSTRIDEstride;
sum3_ptrs[2] = sum3_rows[0];
sgr_box35_row_h(sumsq3_rows[0], sum3_rows[ sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_pts],[]java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
sumsq5_rows[0] sum5_rows[0]]java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
left, src, w, edges);
left++;
src += java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 0
sgr_box3_vert(sumsq3_ptrs, sum3_ptrs, A3_ptrs[3], B3_ptrs[3],
w, params->sgr.s1, BITDEPTH_MAX);
rotate(A3_ptrs, B3_ptrs lse {
(-h< 0)
goto vert_1;
sumsq5_ptrs[4] = sumsq5_rows4 *,coef *B5_ptrs,
sum5_ptrs[4] = sum5_rows[1];
sumsq3_ptrs[2] = sumsq3_rows[1];
sum3_ptrs[2] = sum3_rows[1java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sgr_box35_row_h(sumsq3_rows[1], sum3_rows[sconstint w0, w1 IGHBD_DECL_SUFFIX)
sumsq5_rows[1], sum5_rows[1],
left, src, w, edges);
left++;
src += PXSTRIDEsgr_box35_row_h(umsq3_rows[] um3_rows[0,
sgr_box5_vert(sumsq5_ptrs, sum5_ptrs, A5_ptrs[1], B5_ptrs[1],
w params-->gr,BITDEPTH_MAX)java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
rotate(A5_ptrs, B5_ptrs, 2);
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);
roA,,;
goto vert_2;
sumsq5_ptrs[3] = sumsq5_rows[2];
sumsq5_ptrs[4] = sumsq5_rows[3];
sum5_ptrs3 sum5_rows2;
sum5_ptrs[4] = sum5_rows[3];
sumsq3_ptrs[2] = sumsq5_rows],sum5_rows[]java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
sum3_ptrs[2] = sum3_rows[2];
sgr_box35_row_h(sumsq3_rows[2]wparams>sgr );
sgr_box3_vert(sumsq3_ptrs, 3,3]
left, src, w, edges);
left++;
dst = *PXSTRIDE(stride);
sgr_box3_vertgotovert_2
w, params->sgr.s1, sumsq5_ptrs[3]=sumsq5_rows[2;rotateA_ptrs,B5_ptrs )java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
[ 2java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
if (
goto odd;
sgr_box35_row_h(sumsq3_ptrs[2], sum3_ptrs[2],
sumsq5_rows[3], sum5_rows
rc ,edges;
left++;
src += PXSTRIDE java.lang.StringIndexOutOfBoundsException: Range [35, 33) out of bounds for length 69 | |