diff --git a/src/debug.c b/src/debug.c index a136a843..2eccef6b 100644 --- a/src/debug.c +++ b/src/debug.c @@ -19,7 +19,9 @@ */ FILE * open_cu_file(char *filename) { FILE *fp = fopen(filename, "w"); - fprintf(fp, ""); + fprintf(fp, "\r\n" + "\r\n" + ""); return fp; } @@ -94,7 +96,7 @@ unsigned render_cu_file(encoder_control *encoder, picture *pic, } fprintf(fp, - "\n
" + "\n\n", depth, rgb[0], rgb[1], rgb[2], @@ -119,7 +121,7 @@ unsigned render_cu_file(encoder_control *encoder, picture *pic, sum += render_cu_file(encoder, pic, depth + 1, xCtb + change, yCtb + change, fp); fprintf(fp, ""); - fprintf(fp, "", + fprintf(fp, "", sum, sum + lambda_cost); if (sum + lambda_cost < cu->inter.cost) { best_cost = sum + lambda_cost; @@ -132,7 +134,7 @@ unsigned render_cu_file(encoder_control *encoder, picture *pic, if (depth == 0) { fprintf(fp, - "\n" "",
" "%u (%u, %u), %c, " "c=%u, mv=(%d, %d)
sum=%u, sum+lambda=%u
sum=%u, sum+lambda=%u
" + "
" "best depth=%u, %c, " "c=%u, mv=(%d, %d)