#undef LOCAL_DEBUG
-#include "lib/lib.h"
-#include "lib/mempool.h"
-#include "lib/fastbuf.h"
-#include "images/images.h"
-#include "images/error.h"
-#include "images/color.h"
-#include "images/io-main.h"
+#include <ucw/lib.h>
+#include <ucw/mempool.h>
+#include <ucw/fastbuf.h>
+#include <images/images.h>
+#include <images/error.h>
+#include <images/color.h>
+#include <images/io-main.h>
#include <gif_lib.h>
return 0;
}
# define DO_ROW_END do{ \
- walk_row_start += dein_step; \
- while (walk_row_start >= img_end) \
+ walk_row_start += dein_step; \
+ while (walk_row_start >= img_end) \
{ uns n = dein_next >> 1; walk_row_start = rdi.image->pixels + n, dein_step = dein_next; dein_next = n; } \
}while(0)
# define IMAGE_WALK_PREFIX(x) walk_##x
# define IMAGE_WALK_ROW_STEP 0
# define IMAGE_WALK_DO_STEP do{ *walk_pos = pal[*pixels++]; }while(0)
# define IMAGE_WALK_DO_ROW_END DO_ROW_END
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
case 2:
# define IMAGE_WALK_ROW_STEP 0
# define IMAGE_WALK_DO_STEP do{ *(u16 *)walk_pos = ((u16 *)pal)[*pixels++]; }while(0)
# define IMAGE_WALK_DO_ROW_END DO_ROW_END
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
case 3:
# define IMAGE_WALK_ROW_STEP 0
# define IMAGE_WALK_DO_STEP do{ byte *p = pal + 4 * (*pixels++); walk_pos[0] = p[0]; walk_pos[1] = p[1]; walk_pos[2] = p[2]; }while(0)
# define IMAGE_WALK_DO_ROW_END DO_ROW_END
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
case 4:
# define IMAGE_WALK_ROW_STEP 0
# define IMAGE_WALK_DO_STEP do{ *(u32 *)walk_pos = ((u32 *)pal)[*pixels++]; }while(0)
# define IMAGE_WALK_DO_ROW_END DO_ROW_END
-# include "images/image-walk.h"
+# include <images/image-walk.h>
break;
}
default: