Define new decode_s to use for decoding
[platform/core/api/image-util.git] / include / image_util_private.h
index d8f7672..4ac3886 100755 (executable)
@@ -167,6 +167,24 @@ typedef struct {
 } decode_encode_s;
 
 typedef struct {
+       image_util_type_e image_type;
+       void **src_buffer;
+       size_t src_size;
+       void **dst_buffer;
+       size_t dst_size;
+       char *path;
+       unsigned long width;
+       unsigned long height;
+       int quality;
+       image_util_colorspace_e colorspace;
+       image_util_scale_e down_scale;
+       decode_cb_s *_decode_cb;
+
+       /* for async */
+       GThread *thread;
+} decode_s;
+
+typedef struct {
        void *frame_h;
 } frame_s;