Searched refs:GetPSNR (Results 1 - 3 of 3) sorted by relevance

/external/webp/src/enc/
H A Dpicture_psnr.c59 static float GetPSNR(const double v) { function
105 result[0] = GetPSNR(sse[0] / (src->width * src->height));
106 result[1] = GetPSNR(sse[1] / (uv_w * uv_h));
107 result[2] = GetPSNR(sse[2] / (uv_w * uv_h));
108 result[3] = GetPSNR(sse[3] / (src->width * src->height));
116 result[4] = GetPSNR(total_sse / total_pixels);
141 result[c] = GetPSNR(v);
H A Dwebpenc.c253 static double GetPSNR(uint64_t err, uint64_t size) { function
261 stats->PSNR[0] = (float)GetPSNR(sse[0], size);
262 stats->PSNR[1] = (float)GetPSNR(sse[1], size / 4);
263 stats->PSNR[2] = (float)GetPSNR(sse[2], size / 4);
264 stats->PSNR[3] = (float)GetPSNR(sse[0] + sse[1] + sse[2], size * 3 / 2);
265 stats->PSNR[4] = (float)GetPSNR(sse[3], size);
H A Dframe.c520 static double GetPSNR(uint64_t mse, uint64_t size) { function
574 s->value = GetPSNR(distortion, pixel_count);
813 stats.value = GetPSNR(distortion, pixel_count);

Completed in 253 milliseconds