X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fmpeg2enc%2Fstats.c;h=deabcc3918dc1780d4d01bafc9973dfebcf939a1;hp=0d0331f44853ffece886fca558693f3869dab59c;hb=7e5a0760f40ff787cc3d93cb7768a901ebe52809;hpb=1f004d22ca7bd7a98a3bf02b12ec5b1adece92f2 diff --git a/cinelerra-5.1/mpeg2enc/stats.c b/cinelerra-5.1/mpeg2enc/stats.c index 0d0331f4..deabcc39 100644 --- a/cinelerra-5.1/mpeg2enc/stats.c +++ b/cinelerra-5.1/mpeg2enc/stats.c @@ -33,9 +33,6 @@ #include "global.h" /* private prototypes */ -static void calcSNR1 _ANSI_ARGS_((unsigned char *org, unsigned char *rec, - int lx, int w, int h, double *pv, double *pe)); - void calcSNR(org,rec) unsigned char *org[3]; @@ -43,6 +40,10 @@ unsigned char *rec[3]; { } +#if 0 +static void calcSNR1 _ANSI_ARGS_((unsigned char *org, unsigned char *rec, + int lx, int w, int h, double *pv, double *pe)); + static void calcSNR1(org,rec,lx,w,h,pv,pe) unsigned char *org; unsigned char *rec; @@ -79,6 +80,7 @@ double *pv,*pe; *pv = s2 - s1*s1; /* variance */ *pe = e2; /* MSE */ } +#endif void stats() {