ref: c892521b1d81d7d2f5f5fbd523aae88215cb979f
parent: 4a25b59bbdbc6f30922739517723d0087defb7a3
author: Sarah Parker <[email protected]>
date: Sat Sep 3 08:15:32 EDT 2016
Fix missing write to opsnr in internal stats Change-Id: I21c8ad0b5ed7f8d843cae45c18f5727bceb8f859
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -1985,10 +1985,9 @@
SNPRINT2(results, "\t%7.3f", cpi->worst_consistency);
}
- 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));
+ fprintf(f, "%s\t Time\tRcErr\tAbsErr\n", headings);
+ fprintf(f, "%s\t%8.0f\t%7.2f\t%7.2f\n", results, total_encode_time,
+ rate_err, fabs(rate_err));
}
fclose(f);