Home
last modified time | relevance | path

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

/external/libavc/test/encoder/
Dpsnr.c100 DOUBLE df_psnr[3]; in compute_psnr() local
109 df_psnr[comp] = 0; in compute_psnr()
176 df_psnr[comp] += diff * diff; in compute_psnr()
181 df_psnr[comp] /= (wd * ht); in compute_psnr()
182 if(df_psnr[comp]) in compute_psnr()
183 df_psnr[comp] = 20 * log10(255 / sqrt(df_psnr[comp])); in compute_psnr()
185 df_psnr[comp] = 100; in compute_psnr()
187 ps_app_ctxt->adbl_psnr[comp] += df_psnr[comp]; in compute_psnr()
202 printf("%2.2f\t", df_psnr[comp]); in compute_psnr()