Lines Matching defs:sum0
101 static float ssim_end4( int sum0[5][4], int sum1[5][4], int width )
107 ssim += ssim_end1( sum0[i][0] + sum0[i+1][0] + sum1[i][0] + sum1[i+1][0],
108 sum0[i][1] + sum0[i+1][1] + sum1[i][1] + sum1[i+1][1],
109 sum0[i][2] + sum0[i+1][2] + sum1[i][2] + sum1[i+1][2],
110 sum0[i][3] + sum0[i+1][3] + sum1[i][3] + sum1[i+1][3] );
122 int (*sum0)[4] = buf;
123 int (*sum1)[4] = sum0 + (width >> 2) + 3;
130 FFSWAP( void*, sum0, sum1 );
132 ssim_4x4x2_core( &pix1[4*(x+z*stride1)], stride1, &pix2[4*(x+z*stride2)], stride2, &sum0[x] );
135 ssim += ssim_end4( sum0+x, sum1+x, FFMIN(4,width-x-1) );