1 #ifndef _IMAGES_DUP_CMP_H
2 #define _IMAGES_DUP_CMP_H
13 #define IMAGE_DUP_TRANS_ID 0x01
14 #define IMAGE_DUP_FLIP_X 0x02
15 #define IMAGE_DUP_FLIP_Y 0x04
16 #define IMAGE_DUP_ROT_180 0x08
17 #define IMAGE_DUP_FLIP_BACK 0x10
18 #define IMAGE_DUP_ROT_CCW 0x20
19 #define IMAGE_DUP_ROT_CW 0x40
20 #define IMAGE_DUP_FLIP_SLASH 0x80
21 #define IMAGE_DUP_TRANS_ALL 0xff
22 #define IMAGE_DUP_SCALE 0x100
23 #define IMAGE_DUP_WANT_ALL 0x200
25 int image_dup_init(struct image_thread *thread, struct image_dup *dup, struct image *image, struct mempool *pool);
26 int image_dup_compare(struct image_dup *dup1, struct image_dup *dup2, uns flags);