Merge "Fix formatting in internal stats for vp8 and vp9"
This commit is contained in:
@@ -2072,11 +2072,11 @@ void vp8_remove_compressor(VP8_COMP **ptr) {
|
||||
|
||||
fprintf(f,
|
||||
"Bitrate\tAVGPsnr\tGLBPsnr\tAVPsnrP\t"
|
||||
"GLPsnrP\tVPXSSIM\t Time(us) Rc-Err "
|
||||
"GLPsnrP\tVPXSSIM\tTime(us)\tRc-Err\t"
|
||||
"Abs Err\n");
|
||||
fprintf(f,
|
||||
"%7.3f\t%7.3f\t%7.3f\t%7.3f\t%7.3f\t"
|
||||
"%7.3f\t%8.0f %7.2f %7.2f\n",
|
||||
"%7.3f\t%8.0f\t%7.2f\t%7.2f\n",
|
||||
dr, cpi->total / cpi->count, total_psnr,
|
||||
cpi->totalp / cpi->count, total_psnr2, total_ssim,
|
||||
total_encode_time, rate_err, fabs(rate_err));
|
||||
|
@@ -1984,9 +1984,11 @@ void vp9_remove_compressor(VP9_COMP *cpi) {
|
||||
SNPRINT2(results, "\t%7.3f", consistency);
|
||||
SNPRINT2(results, "\t%7.3f", cpi->worst_consistency);
|
||||
}
|
||||
fprintf(f, "%s\t Time Rc-Err Abs Err\n", headings);
|
||||
fprintf(f, "%s\t%8.0f %7.2f %7.2f\n", results, total_encode_time,
|
||||
rate_err, fabs(rate_err));
|
||||
|
||||
SNPRINT(headings, "\tTime\tRcErr\tAbsErr");
|
||||
SNPRINT2(results, "\t%7.3f", total_encode_time);
|
||||
SNPRINT2(results, "\t%7.3f", rate_err);
|
||||
SNPRINT2(results, "\t%7.3f", fabs(rate_err));
|
||||
}
|
||||
|
||||
fclose(f);
|
||||
|
Reference in New Issue
Block a user