summaryrefslogtreecommitdiff
path: root/gstcs/mm_util_gstcs.c
AgeCommit message (Collapse)AuthorFilesLines
2019-03-06Add error handling for getting gst_capstizen_5.5.m2_releasesubmit/tizen_5.5_wearable_hotfix/20201026.184303submit/tizen_5.5_mobile_hotfix/20201026.185103submit/tizen_5.5/20191031.000004submit/tizen/20190311.013617accepted/tizen/unified/20190311.220539accepted/tizen/5.5/unified/wearable/hotfix/20201027.115627accepted/tizen/5.5/unified/mobile/hotfix/20201027.084432accepted/tizen/5.5/unified/20191031.022450tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5accepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedjiyong.min1-15/+27
Change-Id: I8a80de7404f8ec9e2c55e958ebf45b5c141c780d
2019-03-04Remove unused macrojiyong.min1-2/+0
Change-Id: I723fd7bd335bee627b91f1e39e577f34ef331a71
2018-12-07Fix format error in logssubmit/tizen/20181207.051909accepted/tizen/unified/20181210.060042jiyong.min1-2/+2
Change-Id: Iec57c08031bdd082eaa0d0259eaf3b8772596406
2018-02-23Change unsigned int to size_t for buffer_sizesubmit/tizen/20180223.061228accepted/tizen/unified/20180226.142329hj kim1-7/+7
Change-Id: I6029965940b2949fe3b2a2b92edbd4448a9ba6c6
2018-02-22Add to check valid width and height for _mm_push_buffer_into_pipeline_newJiyong Min1-0/+1
- fix Svace issue(underflow array 'pLine[i - 1]') Change-Id: I1274d08ff1d65c30465fe7f4a7ce9158d5357f1d Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2018-02-14Remove input and output format structuresubmit/tizen/20180220.054545submit/tizen/20180220.014003submit/tizen/20180219.051103hj kim1-138/+56
Change-Id: Ied141fdbf684199e52c203882ad43e76e6b0e186
2018-02-14Add code to check color format before doing transform. and just fix some ↵hj kim1-66/+55
debug msg Change-Id: Idd4728e26c503ae8c870d11f92450ead4f56c573
2018-02-13Remove useless format_labelhj kim1-2/+2
Change-Id: Ia32669717407b1846d8dad36a05d6bd9a92e3851
2018-02-13Use mm_util_color_format_e instead of format_label or colorspace. ↵submit/tizen/20180212.075159accepted/tizen/unified/20180214.144548hj kim1-119/+124
format_label and colorpace is just a text value of mm_util_color_format_e. Change-Id: Ibc5c313746564b8f32819a0147600e706e8f3544
2018-02-13Just rearrange codehj kim1-47/+45
Change-Id: Ia31701a3acb82f3a6c651fef87912163d6a211ef
2018-02-12Remove useless code. Don't need to check colospace. YUV's w/h is alwasy same ↵hj kim1-11/+5
as stride/elevation Change-Id: I417ec48df97c8c4a3b72c53d133aa2f17f8d4d65
2018-02-12Remove and unify duplicated Codeshj kim1-136/+22
Change-Id: I0d72a901e384a70bd02f9e6830463c470bbe472d
2018-02-12use stride and elevation for output caps. It means final transoformed data's ↵hj kim1-20/+15
size is calculated with stride and elevation Change-Id: Ie4cf51e80500bb919f671265c6d3fd1ba0c4a6cb
2018-02-12Add framerate, pixel-aspect-ratio options for caps. Actually transforming is ↵hj kim1-0/+10
working well without those options. but add them for unify code Change-Id: I6c822929281d3b6439fe762f7975c95495ac571e
2018-02-09Unify Code of getting color spacehj kim1-98/+69
Change-Id: I5a913b125a2c87d94c2db35913ecff47f5dfe2be
2018-02-09Remove unused parametershj kim1-7/+4
Change-Id: Ib548b14ca57821a0db3bd32157428b7ea77f5ede
2018-02-08Change to allocate dstination buffer memory herehj kim1-6/+15
Change-Id: I3fff406d3c8613c4233351ccf1408148d54fe09a
2018-01-24Add BGRX format setting to support BGRX colorspacesubmit/tizen/20180124.095043accepted/tizen/unified/20180125.060644Jiyong Min1-2/+2
Change-Id: I98110026ec3ce1ae7313f5f7337f9ae8ab5e30a7
2017-09-11Apply tizen coding rulesubmit/tizen/20170912.034220accepted/tizen/unified/20170913.071142Haejeong Kim1-17/+16
Change-Id: Iba531c1d631fe5a550ab0dd68155b39697d7d64e
2017-06-21fix invalid format argument types for dlogsubmit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170622.044226submit/tizen/20170621.064821accepted/tizen/unified/20170630.083301accepted/tizen/4.0/unified/20170816.014842accepted/tizen/4.0/unified/20170816.013719Haejeong Kim1-1/+1
Change-Id: I538566e64fbcc232e439fcf6f2fd5535d64c9432
2017-04-27Change the length of format for strlcpytizen_4.0.m1_releasesubmit/tizen/20170427.004342accepted/tizen/unified/20170428.032504Jiyong Min1-6/+6
[Problem] Copying 'RGBA8888' string make crash. (This issue happen after svace issue was fixed) [Solution] Change the length of string to copy Change-Id: I741012cd0763b9c61bbc15fbc9bd307cbfd9d01c Signed-off-by: jiyong min <jiyong.min@samsung.com>
2017-04-20Svace issue fix. change strncpy to g_strlcpysubmit/tizen/20170421.002420accepted/tizen/unified/20170421.041816Jiyong Min1-10/+13
Change-Id: I8a4701548115d7afada4f4126218d2fded6cba3b Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2016-07-14Modify stride color to make new stride buffer.submit/tizen_unified/20170308.100408submit/tizen_3.0_wearable/20161015.000003submit/tizen_3.0_tv/20161015.000003submit/tizen_3.0_mobile/20161015.000003submit/tizen_3.0_ivi/20161010.000003submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093750submit/tizen/20160805.054353accepted/tizen/wearable/20160808.081049accepted/tizen/unified/20170309.033047accepted/tizen/tv/20160808.080943accepted/tizen/mobile/20160808.080734accepted/tizen/ivi/20160808.081136accepted/tizen/common/20160805.130124accepted/tizen/3.0/wearable/20161015.083253accepted/tizen/3.0/tv/20161016.004832accepted/tizen/3.0/mobile/20161015.033532accepted/tizen/3.0/ivi/20161011.044407accepted/tizen/3.0/common/20161114.105803accepted/tizen/3.0.m2/wearable/20170104.125750accepted/tizen/3.0.m2/tv/20170104.125515accepted/tizen/3.0.m2/mobile/20170104.125153tizen_3.0_tvtizen_3.0.m2accepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileJiyong Min1-3/+3
The color will take color or last row/column pixcel on image. Change-Id: Ib9970f44b60f8e01aa64691a2ce98a14a38127c7 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2016-06-17Fix memory leak due to gst_caps when rotate image.submit/tizen/20160622.011011accepted/tizen/wearable/20160622.094110accepted/tizen/tv/20160622.094049accepted/tizen/mobile/20160622.094032accepted/tizen/ivi/20160622.094121accepted/tizen/common/20160622.145828Jiyong Min1-0/+1
Change-Id: I18f42e1ce239d40b560414cb3f3e05a8d0b0becb Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2016-04-08Remove warningsubmit/tizen/20160411.223143accepted/tizen/wearable/20160412.010259accepted/tizen/tv/20160412.010249accepted/tizen/mobile/20160412.010400accepted/tizen/ivi/20160412.010329accepted/tizen/common/20160412.130752Jiyong Min1-1/+1
Change-Id: Id7143adb04b819e8353defabb977190a84656644 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2016-02-12Replace g_malloc to mallocsubmit/tizen_ivi/20160217.000003submit/tizen_ivi/20160217.000000submit/tizen_common/20160218.142243submit/tizen/20160212.035219accepted/tizen/wearable/20160212.050219accepted/tizen/tv/20160212.050215accepted/tizen/mobile/20160212.050212accepted/tizen/ivi/20160218.023901Ji Yong Min1-1/+1
Change-Id: I048843fbd02e128c5a0dfdeb4906e331d0369eb2 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2015-12-21Apply tizen coding rulesubmit/tizen_common/20151229.154718submit/tizen_common/20151229.144031submit/tizen_common/20151229.142028submit/tizen/20151221.083152accepted/tizen/wearable/20151221.101832accepted/tizen/tv/20151221.101653accepted/tizen/mobile/20151221.101836Haejeong Kim1-27/+21
Change-Id: Id1e82911a4cecdb720241b5fdad09b3f1b50475d
2015-12-18Apply tizen coding ruleJi Yong Min1-2/+4
Change-Id: I03bfbc2ae20c7f20dfc3a4fd7880041fe4c252e1 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2015-12-15Simple code refactoringsubmit/tizen/20151215.100747accepted/tizen/wearable/20151215.125601accepted/tizen/tv/20151215.125250accepted/tizen/mobile/20151215.124746Ji Yong Min1-100/+168
Change-Id: I34b6638ca322441558494b83ec319cc0062dac92 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2015-12-10Apply tizen coding rulesubmit/tizen/20151210.060602accepted/tizen/wearable/20151210.083515accepted/tizen/tv/20151210.083446accepted/tizen/mobile/20151210.083427Haejeong Kim1-185/+191
Change-Id: I31899d00f04e9bf5956395323e899775be8f3546
2015-12-08Replace position to set caps for appsrc/appsink before push bufferssubmit/tizen/20151209.070048accepted/tizen/wearable/20151209.133353accepted/tizen/tv/20151209.133324accepted/tizen/mobile/20151209.133305Ji Yong Min1-2/+3
- Because gstappsrc merges buffer & caps management by queueing, so the order of caps & buffer is important Change-Id: I73a2ab0e1e70b7d9f0ed6b5e652629155cbb5068 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2015-12-02Modify memory leak issue for static analyzer warningsubmit/tizen/20151204.003419accepted/tizen/wearable/20151204.053724accepted/tizen/tv/20151204.053656accepted/tizen/mobile/20151204.053629Ji Yong Min1-5/+6
Change-Id: I5c676437319279504ea3303ab081d51104f4853e Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2015-10-01Remove dependency of mm-log & mm-common in libmm-imgp-gstcs librarytizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasesubmit/tizen/20151001.095659accepted/tizen/wearable/20151001.224910accepted/tizen/tv/20151001.224857accepted/tizen/mobile/20151001.224846Ji Yong Min1-31/+30
Change-Id: I1cd81d13e5bb7654dd1e0ba64a8c47b0f79535dc
2015-09-24Remove mmlog & fix bugs for image transformsubmit/tizen/20150924.075606accepted/tizen/wearable/20150925.012824accepted/tizen/tv/20150925.012817accepted/tizen/mobile/20150925.012807Ji Yong Min1-292/+437
Change-Id: I0c1735cc48492d0b424a9b95cb3b419946023aca Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2015-07-30Fix to get wrong result before gstream change state is donetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen/20150803.020941accepted/tizen/wearable/20150803.042513accepted/tizen/tv/20150803.042504accepted/tizen/mobile/20150803.042454tizen_3.0.m1_tvtizen_3.0.m1_mobileJi Yong Min1-70/+36
Change-Id: Ic70286b48c8b77fdb33f2c55a973e77e2212a9a7 Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
2015-05-14Update imgp for gstreamer 1.x (fix blocking issue)submit/tizen_3.0.2015.q2_common/20150615.075539submit/tizen/20150609.075509accepted/tizen/wearable/20150610.001415accepted/tizen/tv/20150610.001339accepted/tizen/mobile/20150610.001400accepted/tizen/common/20150609.171310accepted/tizen/3.0.2015.q2/common/20150615.091805tizen_3.0.2015.q2_commonaccepted/tizen_3.0.2015.q2_commonJi Yong Min1-188/+167
Change-Id: I57d46f15d9c9b3905c94aee7cde5451bfc4807a4 Signed-off-by: jiyong.min <jiyong.min@samsung.com>
2015-02-02update prevent issue issueYoungHun Kim1-3/+6
Change-Id: I818f1441929df2246033243722b73cef0417f899 Signed-off-by: YoungHun Kim <yh8004.kim@samsung.com>
2015-01-23update the prevent issuesubmit/tizen/20150206.062742submit/tizen/20150128.133102accepted/tizen/wearable/20150210.014934accepted/tizen/tv/20150210.013058accepted/tizen/mobile/20150211.014709accepted/tizen/common/20150209.121102YoungHun Kim1-46/+43
Change-Id: I01d48cedd227a647bbf972aaecb075e1bcc851fb
2014-06-16Updated to version 0.7.16 from tizendevAndrey Shelest1-89/+82
Change-Id: I1315d9473f0bf36625e7e9186289539f8b8902ff
2013-04-08Update yuyv fourcc value & Add rgb padding vaule to appsrc's buffersubmit/tizen_2.1/20130424.232031submit/tizen/20130517.045041accepted/tizen_2.1/20130425.034952accepted/tizen/20130520.1011342.1b_releasetizen_2.1YoungHun Kim1-9/+34
Change-Id: Iebf0c6b6c83dd60eddaff6640cd4d27d1812b076
2013-03-16merge with masterJinkun Jang1-81/+81
2013-03-13Tizen 2.1 baseJinkun Jang1-0/+771