1 #ifndef _IMAGES_OBJECT_H
2 #define _IMAGES_OBJECT_H
4 #include <images/images.h>
6 #ifdef CONFIG_UCW_CLEAN_ABI
7 #define get_image_obj_info ucw_get_image_obj_info
8 #define get_image_obj_signature ucw_get_image_obj_signature
9 #define get_image_obj_thumb ucw_get_image_obj_thumb
10 #define put_image_obj_signature ucw_put_image_obj_signature
11 #define read_image_obj_thumb ucw_read_image_obj_thumb
14 struct image_obj_info {
18 enum image_format thumb_format;
27 struct image_signature;
29 uint get_image_obj_info(struct image_obj_info *ioi, struct odes *o);
30 uint get_image_obj_thumb(struct image_obj_info *ioi, struct odes *o, struct mempool *pool);
31 struct image *read_image_obj_thumb(struct image_obj_info *ioi, struct fastbuf *fb, struct image_io *io, struct mempool *pool);
32 void put_image_obj_signature(struct odes *o, struct image_signature *sig);
33 uint get_image_obj_signature(struct image_signature *sig, struct odes *o);