Fix incorrect parameters for cropping image 58/243658/2 accepted/tizen/unified/20200910.123850 submit/tizen/20200909.052036
authorjiyong.min <jiyong.min@samsung.com>
Wed, 9 Sep 2020 02:59:31 +0000 (11:59 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Wed, 9 Sep 2020 05:01:58 +0000 (14:01 +0900)
commitd7b71cb79db6811886eb6c480544c7ddf705136b
tree3beaa4abacf2e9993793b66dc9e3db1a518e37b5
parent054fb19a03787ecb1fa62e41e2a43a4b5ca1b093
Fix incorrect parameters for cropping image

  - Problem:
    rotate_image with odd width/height image return error.

  - Cause:
    Cropping image for odd width/height image has incorrect parameters.

  - Solution:
    The start_x, start_y should be used for sx, sy of cropping image.

Change-Id: I8003dac4392823666bac98fa8a30771f367013e3
imgp/mm_util_imgp.c