static float computeDiff(ADMImage *src1,ADMImage *src2)
static float computeDiff(ADMImage *src1,ADMImage *src2,uint32_t noise)
static float computeDiff(ADMImage *src1,ADMImage *src2){float df=0;int delta;uint32_t ww,hh;uint8_t *s1,*s2;        s1=YPLANE(src1);        s2=YPLANE(src2);        ww=src1->_width;        hh=src1->_height;          for(int y=0;y<hh;y++)                for(int x=0;x<ww;x++)                {                        delta=abs(*s1-*s2);                        df+=delta;                        s1++;                        s2++;                }        return df;}