[FFmpeg-cvslog] r18068 - in trunk: libavcodec/snow.c libavutil/lls.c
diego
subversion
Fri Mar 20 12:40:06 CET 2009
Author: diego
Date: Fri Mar 20 12:40:05 2009
New Revision: 18068
Log:
Align test program output columns.
Modified:
trunk/libavcodec/snow.c
trunk/libavutil/lls.c
Modified: trunk/libavcodec/snow.c
==============================================================================
--- trunk/libavcodec/snow.c Fri Mar 20 11:48:01 2009 (r18067)
+++ trunk/libavcodec/snow.c Fri Mar 20 12:40:05 2009 (r18068)
@@ -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; i<width*height; i++)
- if(buffer[0][i]!= buffer[1][i]) printf("fsck: %d %d %d\n",i, buffer[0][i], buffer[1][i]);
+ if(buffer[0][i]!= buffer[1][i]) printf("fsck: %6d %12d %7d\n",i, buffer[0][i], buffer[1][i]);
printf("testing 9/7 DWT\n");
s.spatial_decomposition_type=0;
@@ -4719,7 +4719,7 @@ int main(void){
ff_spatial_idwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count);
for(i=0; i<width*height; i++)
- if(FFABS(buffer[0][i] - buffer[1][i])>20) 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");
Modified: trunk/libavutil/lls.c
==============================================================================
--- trunk/libavutil/lls.c Fri Mar 20 11:48:01 2009 (r18067)
+++ trunk/libavutil/lls.c Fri Mar 20 12:40:05 2009 (r18068)
@@ -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]);
}
More information about the ffmpeg-cvslog
mailing list