Replace encode_with_libjpeg parameters from signed int to unsigned int 21/172621/2
authorJiyong Min <jiyong.min@samsung.com>
Thu, 15 Mar 2018 01:49:55 +0000 (10:49 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Thu, 15 Mar 2018 01:55:34 +0000 (10:55 +0900)
commita684438235a6e38919de5131ccbbcd410d0a7a7a
tree407a09507286fa7e687fd3cb5b0de613fb5185be
parent18bd01c065b66fc882c7e8aa9a9a1ba3e7353b6e
Replace encode_with_libjpeg parameters from signed int to unsigned int
and add to check supported format generally

 - Value width & height of libjpeg is JDIMENSION(unsigned int)
 - Added to check supported format before function works

Change-Id: I9e8ffd44227df2c0e0f6614e392e0b69b12303be
jpeg/mm_util_jpeg.c