platform/adaptation/emulator/gst-plugins-emulator.git
4 years agoChange audiodec rank to MARGINAL for using avdec 81/242981/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/6.0/unified/20201030.123304 accepted/tizen/6.0/unified/hotfix/20201103.052657 accepted/tizen/6.5/unified/20211028.093503 accepted/tizen/7.0/unified/20221110.062550 accepted/tizen/7.0/unified/hotfix/20221116.104406 accepted/tizen/8.0/unified/20231005.143733 accepted/tizen/unified/20200902.145515 submit/tizen/20200902.082024 submit/tizen_6.0/20201029.205101 submit/tizen_6.0_hotfix/20201102.192501 submit/tizen_6.0_hotfix/20201103.114801 submit/tizen_6.5/20211028.161501 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
Gilbok Lee [Wed, 2 Sep 2020 07:23:37 +0000 (16:23 +0900)]
Change audiodec rank to MARGINAL for using avdec

Change-Id: I4b83f7bc917b15f299d1153c780e2a762a18710e

4 years agoFix blacklist issue with GST 1.16.2 88/225888/1 accepted/tizen/unified/20200304.124036 submit/tizen/20200221.064623 submit/tizen/20200302.032418
Eunhye Choi [Tue, 25 Feb 2020 07:28:19 +0000 (16:28 +0900)]
Fix blacklist issue with GST 1.16.2

Change-Id: Ib0d883a48ba9d7dd8db67090012a59ab2450c117

4 years agoAdding gcc version check for unsupported gcc6 option flag 44/221944/1 accepted/tizen/unified/20200109.115637 submit/tizen/20200109.063451
manish.r [Wed, 8 Jan 2020 10:00:02 +0000 (15:30 +0530)]
Adding gcc version check for unsupported gcc6 option flag

Change-Id: Ie2fc32c9905961b41f49d045aa04ccaf3622bb79
Signed-off-by: manish.r <manish.r@samsung.com>
4 years ago[Tizen 6.0] Silence build warnings for GCC 9.2 build 01/221301/1 submit/tizen/20200107.104901
Dongkyun Son [Tue, 31 Dec 2019 04:22:30 +0000 (13:22 +0900)]
[Tizen 6.0] Silence build warnings for GCC 9.2 build

Change-Id: I56d34efbd52b946f750b1c5a4958ef4953f485d5
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
7 years agopackage: update version (1.2.8) 40/124740/1 accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_5.5_unified_mobile_hotfix tizen_4.0 tizen_4.0_tv tizen_5.0 tizen_5.5_mobile_hotfix accepted/tizen/4.0/unified/20170816.013636 accepted/tizen/4.0/unified/20170816.020211 accepted/tizen/4.0/unified/20170828.224417 accepted/tizen/5.0/unified/20181102.012251 accepted/tizen/5.5/unified/20191031.014355 accepted/tizen/5.5/unified/mobile/hotfix/20201027.082550 accepted/tizen/unified/20170420.160006 submit/tizen/20170420.111918 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.110001 submit/tizen_4.0_unified/20170814.115522 submit/tizen_5.0/20181101.000001 submit/tizen_5.5/20191031.000001 submit/tizen_5.5_mobile_hotfix/20201026.185101 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release tizen_5.5.m2_release
Park Kyoung Won [Wed, 12 Apr 2017 08:29:28 +0000 (17:29 +0900)]
package: update version (1.2.8)

Change-Id: Iae7fcb84f191b5d499e8d3c7ba749ef15430113f
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
7 years agopackage: install license by %license macro 39/124739/1
Park Kyoung Won [Wed, 12 Apr 2017 08:25:41 +0000 (17:25 +0900)]
package: install license by %license macro

Change-Id: I87bc086a3f9dd72e761ebb4ba846ebf799928210
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
7 years agopackage: update version (1.2.7) 71/111771/4 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170124.181936 accepted/tizen/ivi/20170125.085416 accepted/tizen/mobile/20170125.085326 accepted/tizen/tv/20170125.085342 accepted/tizen/unified/20170309.031028 accepted/tizen/wearable/20170125.085400 submit/tizen/20170124.065807 submit/tizen_unified/20170308.100403
Park Kyoung Won [Tue, 24 Jan 2017 02:28:03 +0000 (11:28 +0900)]
package: update version (1.2.7)

Change-Id: I31cac3240ad88cbbcf461baf4059a3f5bb4d4fdc
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
7 years agoenc/dec: fix memory leaks on unreferenced caps 10/111710/3
Park Kyoung Won [Mon, 23 Jan 2017 13:01:48 +0000 (22:01 +0900)]
enc/dec: fix memory leaks on unreferenced caps

- Some caps (srccaps, sinkcaps) were not freed, gst_caps_unref() can
  help to be freed.

Change-Id: I0f03f5373542df1950d6270c45f0515916f95dbb
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
7 years agopackage: update version (1.2.6) 97/101897/1 accepted/tizen/common/20161202.233434 accepted/tizen/ivi/20161205.001039 accepted/tizen/mobile/20161205.001022 accepted/tizen/tv/20161205.001025 accepted/tizen/wearable/20161205.001031 submit/tizen/20161202.101346
Park Kyoung Won [Fri, 2 Dec 2016 10:05:05 +0000 (19:05 +0900)]
package: update version (1.2.6)

Change-Id: I431acd278ae04d02e4f8eebeb3d242bbf7d193ad
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
7 years agocodec: support running code on 64 bits 74/101874/3
Park Kyoung Won [Fri, 2 Dec 2016 09:14:11 +0000 (18:14 +0900)]
codec: support running code on 64 bits

- fixed casting errors and calculating CodecContext members size.

Change-Id: I21a009e1cabfe3c465b08d9f91576fb049f127d9
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
8 years agopackage: update version (1.2.4) 56/90456/1 accepted/tizen/3.0/ivi/20161011.044019 accepted/tizen/3.0/mobile/20161015.033023 accepted/tizen/3.0/tv/20161016.004635 accepted/tizen/3.0/wearable/20161015.082652 accepted/tizen/common/20160930.174915 accepted/tizen/ivi/20160930.233240 accepted/tizen/mobile/20160930.233143 accepted/tizen/tv/20160930.233157 accepted/tizen/wearable/20160930.233216 submit/tizen/20160930.065807 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000002 submit/tizen_3.0_wearable/20161015.000002
Jinhyung Choi [Fri, 30 Sep 2016 06:41:22 +0000 (15:41 +0900)]
package: update version (1.2.4)

Change-Id: I6797629f7bb64a465681b6aeab7c749834dc9907
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
8 years agopackage: set ExclusiveArch as ix86 and x86_64 55/90455/1
Jinhyung Choi [Fri, 30 Sep 2016 06:38:56 +0000 (15:38 +0900)]
package: set ExclusiveArch as ix86 and x86_64

Change-Id: Ie9f55e14f13ab4f557969a7e560a9dcd4f3feedb
Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
8 years agopackage: update version (1.2.3) 21/75221/1 accepted/tizen/common/20160620.163701 accepted/tizen/common/20160624.134303 accepted/tizen/ivi/20160626.225054 accepted/tizen/mobile/20160626.225005 accepted/tizen/tv/20160626.225022 accepted/tizen/wearable/20160626.225039 submit/tizen/20160620.053945 submit/tizen/20160624.072030
Park Kyoung Won [Fri, 17 Jun 2016 05:54:35 +0000 (14:54 +0900)]
package: update version (1.2.3)

Change-Id: If43fa4914ed2f0e49455e64220e99a3f1d3a2d78
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
8 years agoaudio: fix uninitialized variable 12/75212/1
Park Kyoung Won [Fri, 17 Jun 2016 05:19:33 +0000 (14:19 +0900)]
audio: fix uninitialized variable

- Initializes an enum array.

Change-Id: If97fd93a18331b533f89827f5c09e745ba37e223
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
8 years agolicense: fix the license file name 66/74466/2
Park Kyoung Won [Tue, 14 Jun 2016 09:12:08 +0000 (18:12 +0900)]
license: fix the license file name

- LICENSE.LGPLv2.0 -> LICENSE.LGPLv2+

Change-Id: I5e99808675a1165f21aa3a25b125786ece6c1882
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
8 years agopackage: update version (1.2.2) 58/66458/2 accepted/tizen/common/20160504.125610 accepted/tizen/ivi/20160503.093708 accepted/tizen/mobile/20160503.093611 accepted/tizen/tv/20160503.093627 accepted/tizen/wearable/20160503.093647 submit/tizen/20160503.022617
Park Kyoung Won [Tue, 19 Apr 2016 04:56:48 +0000 (13:56 +0900)]
package: update version (1.2.2)

Change-Id: I9ef5534f4a0c99c7688a11a0220d6000f4831f50
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
8 years agosource: fix unintended deallocaton problem 55/66455/2
Park Kyoung Won [Tue, 19 Apr 2016 04:33:40 +0000 (13:33 +0900)]
source: fix unintended deallocaton problem

- CodecElements were deallocated after registering element data, but
  being used while encoding or decoding.

Change-Id: Ibc8f666232421d6f8017216adeb983a53c6339b5
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
8 years agopackage: update version (1.2.1) 46/63346/1 features/directsink accepted/tizen/common/20160323.185353 accepted/tizen/ivi/20160323.140919 accepted/tizen/mobile/20160323.135539 accepted/tizen/tv/20160323.135823 accepted/tizen/wearable/20160323.135530 submit/tizen/20160323.092540
Park Kyoung Won [Wed, 23 Mar 2016 08:48:41 +0000 (17:48 +0900)]
package: update version (1.2.1)

Change-Id: Idf15ef3708e37efbbf58b1513308f089485386a5
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
8 years agosource: remove unreachable codes 43/63343/1
Park Kyoung Won [Wed, 23 Mar 2016 08:43:53 +0000 (17:43 +0900)]
source: remove unreachable codes

Change-Id: I0f45ebd89d64e83ce4e0bcdaec3c331fabe8255f
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
8 years agoaudioencoder: fix null pointer dereference 66/56166/4
Park Kyoung Won [Tue, 5 Jan 2016 06:11:22 +0000 (15:11 +0900)]
audioencoder: fix null pointer dereference

- Guard against GstAudioEncode NULL dereference.

Change-Id: Icd33ee405408aeea4d75b392623d3abd352dfce2
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
8 years agosource: fix memory leak & null pointer dereference 71/56071/2 accepted/tizen/ivi/20160218.022954 accepted/tizen/mobile/20160104.224734 accepted/tizen/tv/20160104.224754 accepted/tizen/wearable/20160104.224814 submit/tizen/20160104.083437 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000001
Park Kyoung Won [Mon, 4 Jan 2016 05:58:07 +0000 (14:58 +0900)]
source: fix memory leak & null pointer dereference

- Allocations via g_malloc were not cleaned up when prepare_elements
  returned, so use g_free to free the "elem" resource.
- Fix null pointer dereference bugs.

Change-Id: I07345cbb084cc050337c87e67860b185fd976cc9
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
9 years agobuild: add '-Werror' Cflag option 36/51336/3
Park Kyoung Won [Sat, 7 Nov 2015 10:15:08 +0000 (19:15 +0900)]
build: add '-Werror' Cflag option

remove interface-version-2 to fix build errors
- There are 2 plugin interfaces which defines version 2 and 3.
- Errors are occured from an interface version 2, but not necessary any
  more.

Change-Id: I28e6c5c3d9db80dc9db6b698021a7b8b64339d14
Signed-off-by: Park Kyoung Won <kw0712.park@samsung.com>
9 years agopackaging: version up 80/40080/1 tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/common/20150529.082331 accepted/tizen/mobile/20150529.083730 accepted/tizen/tv/20150529.083652 accepted/tizen/wearable/20150529.083712 submit/tizen/20150529.014846 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Sooyoung Ha [Thu, 28 May 2015 14:04:53 +0000 (23:04 +0900)]
packaging: version up

Change-Id: Ia40834d0144bba161b73e7b2d5efa0355f3a1e02
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agoupgrade: apply gstreamer 1.2.0 79/40079/1
Sooyoung Ha [Thu, 28 May 2015 09:54:06 +0000 (18:54 +0900)]
upgrade: apply gstreamer 1.2.0

Change-Id: I8872be4957f2da042a4a38e5e1904ba0dc99fc1b
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
9 years agoremove unused sources and write some comments. 74/34474/1 archives/tizen_20150513
Kitae Kim [Wed, 28 Jan 2015 00:51:03 +0000 (09:51 +0900)]
remove unused sources and write some comments.

Change-Id: I931d7e8678f049ca62ad59d1934bca625ecb6b5b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoadd NOTICE and license file. 54/33754/1
Kitae Kim [Wed, 14 Jan 2015 09:46:34 +0000 (18:46 +0900)]
add NOTICE and license file.

Change-Id: Id35f6634df3016c7817d6970dca863128e7737e1
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoimprove error cases 53/33753/1
Kitae Kim [Wed, 14 Jan 2015 09:45:04 +0000 (18:45 +0900)]
improve error cases

- null pointer dereferences
- uninitialize variables

Change-Id: Idfc6f59cc12ef4cf32c61b2c43131a8040499f97
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoadd caps for video/x-h264 encoder and remove unused source. 52/33752/1
Kitae Kim [Wed, 14 Jan 2015 09:42:03 +0000 (18:42 +0900)]
add caps for video/x-h264 encoder and remove unused source.

Change-Id: I457cb8fab6dbcc23607c1aad947b65f2a2ebc8f8
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoAdd profile module for decoding fps/latency. 31/31331/1
gunsoo83.kim [Thu, 4 Dec 2014 07:08:09 +0000 (16:08 +0900)]
Add profile module for decoding fps/latency.

- To profile codec performance, add profile module to gstmarudec.

Change-Id: I83344246132a363701df266f3350669320d9317c
Signed-off-by: gunsoo83.kim <gunsoo83.kim@samsung.com>
9 years agoremove unused logging macros. 80/30880/1
Kitae Kim [Wed, 26 Nov 2014 10:46:20 +0000 (19:46 +0900)]
remove unused logging macros.

Change-Id: I2643f235eb62a0f4b83083e38a749d3a6d1a2014
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoapply struct base memory access for audio encoding into interface3 59/30859/2
Kitae Kim [Wed, 26 Nov 2014 05:50:07 +0000 (14:50 +0900)]
apply struct base memory access for audio encoding into interface3

Change-Id: I6839b242fa4dd988e07ac171284aedce249881a9
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
9 years agoapply struct base memory access for audio encoding 55/30555/1
Kitae Kim [Thu, 20 Nov 2014 08:14:10 +0000 (17:14 +0900)]
apply struct base memory access for audio encoding

Change-Id: Ic65486156c9701d0f351885c0bd3406cf5e3f030
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoFix incorrect ioctl handling at version check. 48/29248/1
gunsoo83.kim [Thu, 23 Oct 2014 08:05:23 +0000 (17:05 +0900)]
Fix incorrect ioctl handling at version check.

- When the emulator plugin is checking the codec version,
  fix incorrect the ioctl handling.

Change-Id: I372a1686a880fe567837d392241fbd83b7d2db3c
Signed-off-by: gunsoo83.kim <gunsoo83.kim@samsung.com>
10 years agoadd bitrate property in audio/video encoder. 86/28486/3
Kitae Kim [Wed, 8 Oct 2014 05:10:59 +0000 (14:10 +0900)]
add bitrate property in audio/video encoder.

Change-Id: I1d47bf7421dfeed96a6bb4665c0e96271a4b60bf
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoFix close routine at decoder plugin. 85/28485/2
Kitae Kim [Thu, 2 Oct 2014 07:57:17 +0000 (16:57 +0900)]
Fix close routine at decoder plugin.

Open flag in decoder context was not set into false when closing contxt.
In addition to this, unnecessary sources are removed.

Change-Id: Ie13514bc532be10fcdb59889d95c48bc5bbcba3c
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoapply struct base memory access for audio decoding 85/27485/3
SeokYeon Hwang [Sun, 14 Sep 2014 08:56:45 +0000 (17:56 +0900)]
apply struct base memory access for audio decoding

Change-Id: I772a9a2663d27f3b6905d0d14f75b156e617727c
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoseperate interface by device version 97/27397/3
SeokYeon Hwang [Fri, 12 Sep 2014 08:27:52 +0000 (17:27 +0900)]
seperate interface by device version

Seperate interface by device version.
Create new interface source file for device version 3.
Some code clean-up.

Change-Id: I8f21674e0680c0d6b90eec9efa58e0a1e05efe7f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoSeperate decode and picture_copy if no pix_fmt is specified 49/26949/1
SeokYeon Hwang [Tue, 2 Sep 2014 06:00:39 +0000 (15:00 +0900)]
Seperate decode and picture_copy if no pix_fmt is specified

Change-Id: Ic4daf789b4d0b45bf0e78f141fb2c1cb0174c992
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agosupport various audio/video caps. 09/26709/1
Kitae Kim [Thu, 21 Aug 2014 09:44:36 +0000 (18:44 +0900)]
support various audio/video caps.

Change-Id: If383c7607d713155697164a6091d1f26fe6bb1ac
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoFix error when runs with old device 53/26553/1
SeokYeon Hwang [Tue, 26 Aug 2014 09:12:22 +0000 (18:12 +0900)]
Fix error when runs with old device

Change-Id: Ibfbc83ecc84374595310b6215515dd4e86466d8d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoadd new command for reducing I/O 65/26165/4
SeokYeon Hwang [Tue, 19 Aug 2014 02:09:47 +0000 (11:09 +0900)]
add new command for reducing I/O

Add command CODEC_DECODE_VIDEO2(needs device version 3).
Clean-up source.

Change-Id: Iac3d4f3fc5bb831ab599109181222e6e20860119
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoclean-up source 64/26164/3
SeokYeon Hwang [Fri, 8 Aug 2014 06:59:30 +0000 (15:59 +0900)]
clean-up source

Remove unnecessary assignment.
Remove unnecessary structure.
Remove unnecessary ioctl.

Change-Id: I9ce0ce71537e4c7b6738a19d9fb9717a3f170957
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agofix audio encoder. 20/24420/1
Kitae Kim [Mon, 14 Jul 2014 04:45:35 +0000 (13:45 +0900)]
fix audio encoder.

audio encoder has a problem because of some changes libav 9.8 on QEMU
 - encoding audio API on QEMU side.
 - audio sample format (INT/FLOAT to FLOAT PLANAR)

Change-Id: I52bdacabe9101bd92a07d6ac7eaa6f9a029b68ab
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agofix encoding audio routine 26/20126/1
Kitae Kim [Mon, 28 Apr 2014 08:56:38 +0000 (17:56 +0900)]
fix encoding audio routine

Unlike decoding, extradata has to be given from device in case of encoding.
In addition to this, chanage logging methods into gstreamer APIs.

Change-Id: I47d76ec8a2fc758ab12325c2774c22f1d119f738
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoModify video and audio encoder's interface module 69/18569/1
Kitae Kim [Wed, 19 Mar 2014 11:08:20 +0000 (20:08 +0900)]
Modify video and audio encoder's interface module

Modify interface module as libav on qemu side, which gives codec information
to this plugin, has been upgraded into 9.8.
In addition to this, use gstreamer logging methods instead of printf

Change-Id: I1c3e9a0be81f01dc15807df52ea9100f36ee214e
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoFix broken image when seeking frame. 90/18190/1
Kitae Kim [Thu, 13 Mar 2014 08:44:33 +0000 (17:44 +0900)]
Fix broken image when seeking frame.

When seeking encoded frames, those images are distorted.
Its reason is that the encoder did not marks a specific flag into output buffer.
Encoder plugin has to inform gstreamer about the status of the encoded buffer

Change-Id: I78d8b53131b70d45a48e136183a862c034595112
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoApply the broken image patch when encoding video. 89/18189/1
Kitae Kim [Tue, 4 Mar 2014 05:03:54 +0000 (14:03 +0900)]
Apply the broken image patch when encoding video.

Change-Id: Ie01a75a5a33b12d8bb729919c9fd91c42ee33c6f
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agofix a sync problem. 88/18188/1
Kitae Kim [Mon, 3 Mar 2014 10:29:38 +0000 (19:29 +0900)]
fix a sync problem.

There is a variable to manage how many codecs are used in a process.
As depending on the count variable, this plugin determine whether release resources or not.
However, there is an exception case that the variable can be invalid,
and it causes SEGV problem when opening and closing CODECs concurrently.

Change-Id: If5bab4c679f986d0cb7108fd36c23ce57c741ab2
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agofix broken image problem when encoding video. 87/18187/1
Kitae Kim [Fri, 21 Feb 2014 08:22:11 +0000 (17:22 +0900)]
fix broken image problem when encoding video.

The way to reduce memcpy overhead has had a problem
when encoding video.

Change-Id: I6eb1e185281d5724658b1ae064f21dd24676bc79
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoadd license file into rpm package 86/18186/1
Kitae Kim [Wed, 12 Feb 2014 11:26:15 +0000 (20:26 +0900)]
add license file into rpm package

Change-Id: I8a21158e6a4c073f13f00d51a5e796bfa0ed8e20
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoChange a way to copy data between gstreamer plugin. 85/18185/1
Kitae Kim [Thu, 6 Feb 2014 06:12:31 +0000 (15:12 +0900)]
Change a way to copy data between gstreamer plugin.

Remove a memory region for meta data(video resolution, frame rate and etc.)
which is reserved in the first block of device memory.
After changing the way, copy data including the meta data and in/out buffer
into the same memory region.

Change-Id: I87b1e180cce128ba073a3620f2f4f75f009071c5
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoupdate spec version. 84/18184/1
Kitae Kim [Thu, 9 Jan 2014 09:52:17 +0000 (18:52 +0900)]
update spec version.

Change-Id: Ib002f4b3247336696368a03ed638ad09fda49962
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoModify secure_device_mem function and source clean-up. 54/13154/1
Kitae Kim [Thu, 28 Nov 2013 11:15:30 +0000 (20:15 +0900)]
Modify secure_device_mem function and source clean-up.

Change secure_device_mem funtion to pass context_id to kernel side
when acquires a memory block and the context_id is required to dispose memory blocks.

Change-Id: I592add0137edf67b45770edf648c08153d778e5d
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agochanged a way to invoke APIs on the device side. 26/12626/1
Kitae Kim [Wed, 20 Nov 2013 08:20:29 +0000 (17:20 +0900)]
changed a way to invoke APIs on the device side.

Mixing ioctl with write syscall might be confusing,
so two syscalls are merged into ioctl operation.

Change-Id: I785285bb3f4e8a9650a4092be0b29f3fffe06ba0
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoDoes open and mmap operation once per a process. 75/12575/1
Kitae Kim [Tue, 19 Nov 2013 06:23:02 +0000 (15:23 +0900)]
Does open and mmap operation once per a process.

Change-Id: I4fb1b95d39dad4b0488f662c6f8df3167891a737
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoFix a device memory release bugs. 42/12242/3
SeokYeon Hwang [Wed, 13 Nov 2013 02:57:24 +0000 (11:57 +0900)]
Fix a device memory release bugs.

Change-Id: I33d3b17f6f4aea88ed6e8fcd347f24252988c4e3
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoRemoved compile warnings. 17/12017/4
Kitae Kim [Mon, 11 Nov 2013 06:34:59 +0000 (15:34 +0900)]
Removed compile warnings.

Modified deprecated g_mutex function and removed unused variables.

Change-Id: Ie3b63e8d66ea90fcd313709b60729ec8107a54ef
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoModified spec file to fix rpm build error. 03/12003/2
Kitae Kim [Mon, 11 Nov 2013 03:24:44 +0000 (12:24 +0900)]
Modified spec file to fix rpm build error.

Change Group, License, Description and etc. depending on packaging guideline.

Change-Id: Id642e2b22a475c9eb6d4a6ff3b6aabba9df708e1
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoCode clean-up. 71/12071/2
SeokYeon Hwang [Tue, 12 Nov 2013 10:37:44 +0000 (19:37 +0900)]
Code clean-up.

Remove a unused command.
Remove redundant codes.

Change-Id: I05b5ee5a19acce03f92b87ecb230929bc6b482f6
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoEnhancement logic about using direct buffer. 60/12060/1
SeokYeon Hwang [Tue, 12 Nov 2013 08:08:05 +0000 (17:08 +0900)]
Enhancement logic about using direct buffer.

Fix some bugs related with device_fd.
Use a device buffer wisely.

Change-Id: Ie8c858348303fa917b856a3212f0407eaca5677d
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoPackage version update to 0.2.0 58/11858/1
SeokYeon Hwang [Wed, 6 Nov 2013 07:44:38 +0000 (16:44 +0900)]
Package version update to 0.2.0

Minor version update due to code change.

Change-Id: I5dc503350151ce17ccd7ddf085e013957b7b72f0
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoChange major ioctl command. 57/11857/1
SeokYeon Hwang [Wed, 6 Nov 2013 07:39:44 +0000 (16:39 +0900)]
Change major ioctl command.

Memory block is chosen by device driver depending on buffer size.
Reduce number of ioctl commands.
Use a device memory as a client buffer by default.
Source clean-up.

Change-Id: Id5201c001a173dd5cb6461a48647df412cd55bb1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agoChanged a way to use mmap system call. 56/11856/1
SeokYeon Hwang [Tue, 5 Nov 2013 07:41:35 +0000 (16:41 +0900)]
Changed a way to use mmap system call.

It has to be called once per a process. When emulator does multi decoding or encoding task in a process,
a virtual memory from mmap has to be the same for each thread.

Fix the bug previous change.

Change-Id: I5d8af40cbc0b49db7905d8f56f019caf65f5f5b7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
11 years agorollback the previous way because of webkit. 55/11855/1
Kitae Kim [Mon, 4 Nov 2013 15:09:51 +0000 (00:09 +0900)]
rollback the previous way because of webkit.
It tries to open CodecContext twice when paused streaming video play.

Change-Id: Ibc6faaef0c0b814886f14e04bc1dc9b256cf2d6e
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoChanged a way to use mmap system call. 54/11854/1
Kitae Kim [Mon, 4 Nov 2013 12:02:28 +0000 (21:02 +0900)]
Changed a way to use mmap system call.

It has to be called once per a process. When emulator does multi decoding or encoding task in a process,
a virtual memory from mmap has to be the same for each thread.

Change-Id: I0eb1c8581dbc958b1fa6bfc4fb4a09bd99f7f102
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoChanged a way to query codec element. 27/11827/1
Kitae Kim [Thu, 24 Oct 2013 16:40:12 +0000 (01:40 +0900)]
Changed a way to query codec element.

The query routine that copies some data from device is called when each element is used.
However, the codec information is static data and it does not
need to copy data from device everytime. So, the data is cached in the driver and
this module gets them from driver, not device.

Change-Id: I31ee17b508ed859297bfa25b09171858fdc37329
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoadded flush_buffer routine in decoder. 26/11826/1
Kitae Kim [Fri, 18 Oct 2013 02:51:26 +0000 (11:51 +0900)]
added flush_buffer routine in decoder.

As flushing buffer while decoding video, it makes internal buffers of avcodec flush.
If it is not used properly, it might cause an error during seeking operation.

Change-Id: I967e566527bc5d18c88b91f0cfcc0e58cc1e120d
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoremove compile warnings. 25/11825/1
Kitae Kim [Wed, 6 Nov 2013 01:59:21 +0000 (10:59 +0900)]
remove compile warnings.

Change-Id: Ibaac72e1323d4fe9d5af62b414130ed74fe87bca
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoMerge branch 'sdk-develop' into tizen
Yeongkyoon Lee [Thu, 26 Sep 2013 07:18:11 +0000 (16:18 +0900)]
Merge branch 'sdk-develop' into tizen

11 years agochanged rank of each element from NONE to PRIMARY.
Kitae Kim [Tue, 24 Sep 2013 12:25:34 +0000 (21:25 +0900)]
changed rank of each element from NONE to PRIMARY.

Change-Id: I6f3e1861a17e6c4fa29c32c1550c142ff2eb6d4b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agomodified changes and spec files.
Kitae Kim [Mon, 23 Sep 2013 11:29:50 +0000 (20:29 +0900)]
modified changes and spec files.

Change-Id: I368eec46571dec77c75b15d38dae07de1a01ea21
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agosource clean-up and read the result of decoding audio.
Kitae Kim [Mon, 16 Sep 2013 06:08:00 +0000 (15:08 +0900)]
source clean-up and read the result of decoding audio.

Those sample_rate, channels and etc. values are required to
negotiate with caps.

Change-Id: I21780bf4c9303f239b48ea8de6b465f0d48f2013
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoChanged a way to use device memory effectively.
Kitae Kim [Wed, 11 Sep 2013 12:30:57 +0000 (21:30 +0900)]
Changed a way to use device memory effectively.

Divide device memory into small, medium and large size of buffer
to use the memory effectively when decoding many contexts.

In case of meta data such as width, height, framerate and etc,
each context uses 256byte memory region and utilizes the large size of memory
when copying video and audio buffer.

Change-Id: I37e111ec1540694d32380906132d79cd90a658ef
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoInitial empty repository master
Sehong Na [Thu, 12 Sep 2013 05:46:27 +0000 (22:46 -0700)]
Initial empty repository

11 years agomodified the method of memory usage.
Kitae Kim [Mon, 2 Sep 2013 01:59:32 +0000 (10:59 +0900)]
modified the method of memory usage.

Separate the memory to use effectively from several regions
when processing mutli contexts.

Change-Id: I7f3033471fe78b01b9aac3ce068d6b0352ac4015
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agofixed sync problem when using multi contexts.
Kitae Kim [Thu, 22 Aug 2013 05:43:16 +0000 (14:43 +0900)]
fixed sync problem when using multi contexts.

When storing output of decoding video into device memory to reduce the overhead of memory copy,
device memory pointer could be wrong because the pointer only considered video context.

Change-Id: I2206bedef8bddfcdbddd8619aabc30f06481b585
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agofixed prevent issues.
Kitae Kim [Wed, 21 Aug 2013 06:05:45 +0000 (15:05 +0900)]
fixed prevent issues.

Change-Id: I28999bbda032b74f620a5845d10d4097c5d3d709
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agofixed prevent issues.
Kitae Kim [Fri, 5 Jul 2013 11:41:33 +0000 (20:41 +0900)]
fixed prevent issues.

Change-Id: Ic7dd6f671ec2da374545eed61c3915f5221b9247
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoupdate COPYING file.
Kitae Kim [Tue, 2 Jul 2013 00:15:15 +0000 (09:15 +0900)]
update COPYING file.

Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Change-Id: I00bcf0d0a5372f12be6ff61eacba665969438c71

11 years agochange a name of debug category and H.263 decoder caps.
Kitae Kim [Tue, 2 Jul 2013 00:12:47 +0000 (09:12 +0900)]
change a name of debug category and H.263 decoder caps.

Change-Id: I0e92ccd4c51993e8674187185a7a09538575eb79
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoremove unnecessary files which are generated while building this module.
Kitae Kim [Tue, 2 Jul 2013 00:10:34 +0000 (09:10 +0900)]
remove unnecessary files which are generated while building this module.

Change-Id: I10b3540c7d65e3e612c3e200b1e79e1055f17466
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agofixed prevent issues.
Kitae Kim [Thu, 27 Jun 2013 15:31:26 +0000 (00:31 +0900)]
fixed prevent issues.

Change-Id: I71151ae0837d074b21dfb6389a305fb9b27e54c3
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agochanged each element name and source clean-up.
Kitae Kim [Fri, 21 Jun 2013 13:07:32 +0000 (22:07 +0900)]
changed each element name and source clean-up.

Change-Id: I3ab90aa30a99e80e373cdac96a01a3ea2cfa3e3c
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoChanged a way to use device memory.
Kitae Kim [Fri, 21 Jun 2013 12:11:41 +0000 (21:11 +0900)]
Changed a way to use device memory.
- reduced memcpy overhead on guest to improve performance.
- use device memory as output buffer without copying data during decoding codec.

Change-Id: Ib9a778c79a8eb32378ab22c6324702f801b44a0c
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
11 years agoimprove decoding performance as 10 times than before.
Kitae Kim [Wed, 8 May 2013 14:12:10 +0000 (23:12 +0900)]
improve decoding performance as 10 times than before.
 - reduce context switching between user and kernel.
 - use device memory region directly as a output buffer instead of memcpy.

11 years agoimplemented two ways to copy data from guest and host
Kitae Kim [Tue, 12 Mar 2013 02:12:37 +0000 (11:12 +0900)]
implemented two ways to copy data from guest and host

11 years agoimplemented decoding audio part, but needs to improve.
Kitae Kim [Wed, 30 Jan 2013 12:30:07 +0000 (21:30 +0900)]
implemented decoding audio part, but needs to improve.

11 years agoinit gst-plugins-emul
Kitae Kim [Wed, 21 Nov 2012 08:57:13 +0000 (17:57 +0900)]
init gst-plugins-emul

11 years agoInitial empty repository
jinkun.jang [Wed, 24 Apr 2013 08:06:51 +0000 (17:06 +0900)]
Initial empty repository