projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add binfolder path relative filters, fix gbrp color model, vwdw timebar tweaks, title...
[goodguy/history.git]
/
cinelerra-5.1
/
mpeg2enc
/
stats.c
diff --git
a/cinelerra-5.1/mpeg2enc/stats.c
b/cinelerra-5.1/mpeg2enc/stats.c
index 0d0331f44853ffece886fca558693f3869dab59c..deabcc3918dc1780d4d01bafc9973dfebcf939a1 100644
(file)
--- a/
cinelerra-5.1/mpeg2enc/stats.c
+++ b/
cinelerra-5.1/mpeg2enc/stats.c
@@
-33,9
+33,6
@@
#include "global.h"
/* private prototypes */
#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];
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;
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 */
}
*pv = s2 - s1*s1; /* variance */
*pe = e2; /* MSE */
}
+#endif
void stats()
{
void stats()
{