summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2_client.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-07-03 13:32:39 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-04 13:02:48 +0900
commitca5d174568e7ebae829899811d36f48bf0dc9d6e (patch)
tree73f5126b871e693b0a75f0f612c16c955a9866a0 /src/lib/evas/cserve2/evas_cs2_client.c
parentf825bebcdb5cba5efffb14f05008c2e06a4fbe11 (diff)
evas/cserve2: use Evas_Image_Load_Opts directly
Image_Data contained a similar struct to the standard Evas struct, let's not duplicate it uselessly.
Diffstat (limited to 'src/lib/evas/cserve2/evas_cs2_client.c')
-rw-r--r--src/lib/evas/cserve2/evas_cs2_client.c27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2_client.c b/src/lib/evas/cserve2/evas_cs2_client.c
index 4433e5507f..ccfc456b59 100644
--- a/src/lib/evas/cserve2/evas_cs2_client.c
+++ b/src/lib/evas/cserve2/evas_cs2_client.c
@@ -720,22 +720,23 @@ _image_setopts_server_send(Image_Entry *ie)
720 msg.file_id = fentry->file_id; 720 msg.file_id = fentry->file_id;
721 msg.image_id = dentry->image_id; 721 msg.image_id = dentry->image_id;
722 722
723 msg.opts.scale_down = ie->load_opts.scale_down_by; 723 msg.opts.scale_down_by = ie->load_opts.scale_down_by;
724 msg.opts.dpi = ie->load_opts.dpi; 724 msg.opts.dpi = ie->load_opts.dpi;
725 msg.opts.w = ie->load_opts.w; 725 msg.opts.w = ie->load_opts.w;
726 msg.opts.h = ie->load_opts.h; 726 msg.opts.h = ie->load_opts.h;
727 msg.opts.rx = ie->load_opts.region.x; 727 msg.opts.region.x = ie->load_opts.region.x;
728 msg.opts.ry = ie->load_opts.region.y; 728 msg.opts.region.y = ie->load_opts.region.y;
729 msg.opts.rw = ie->load_opts.region.w; 729 msg.opts.region.w = ie->load_opts.region.w;
730 msg.opts.rh = ie->load_opts.region.h; 730 msg.opts.region.h = ie->load_opts.region.h;
731 msg.opts.scale_src_x = ie->load_opts.scale_load.src_x; 731 msg.opts.scale_load.src_x = ie->load_opts.scale_load.src_x;
732 msg.opts.scale_src_y = ie->load_opts.scale_load.src_y; 732 msg.opts.scale_load.src_y = ie->load_opts.scale_load.src_y;
733 msg.opts.scale_src_w = ie->load_opts.scale_load.src_w; 733 msg.opts.scale_load.src_w = ie->load_opts.scale_load.src_w;
734 msg.opts.scale_src_h = ie->load_opts.scale_load.src_h; 734 msg.opts.scale_load.src_h = ie->load_opts.scale_load.src_h;
735 msg.opts.scale_dst_w = ie->load_opts.scale_load.dst_w; 735 msg.opts.scale_load.dst_w = ie->load_opts.scale_load.dst_w;
736 msg.opts.scale_dst_h = ie->load_opts.scale_load.dst_h; 736 msg.opts.scale_load.dst_h = ie->load_opts.scale_load.dst_h;
737 msg.opts.scale_smooth = ie->load_opts.scale_load.smooth; 737 msg.opts.scale_load.smooth = ie->load_opts.scale_load.smooth;
738 msg.opts.scale_hint = ie->load_opts.scale_load.scale_hint; 738 msg.opts.scale_load.scale_hint = ie->load_opts.scale_load.scale_hint;
739 msg.opts.degree = ie->load_opts.degree;
739 msg.opts.orientation = ie->load_opts.orientation; 740 msg.opts.orientation = ie->load_opts.orientation;
740 741
741 if (!_server_send(&msg, sizeof(msg), NULL, NULL)) 742 if (!_server_send(&msg, sizeof(msg), NULL, NULL))