summaryrefslogtreecommitdiff
path: root/src/media-thumb-internal.c
AgeCommit message (Collapse)AuthorFilesLines
2017-07-18[SATIZENVUL-915] Add check for EXIF thumbnail sizerefs/changes/46/139246/1Minje Ahn1-2/+7
Change-Id: I08198862f5f2e26fb53da99c0080d8488338dabe Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2017-07-17[SATIZENVUL-956] change strncpy to g_strlcpyrefs/changes/97/138797/4Minje Ahn1-11/+3
Change-Id: Id4108ba3e01f4d06f7fa6c235d9213fb804b3e40 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2017-07-13Fix atoi issuesubmit/tizen/20170714.003836submit/tizen/20170713.090438accepted/tizen/unified/20170717.170049refs/changes/90/138590/2Minje Ahn1-8/+23
Change-Id: I39ebc9662b05f6d2f5c6bb268500ec52bdd02438 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2017-07-11Remove same caserefs/changes/09/138009/1Minje Ahn1-7/+2
Change-Id: I8019b52df2f006963b9eabb3438f84a3af19d4df Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2017-07-10Merge thumbnail create API when image typerefs/changes/82/137882/2Minje Ahn1-116/+11
Change-Id: I14927754931071ef8d3d1307ddc334d5bc643541 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2017-06-21fix invalid format argument types for dlogsubmit/tizen/20170622.044226submit/tizen/20170621.064821accepted/tizen/unified/20170630.083306refs/changes/05/135105/1Haejeong Kim1-1/+1
Change-Id: I5b268111167b31d70835835234bb9c9a19b44d5a
2017-06-19Remove image-util dependencyrefs/changes/04/134504/5Minje Ahn1-87/+25
Remove image-util dependency when create agif thumbnail Change-Id: Ie6a96e8b5132e4b6be0e86b7cf23e4c29aba65c1 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2017-06-08Code cleanuprefs/changes/89/132689/2Minje Ahn1-324/+31
Remove format enum and related API Remove unused codes Merge same logics Change-Id: I1e44585955eb1698d2aa5901f2e1969d831de6c7 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2017-05-18Use Common API in libmedia-util to get thumb store pathsubmit/tizen/20170519.020052refs/changes/38/129938/1Haejeong Kim1-40/+4
Change-Id: I4791acb2d3856c6bd9f601bbe237d22f90de833f
2017-05-18Add thumb_err_slog() and apply itrefs/changes/82/129782/1Haejeong Kim1-1/+1
Change-Id: I092b4dc7a2a36712119bfe491bbe831c0ee5708e
2017-05-18Use Common API in libmedia-util to get storage_type instead of internal APIrefs/changes/58/129758/1Haejeong Kim1-11/+9
Change-Id: Id2f14227aa97ce28eda8c20c8882b0183dffc9e5
2017-04-07Check Error type and remove Unused coderefs/changes/71/123671/8Jiyong Min1-1/+1
1. Check Proper Error Type when create thumbnail and return it to App. 2. Remove unused THUMB_REQUEST_SAVE_FILE related code Change-Id: Idf40c8f3a515319bcccce81dcd49d7cda8d56165 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2017-03-30Just Apply Tizen Coding Rulesubmit/tizen/20170330.015416accepted/tizen/wearable/20170330.224548accepted/tizen/unified/20170330.224627accepted/tizen/tv/20170330.224531accepted/tizen/mobile/20170330.224451accepted/tizen/ivi/20170330.224603accepted/tizen/common/20170330.151639accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonrefs/changes/93/121993/1Haejeong Kim1-8/+7
Change-Id: I6951f5a5bf334838c9d17dba0edb03be10a30c96
2017-01-25Update get_path functionsrefs/changes/73/111973/3Minje Ahn1-68/+20
use tzplatform API instead of grp(pwd) API Change-Id: I1c3f79769304377b68c98a1a03ded53b02c21b42 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2017-01-06Add orientation for thumbnail-utilrefs/changes/07/108807/1Minje Ahn1-1/+9
Fix code for thumbnail ratio when use thumbnail-util API Change-Id: I2186f79c1155f5ca60aeab8c86d3a245367139cf Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2016-11-29Remove unneccessary conditionsubmit/tizen/20161129.052917accepted/tizen/wearable/20161130.015346accepted/tizen/tv/20161130.015259accepted/tizen/mobile/20161130.015213accepted/tizen/ivi/20161130.015434accepted/tizen/common/20161129.173623refs/changes/85/100685/1Jiyong Min1-73/+67
Change-Id: I0b9cae33a0d4c4200a35187dd49f7f1c370282af Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2016-07-28Remove build warning messagesubmit/tizen/20160805.054353accepted/tizen/wearable/20160808.081108accepted/tizen/tv/20160808.081011accepted/tizen/mobile/20160808.080825accepted/tizen/ivi/20160808.081201accepted/tizen/common/20160805.130206refs/changes/82/81682/2Jiyong Min1-251/+251
Few functions were undeclared, the functions was located in prior to caller Change-Id: Ia6e12383f52493db1f456f0ffe95f4011b80f639 Signed-off-by: jiyong min <jiyong.min@samsung.com>
2016-07-08Performance enhancement to make image/video thumbnailsubmit/tizen/20160711.030104accepted/tizen/wearable/20160711.084146accepted/tizen/tv/20160711.084217accepted/tizen/mobile/20160711.084113accepted/tizen/ivi/20160711.084335accepted/tizen/common/20160711.170420refs/changes/35/78835/5Jiyong Min1-3/+321
To make image/video thumbnail, it is used to resize and rotate image APIs. The image resize/rotate APIs, it is needed to initialize. The resizing/rotation is replaced to new one. - resize: mm_util(gstreamer) -> EFL(evas) - rotation: mm_util(gstreamer) -> Make new rotate function [Performance check result] Before: 1.x sec or more (MAX API runtime 2.x sec) After:300ms under (media_info_insert_to_db API whole 400ms under) Change-Id: I11946578fa7c4087d60d49f7d5afe58fc1a7838c Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2016-03-16Fix build warningrefs/changes/73/62373/1Minje Ahn1-2/+12
Change-Id: I7c9bfb5b06ded6925506b96c50e166bfa05dd9a2 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2016-03-03code cleanuprefs/changes/72/61072/1Minje Ahn1-74/+43
Change-Id: I36fd7ebcac2f01239285d5bdd4957c9a78b31768 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-11-03Remove dependency with libmm-common.submit/tizen/20151103.065424submit/tizen/20151103.053124accepted/tizen/wearable/20151103.105502accepted/tizen/tv/20151103.105451accepted/tizen/mobile/20151103.105438refs/changes/71/48971/3ji.yong.seo1-10/+9
Change-Id: I29a25c37316914278e09dceb828abd6014a2f399 Signed-off-by: ji.yong.seo <ji.yong.seo@samsung.com>
2015-10-16Fix prevent issuesubmit/tizen/20151016.024332accepted/tizen/wearable/20151016.043828accepted/tizen/tv/20151016.043821accepted/tizen/mobile/20151016.043749refs/changes/27/49627/1Minje Ahn1-5/+16
Change-Id: I0da7fbf08691fc8a262584d0e4f8edbfbd809b45 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-10-16Apply tizen coding rulerefs/changes/86/49586/3Haejeong, Kim1-45/+35
Change-Id: Id3e53ece459151791f678fbbd230bf7f824afa18
2015-09-07Modify thumbnail creation and cancellation logictizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen_common/20151019.135620submit/tizen_common/20151015.190624submit/tizen/20150907.055530accepted/tizen/wearable/20150907.084937accepted/tizen/tv/20150907.084954accepted/tizen/mobile/20150907.084922tizen_3.0.m1_tvtizen_3.0.m1_mobilerefs/changes/04/47604/1Minje Ahn1-1/+6
Change-Id: I4bab6e37f9d943c719325f971ae9d3499a77f93f Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-08-28change thumbnail stored pathsubmit/tizen/20150831.045316accepted/tizen/wearable/20150831.064235accepted/tizen/tv/20150831.064223accepted/tizen/mobile/20150831.064209refs/changes/18/47018/2Minje Ahn1-2/+2
Change-Id: I92f553df5cf6c5fa50f556faeb3df9da1cdc4fdc Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-08-12Add buildrequires: db-util, remove unused header: sys/smack.hsubmit/tizen/20150812.075328accepted/tizen/wearable/20150812.110806accepted/tizen/tv/20150812.110754accepted/tizen/mobile/20150812.110745refs/changes/77/45877/1Sangyoon Jang1-1/+0
Change-Id: I1923f73e4e1b3046b414ff6b741e3765110894e6 Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
2015-08-07Patch below:submit/tizen/20150807.043057accepted/tizen/wearable/20150807.073442accepted/tizen/tv/20150807.073433accepted/tizen/mobile/20150807.073414refs/changes/97/45497/3Minje Ahn1-347/+327
Separate CMakeFiles for apply fPIE option Remove unused code Remove thumb_type Modify jpeg thumbnail creation logic when exif thumbnail is smaller than request thumbnail size Add scale down logic when request huge size image Fix bugs, memory leaks Remove unused parameters in function Change thumb path creation API position Remove thumbnail folder creation API Rename some functions Change-Id: I0e13d393dd524b61bcf44722c33b6f270649b732 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-08-03Change gdk-pixbuf to evas.submit/tizen/20150803.041131accepted/tizen/wearable/20150803.094000accepted/tizen/tv/20150803.093950accepted/tizen/mobile/20150803.093942refs/changes/33/45133/1Minje Ahn1-71/+349
- Some images can not create thumbnail using gdk-pixbuf. Change-Id: I67e08edd27547875de2045eae68e114dc1c0a3c2 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-07-20Fix socket bind bug.submit/tizen/20150721.075626accepted/tizen/wearable/20150721.092419accepted/tizen/tv/20150721.092304accepted/tizen/mobile/20150721.092123refs/changes/62/44262/1Minje Ahn1-1/+3
Fix gdkpixbuf issue. replace some function. Change-Id: I3176594d491f9ae1ef08cf7de46a0b791e09e231 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-06-12support thumbnail-util.refs/changes/54/41054/3Minje Ahn1-2/+34
Change-Id: Ia218f4ef9ea66318eb67ed1fef2c6034044c18cb Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-06-10Remove drm source code.submit/tizen/20150611.100714submit/tizen/20150611.073620submit/tizen/20150611.002358refs/changes/72/40972/1Minje Ahn1-32/+2
Change-Id: I404d21bdeb3f23786c9b30303ede8edac4b24149 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-06-08Update error log.refs/changes/93/40693/1Minje Ahn1-6/+6
Change-Id: I632eda45a7b46927b5c5be9e98cebd30aefc69d4 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-06-08Remove unused code.refs/changes/58/40658/2Minje Ahn1-5/+2
Change-Id: I9c8d472cff513d88c90b9558201d20f2fbad05c2 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-06-05Revert "Revert "Modify error type""submit/tizen/20150609.010159submit/tizen/20150608.005348submit/tizen/20150605.091456submit/tizen/20150605.071359refs/changes/52/40552/1hj kim1-108/+96
This reverts commit 999b9402a56d7c9738d6d632eff2f90004bbfbaf. Change-Id: Ieadecdcb087ad27b7c60a1ed448db329df2b38c1
2015-06-05Revert "Modify error type"submit/tizen/20150605.041217accepted/tizen/wearable/20150606.054548accepted/tizen/tv/20150606.053731accepted/tizen/mobile/20150606.053029accepted/tizen/common/20150605.124444refs/changes/31/40531/1hj kim1-96/+108
This reverts commit c896230ef091a244204b17bc9ab0ffa974ce2031. Change-Id: I94ec0a56f7c3d84ad76645b91310494b96d41932
2015-06-03Modify error typerefs/changes/56/40356/2Minje Ahn1-108/+96
Change-Id: Ie19c9bb70115a9097d45e8a18f52ad72cf7beeb2 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
2015-05-14The color space that is used by thumbnail server is changed to RGB, because ↵refs/changes/65/39365/3Ji Yong Min1-5/+5
gdk support RGB color space. (Fix broken thumbnail issue) Change-Id: Id3b5dfa9df57e35a3785eb0b191b020cba995e95 Signed-off-by: jiyong.min <jiyong.min@samsung.com>
2015-01-06Use gdk pixbuf for saving video thumbnailtizen_3.0_ivi_releasesubmit/tizen_wearable/20150127.000000submit/tizen_wearable/20150116.060702submit/tizen_wearable/20150116.000000submit/tizen_tv/20150130.050505submit/tizen_tv/20150130.000000submit/tizen_tv/20150120.000002submit/tizen_tv/20150120.000000submit/tizen_tv/20150119.000001submit/tizen_tv/20150119.000000submit/tizen_tv/20150116.000000submit/tizen_mobile/20150213.000000submit/tizen_mobile/20150129.000000submit/tizen_mobile/20150116.000003submit/tizen_mobile/20150116.000001submit/tizen_mobile/20150116.000000submit/tizen_ivi/20150112.111111submit/tizen_common/20150108.112600accepted/tizen/wearable/20150128.040604accepted/tizen/ivi/20150112.234217accepted/tizen/common/20150109.094257tizen_3.0_ivitizen_3.0.2015.q1_commontizen_3.0.2014.q4_commonrefs/changes/15/32615/2Jean-Benoit MARTIN1-1/+6
change video frame into gdkpixbuff object Bug-Tizen: TC-2270 Change-Id: I8204d0aed2763150ed4ea6bb136745c093b1af7a Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
2014-12-03Remove Ecore evas dependencysubmit/tizen_mobile/20141216.000000submit/tizen_common/20141211.110609accepted/tizen/common/20141211.134331refs/changes/00/31300/1Jean-Benoit MARTIN1-141/+43
Librarie gdk-pixbuf is used to create thumbnail instead of Ecore-evas Bug-Tizen: TC-1694 Change-Id: Ib8facf8ec8d2d82ffaf5138a3b7e09ee5853b7b5 Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
2014-09-30Multiuser featuretizen_3.0.m14.3_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi/20141007.222222submit/tizen_common/20141001.125034accepted/tizen/ivi/20141008.075209accepted/tizen/common/20141001.131249tizen_3.0.m14.3_ivitizen_3.0.2014.q3_commonaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_commonrefs/changes/48/27348/2Jean-Benoit MARTIN1-7/+9
Use User UID to write or read into database Use Unix socket Fix-Tizen: TC-1482 Change-Id: I557a28de1650c9af1a30ef7d795d64464eaa2e8f Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
2013-03-15merge with masterJinkun Jang1-1/+0
2013-03-12Tizen 2.1 baseJinkun Jang1-0/+1302