void WINAPI OnTimer(HWND hWnd,UINT nMsg,UINT nTimerid,DWORD dwTime) { //The zoom range is from 1.0 to 1.5 if (ScaleX >= 1.5 || ScaleY >= 1.5) flag = false; else if(ScaleX <= 1 || ScaleY<=1) flag = true; if(true == flag) ScaleX= ScaleY +=0.1; else ScaleX = ScaleY -= 0.1; Bilinear(srcImage,rstImage); }
Filter *ButtwBilinear(float * fp, float * fs, float * ap, float * as, float * fc, int *out_n) { return Bilinear(*fp, *fs, *ap, *as, *fc, out_n, FindButtwPoles); }
Filter *ChebBilinear(float * fp, float * fs, float * ap, float * as, float * fc, int *out_n) { return Bilinear(*fp, *fs, *ap, *as, *fc, out_n, FindChebPoles); }