Lines Matching refs:ssim
103 float ssim = 0.0;
107 ssim += ssim_end1( sum0[i][0] + sum0[i+1][0] + sum1[i][0] + sum1[i+1][0],
111 return ssim;
121 float ssim = 0.0;
135 ssim += ssim_end4( sum0+x, sum1+x, FFMIN(4,width-x-1) );
138 return ssim / ((height-1) * (width-1));
159 static double ssim_db( double ssim, double weight )
161 return 10*(log(weight)/log(10)-log(weight-ssim)/log(10));
164 static void print_results(uint64_t ssd[3], double ssim[3], int frames, int w, int h)
172 ssim[0] / frames,
173 ssim[1] / frames,
174 ssim[2] / frames,
175 (ssim[0]*4 + ssim[1] + ssim[2]) / (frames*6),
176 ssim_db(ssim[0] * 4 + ssim[1] + ssim[2], frames*6));
185 double ssim[3] = {0,0,0};
230 ssim[i] += ssim_one[i];
242 print_results(ssd, ssim, frames, w, h);