summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-06-07 06:46:18 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-06-08 05:08:18 (GMT)
commit75c4bd5f2433f484a974b913d9e58cf5f5cdb187 (patch)
treef540a33e9b4d0e47f670ae93a51fa9890fdc9598 /test
parent34ed08a8f899bffe2f9b27b4bd2e6e180650e61c (diff)
downloadlibmedia-thumbnail-75c4bd5f2433f484a974b913d9e58cf5f5cdb187.zip
libmedia-thumbnail-75c4bd5f2433f484a974b913d9e58cf5f5cdb187.tar.gz
libmedia-thumbnail-75c4bd5f2433f484a974b913d9e58cf5f5cdb187.tar.bz2
Remove format enum and related API Remove unused codes Merge same logics Change-Id: I1e44585955eb1698d2aa5901f2e1969d831de6c7 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-thumb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test-thumb.c b/test/test-thumb.c
index d07ac7e..6ab7657 100755
--- a/test/test-thumb.c
+++ b/test/test-thumb.c
@@ -134,14 +134,12 @@ int main(int argc, char *argv[])
bool is_saved = FALSE;
char *thumb_path = "thumbnail_path.jpg";
- media_thumb_format thumb_format = MEDIA_THUMB_BGRA;
- //media_thumb_format thumb_format = MEDIA_THUMB_RGB888;
int is_bgra = 1;
//int is_bgra = 0;
//long start = thumb_get_debug_time();
- err = _thumbnail_get_data(origin_path, thumb_format, thumb_path, &data, &thumb_size, &thumb_w, &thumb_h, &origin_w, &origin_h, &alpha, &is_saved);
+ err = _thumbnail_get_data(origin_path, thumb_path, &data, &thumb_size, &thumb_w, &thumb_h, &origin_w, &origin_h, &alpha, &is_saved);
if (err < 0) {
printf("_thumbnail_get_data failed - %d\n", err);
return -1;