From 578f90a8d5bdd96531bec9d65164a01458849e78 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 20 Mar 2009 11:40:05 +0000 Subject: [PATCH] Align test program output columns. Originally committed as revision 18068 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/snow.c | 4 ++-- libavutil/lls.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/snow.c b/libavcodec/snow.c index b4a0d5a8fd..d7f2d7a36e 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -4708,7 +4708,7 @@ int main(void){ ff_spatial_idwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); for(i=0; i20) printf("fsck: %d %d %d\n",i, buffer[0][i], buffer[1][i]); + if(FFABS(buffer[0][i] - buffer[1][i])>20) printf("fsck: %6d %12d %7d\n",i, buffer[0][i], buffer[1][i]); #if 0 printf("testing AC coder\n"); diff --git a/libavutil/lls.c b/libavutil/lls.c index ad54aba01b..792ffa7576 100644 --- a/libavutil/lls.c +++ b/libavutil/lls.c @@ -136,7 +136,7 @@ int main(void){ av_solve_lls(&m, 0.001, 0); for(order=0; order<3; order++){ eval= av_evaluate_lls(&m, var+1, order); - printf("real:%f order:%d pred:%f var:%f coeffs:%f %f %f\n", + printf("real:%9f order:%d pred:%9f var:%f coeffs:%f %9f %9f\n", var[0], order, eval, sqrt(m.variance[order] / (i+1)), m.coeff[order][0], m.coeff[order][1], m.coeff[order][2]); }