some bugs fixed

This commit is contained in:
2021-10-18 17:24:03 +03:00
parent 81c94bcd1e
commit 68449bef89
30 changed files with 577 additions and 551 deletions

View File

@@ -33,6 +33,12 @@ OMP_FOR()
for(int y = 1; y < h; y++)
#endif
{
#ifdef IM_UP
int y = 0;
#endif
#ifdef IM_DOWN
int y = h;
#endif
uint8_t *iptr = &image[W0*y];
uint8_t *optr = &ret[W0*y];
uint8_t p = DIL[*iptr]