Home
last modified time | relevance | path

Searched refs:ssim_c1 (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/tests/
Dtiny_ssim.c83 static const float ssim_c1 = .01*.01*PIXEL_MAX*PIXEL_MAX*64; in ssim_end1() local
87 static const int ssim_c1 = (int)(.01*.01*PIXEL_MAX*PIXEL_MAX*64 + .5); in ssim_end1()
96 return (float)(2*fs1*fs2 + ssim_c1) * (float)(2*covar + ssim_c2) in ssim_end1()
97 / ((float)(fs1*fs1 + fs2*fs2 + ssim_c1) * (float)(vars + ssim_c2)); in ssim_end1()
/third_party/ffmpeg/libavfilter/
Dvf_ssim.c165 int64_t ssim_c1 = (int64_t)(.01*.01*max*max*64 + .5); in ssim_end1x() local
175 return (float)(2 * fs1 * fs2 + ssim_c1) * (float)(2 * covar + ssim_c2) in ssim_end1x()
176 / ((float)(fs1 * fs1 + fs2 * fs2 + ssim_c1) * (float)(vars + ssim_c2)); in ssim_end1x()
181 static const int ssim_c1 = (int)(.01*.01*255*255*64 + .5); in ssim_end1() local
191 return (float)(2 * fs1 * fs2 + ssim_c1) * (float)(2 * covar + ssim_c2) in ssim_end1()
192 / ((float)(fs1 * fs1 + fs2 * fs2 + ssim_c1) * (float)(vars + ssim_c2)); in ssim_end1()
/third_party/ffmpeg/libavfilter/x86/
Dvf_ssim.asm28 ssim_c1: times 4 dd 416 ;(.01*.01*255*255*64 + .5) label
207 paddd m5, [ssim_c1] ; 2 * fs1 * fs2 + ssim_c1
208 paddd m1, [ssim_c1] ; fs1 * fs1 + fs2 * fs2 + ssim_c1