sdk/emulator/qemu.git
10 years agoVIGS: Disable blending by default 63/26363/1
Stanislav Vorobiov [Wed, 20 Aug 2014 13:10:37 +0000 (17:10 +0400)]
VIGS: Disable blending by default

Change-Id: Ib2d9f4bdbfe76be58964c78e7c8da958bdd71630
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS: Support YUV420 planar format 62/26362/1
Stanislav Vorobiov [Fri, 4 Jul 2014 13:37:21 +0000 (17:37 +0400)]
VIGS: Support YUV420 planar format

Change-Id: If015f4e6fece5c2d1463c0428565ad3e46083a5d
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS: Support planar pixel formats 61/26361/1
Stanislav Vorobiov [Mon, 16 Jun 2014 15:44:07 +0000 (19:44 +0400)]
VIGS: Support planar pixel formats

Planar pixel formats such as NV21 need to be
supported in order to be able to play video right
from decoder's output buffer, i.e. without
converting it to RGB. This is implemented via fragment
shader that takes Y and CbCr channels from two different
textures and combines them into a single RGB image

Change-Id: Ic4ba78fda7f077a05c1524313a31b1ba79e46f72
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoVIGS: Support underlays and alpha blending 60/26360/1
Stanislav Vorobiov [Tue, 1 Apr 2014 15:44:36 +0000 (19:44 +0400)]
VIGS: Support underlays and alpha blending

z-pos of planes has new meaning, if
it's >= 0 - plane is an overlay, i.e. it's layered
above root surface. if z-pos is < 0 - plane is underlay,
i.e. it's layered beneath the root surface. This new
logic has no meaning without alpha blending, so it's
supported as well (for all types of planes)

Change-Id: I61a80b48a1ef6c486fc83d0190d0bd5c1b7d4472
Signed-off-by: Stanislav Vorobiov <s.vorobiov@samsung.com>
10 years agoMerge "codec: remove unused module" into tizen
SeokYeon Hwang [Tue, 19 Aug 2014 04:25:00 +0000 (21:25 -0700)]
Merge "codec: remove unused module" into tizen

10 years agoMerge "brillcodec: clean-up source" into tizen
SeokYeon Hwang [Tue, 19 Aug 2014 02:17:51 +0000 (19:17 -0700)]
Merge "brillcodec: clean-up source" into tizen

10 years agoMerge "brillcodec: remove redundant memory copy when decoding video" into tizen
SeokYeon Hwang [Tue, 19 Aug 2014 02:17:32 +0000 (19:17 -0700)]
Merge "brillcodec: remove redundant memory copy when decoding video" into tizen

10 years agoMerge "tethering: remove redundant source when copying ip address." into tizen
SeokYeon Hwang [Mon, 11 Aug 2014 09:04:46 +0000 (02:04 -0700)]
Merge "tethering: remove redundant source when copying ip address." into tizen

10 years agobrillcodec: clean-up source 19/25319/5
SeokYeon Hwang [Sat, 2 Aug 2014 09:21:05 +0000 (18:21 +0900)]
brillcodec: clean-up source

brillcodec is separated into two source files.
Using macro to get a proper codec context.

Change-Id: I5dfc4f0707b5cf6d98653b65ab8b121ea48f5121
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agocodec: remove unused module 92/25592/1
Kitae Kim [Thu, 7 Aug 2014 07:58:50 +0000 (16:58 +0900)]
codec: remove unused module

codec device has been replaced into brillcodec.
In addition to this, its source does not need to maintain any more.

Change-Id: I6451ab43eb6c84b75a45dfbf17183f8e19812b51
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: improve error cases. 56/25556/2
Kitae Kim [Thu, 7 Aug 2014 04:56:21 +0000 (13:56 +0900)]
tethering: improve error cases.

 - null pointer dereferences
 - control flow issues
 - integer handling issues

Change-Id: I9338e0997f86f62e014df972404320277c42a31b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: convert sensor values before sending ecs. 55/25555/2
Kitae Kim [Tue, 5 Aug 2014 13:10:26 +0000 (22:10 +0900)]
tethering: convert sensor values before sending ecs.

Sensor values from App side have to be converted before sending ecs
because ecs_sensor does not calculate gyro or acceleration value any more.

Change-Id: I89be76cd2f2ff64f55faaf50ea5cd8f14561d783
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobrillcodec: remove redundant memory copy when decoding video 18/25318/3
SeokYeon Hwang [Sat, 2 Aug 2014 08:43:31 +0000 (17:43 +0900)]
brillcodec: remove redundant memory copy when decoding video

This patch improve performance when playing HD+ video.
Remove maru_brill_codec_get_picture_size() function. We use avpicture_get_size() and avpicture_fill() instead.

Change-Id: I7b09157ee5351836c1e37862222c3042b34fb9da
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agotethering: remove redundant source when copying ip address. 05/25505/2
Kitae Kim [Wed, 6 Aug 2014 08:17:09 +0000 (17:17 +0900)]
tethering: remove redundant source when copying ip address.

Change-Id: I528aa0886cccf746ca928390da930bf07ec5bccc
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "sdb: fix sdbd port to a dynamic number" into tizen
Yoonki Park [Wed, 6 Aug 2014 04:30:09 +0000 (21:30 -0700)]
Merge "sdb: fix sdbd port to a dynamic number" into tizen

10 years agosdb: fix sdbd port to a dynamic number 66/25466/1
Alice Liu [Tue, 5 Aug 2014 11:12:49 +0000 (19:12 +0800)]
sdb: fix sdbd port to a dynamic number

Currently sdbd port is a dynamic number which depends
on the parameter of sdbd '--listen-port' option. The
sdbd port in the first emulator is diffrent from that
in the second emulator. This patch fixes the issue
that the second emulator cannot be recognized.

Signed-off-by: Alice Liu <alice.liu@intel.com>
Change-Id: Ic034283d0029c03fd835320104506bd9129eed90

10 years agoMerge "tethering: handle hwkey event and source clean-up" into tizen
Sangho Park [Tue, 5 Aug 2014 11:16:26 +0000 (04:16 -0700)]
Merge "tethering: handle hwkey event and source clean-up" into tizen

10 years agoMerge "virtio-9p: fix compilation errors on Windows" into tizen
Sangho Park [Tue, 5 Aug 2014 11:16:14 +0000 (04:16 -0700)]
Merge "virtio-9p: fix compilation errors on Windows" into tizen

10 years agotethering: handle hwkey event and source clean-up 42/25342/1
Kitae Kim [Fri, 1 Aug 2014 06:06:52 +0000 (15:06 +0900)]
tethering: handle hwkey event and source clean-up

Change-Id: Ic1d794b8e136417e6ed2aae0a02af1082f194745
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agovirtio-9p: fix compilation errors on Windows 24/25324/2
Kitae Kim [Mon, 4 Aug 2014 02:16:38 +0000 (11:16 +0900)]
virtio-9p: fix compilation errors on Windows

Change-Id: I568a19ba46e8f0c9b9c92ef8c3e82ff294c02ff9
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agoemulator: enhance Makefile for standalone executables 22/25322/3
SeokYeon Hwang [Sun, 3 Aug 2014 07:51:09 +0000 (16:51 +0900)]
emulator: enhance Makefile for standalone executables

Build targets only if source files are modified.
Clean-up CFLAGS, LDFLAGS for standalone executalbes.

Change-Id: I139e3b8b0f9f6983d1a2f3388ad0ec00be63cb00
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "ecs: Add location data set/get" into tizen
Sangho Park [Sun, 3 Aug 2014 04:47:30 +0000 (21:47 -0700)]
Merge "ecs: Add location data set/get" into tizen

10 years agoMerge "log: fix runtime error and MacOS build fail" into tizen
SeokYeon Hwang [Fri, 1 Aug 2014 12:05:48 +0000 (05:05 -0700)]
Merge "log: fix runtime error and MacOS build fail" into tizen

10 years agomaru_shm: fix compilation error on Mac OS X. 86/25286/1
Kitae Kim [Fri, 1 Aug 2014 10:19:50 +0000 (19:19 +0900)]
maru_shm: fix compilation error on Mac OS X.

function prototypes are missing in maru_shm

Change-Id: Ib0ffee36ab08f2fee217fb906de5810360bd10b2
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agolog: fix runtime error and MacOS build fail 72/25272/2
Sooyoung Ha [Fri, 1 Aug 2014 06:31:33 +0000 (15:31 +0900)]
log: fix runtime error and MacOS build fail

Change-Id: I80581c8810595dd6166989b8a609c5de9031470d
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agoMerge changes Ib696c4af,I3589de6d into tizen
SeokYeon Hwang [Fri, 1 Aug 2014 06:00:08 +0000 (23:00 -0700)]
Merge changes Ib696c4af,I3589de6d into tizen

* changes:
  emulator: fix issue that skin is not started on MacOS
  HAX: fix performance degradation on HAX

10 years agoemulator: fix issue that skin is not started on MacOS 50/25250/2
SeokYeon Hwang [Fri, 1 Aug 2014 04:14:27 +0000 (13:14 +0900)]
emulator: fix issue that skin is not started on MacOS

Change-Id: Ib696c4afceab66338779d402bc1bb337bd6400a8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge changes I13497642,Ied85db82 into tizen
SeokYeon Hwang [Fri, 1 Aug 2014 05:39:02 +0000 (22:39 -0700)]
Merge changes I13497642,Ied85db82 into tizen

* changes:
  tethering: fix connection failure case.
  tethering: provide a function to get framebuffer on Mac OS X.

10 years agoMerge "brillcodec: remove useless memory copy." into tizen
SeokYeon Hwang [Fri, 1 Aug 2014 05:38:07 +0000 (22:38 -0700)]
Merge "brillcodec: remove useless memory copy." into tizen

10 years agoHAX: fix performance degradation on HAX 49/25249/1
SeokYeon Hwang [Fri, 1 Aug 2014 04:04:32 +0000 (13:04 +0900)]
HAX: fix performance degradation on HAX

HAX should listen to only main memory address space.
This patch would enhance performance on Windows and MacOS.

Change-Id: I3589de6db5846329314cfb3ed98f17355efe4fe7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agolog: modify some emulator.log formats. 99/25199/5
Sooyoung Ha [Thu, 31 Jul 2014 07:49:00 +0000 (16:49 +0900)]
log: modify some emulator.log formats.

add the microsecond time to output format.
add the thread id to output format.

Change-Id: I23247dfdd76481b9f8bd21a6000aa835459ed8ad
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agobrillcodec: remove useless memory copy. 18/25218/2
Kitae Kim [Thu, 31 Jul 2014 09:24:30 +0000 (18:24 +0900)]
brillcodec: remove useless memory copy.

Unnecessary memcpy operations occur while decoding video.
It causes performance degradation in emulator.

Change-Id: I7d5fb346ed56d0835f43ccc63a0937080e3712e1
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "debugch: Fix DEBUGCH and open flag" into tizen
SeokYeon Hwang [Thu, 31 Jul 2014 06:04:15 +0000 (23:04 -0700)]
Merge "debugch: Fix DEBUGCH and open flag" into tizen

10 years agoMerge "skin: detect a system settings change" into tizen
SeokYeon Hwang [Thu, 31 Jul 2014 05:46:37 +0000 (22:46 -0700)]
Merge "skin: detect a system settings change" into tizen

10 years agoMerge "tethering: add a function to get framebuffer in maru_sdl." into tizen
SeokYeon Hwang [Thu, 31 Jul 2014 05:17:35 +0000 (22:17 -0700)]
Merge "tethering: add a function to get framebuffer in maru_sdl." into tizen

10 years agoMerge "build: add pkgconfig path of libpng to build qemu on DIBS of Mac OS X." into...
SeokYeon Hwang [Thu, 31 Jul 2014 05:17:24 +0000 (22:17 -0700)]
Merge "build: add pkgconfig path of libpng to build qemu on DIBS of Mac OS X." into tizen

10 years agoMerge "tethering: fix connection routine." into tizen
SeokYeon Hwang [Thu, 31 Jul 2014 05:17:08 +0000 (22:17 -0700)]
Merge "tethering: fix connection routine." into tizen

10 years agotethering: fix connection failure case. 89/25189/2
Kitae Kim [Thu, 31 Jul 2014 02:40:15 +0000 (11:40 +0900)]
tethering: fix connection failure case.

when connection is failure, it will escape the while loop.

Change-Id: I134976425971f6552b7787d8357424de4b40737d
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: provide a function to get framebuffer on Mac OS X. 88/25188/1
Kitae Kim [Thu, 31 Jul 2014 02:30:39 +0000 (11:30 +0900)]
tethering: provide a function to get framebuffer on Mac OS X.

maru_shm module is used to draw display instead of maru_sdl on Mac OS X.
so, add a function for extracting framebuffer from display.

Change-Id: Ied85db82eef38d2856c60b521ac0490959e3f507
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agodebugch: Fix DEBUGCH and open flag 36/25136/1
Munkyu Im [Wed, 30 Jul 2014 07:49:52 +0000 (16:49 +0900)]
debugch: Fix DEBUGCH and open flag

Add O_APPEND to support writing stdout, stderr logs.
Set global variable for checking initailize earlier.
So succeded to read DEBUGCH file now.

Change-Id: I9eaef10ce81e138b613223417985acf27533b7bc
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agotethering: add a function to get framebuffer in maru_sdl. 41/25041/7
Kitae Kim [Mon, 28 Jul 2014 02:40:46 +0000 (11:40 +0900)]
tethering: add a function to get framebuffer in maru_sdl.

When request_screenshot function is called by tethering module
it makes qemu update display. So, this function has to be implemented
to extract framebuffer because of unnecessary display update.

Change-Id: I642119a430261f0176be47445b3b6fe5630920cc
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agotethering: fix connection routine. 40/25040/4
Kitae Kim [Tue, 22 Jul 2014 07:53:05 +0000 (16:53 +0900)]
tethering: fix connection routine.

When client socket connects to server, connection routine was not enough
to handle some error cases, EALREADY or EISCONN.

Change-Id: I2117bebdc04d3d079c577df3856f8a7952eba624
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agobuild: add pkgconfig path of libpng to build qemu on DIBS of Mac OS X. 67/25067/1
Kitae Kim [Mon, 28 Jul 2014 12:24:28 +0000 (21:24 +0900)]
build: add pkgconfig path of libpng to build qemu on DIBS of Mac OS X.

This modification is required to pass libpng pkg-config at configure time.

Change-Id: I9451275b0c65c87cf755312e67117cbaffb70d67
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoskin: detect a system settings change 37/25037/1
GiWoong Kim [Fri, 25 Jul 2014 06:31:59 +0000 (15:31 +0900)]
skin: detect a system settings change

The detecting of host system settings change is not
interested on Windows.

Change-Id: Ic5dbed6b3686467fca92ee4aeb5819dbfb9a5c7e
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
(cherry picked from commit d1179936f7218761027e276d93176fc8cf670780)

10 years agobuild: add libpng and change loader path of it on Mac OS X. 83/24883/1
Kitae Kim [Wed, 23 Jul 2014 09:46:35 +0000 (18:46 +0900)]
build: add libpng and change loader path of it on Mac OS X.

libpng is required when tethering module compresses display image.

Change-Id: Ieb16a8862f148ff934c9353ad073338b4f420181
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoecs: Add location data set/get 77/24877/1
Munkyu Im [Wed, 23 Jul 2014 09:25:59 +0000 (18:25 +0900)]
ecs: Add location data set/get

store location data in ecs.
When client needs location data, hand this value over.
change strncmp to strcmp.

Change-Id: I9bdcc17399ddefabbbe70ee3ff5b30f0c321fd60
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
10 years agopackage: version up 98/24798/1
Kitae Kim [Tue, 22 Jul 2014 07:28:35 +0000 (16:28 +0900)]
package: version up

2.0.6

Change-Id: If8fe3ea9ff8d871999e84e529da95c6fd236089e
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoMerge "tethering: apply new debug channel" into tizen
SeokYeon Hwang [Mon, 21 Jul 2014 01:48:40 +0000 (18:48 -0700)]
Merge "tethering: apply new debug channel" into tizen

10 years agoMerge "display: fix compilation error when SDL and SHM are both disabled" into tizen
SeokYeon Hwang [Sat, 19 Jul 2014 03:36:19 +0000 (20:36 -0700)]
Merge "display: fix compilation error when SDL and SHM are both disabled" into tizen

10 years agoMerge "Add "-Wno-error=redundant-decls" on Windows" into tizen
SeokYeon Hwang [Sat, 19 Jul 2014 03:35:48 +0000 (20:35 -0700)]
Merge "Add "-Wno-error=redundant-decls" on Windows" into tizen

10 years agotethering: apply new debug channel 77/24677/1
Kitae Kim [Fri, 18 Jul 2014 02:59:30 +0000 (11:59 +0900)]
tethering: apply new debug channel

Change-Id: Idf659c6227ac38f126783a548564e034b2b45a32
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agodisplay: fix compilation error when SDL and SHM are both disabled 29/24629/2
SeokYeon Hwang [Wed, 16 Jul 2014 12:43:03 +0000 (21:43 +0900)]
display: fix compilation error when SDL and SHM are both disabled

Change-Id: Ie49c216469197a53383ef1f5403934c252122272
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "sensors: added rotation vector" into tizen
SeokYeon Hwang [Thu, 17 Jul 2014 10:30:41 +0000 (03:30 -0700)]
Merge "sensors: added rotation vector" into tizen

10 years agoAdd "-Wno-error=redundant-decls" on Windows 14/24614/1
SeokYeon Hwang [Thu, 17 Jul 2014 08:20:12 +0000 (17:20 +0900)]
Add "-Wno-error=redundant-decls" on Windows

Change-Id: I1066f96ef997de154f0d85eea87ab601bacd7dd1
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "emulator: clean up vmodem source and .gitignore" into tizen
SeokYeon Hwang [Wed, 16 Jul 2014 13:10:00 +0000 (06:10 -0700)]
Merge "emulator: clean up vmodem source and .gitignore" into tizen

10 years agoMerge "tethering: support display feature." into tizen
SeokYeon Hwang [Wed, 16 Jul 2014 13:09:43 +0000 (06:09 -0700)]
Merge "tethering: support display feature." into tizen

10 years agoemulator: fix some compilation warnings on Windows 73/24473/5
SeokYeon Hwang [Tue, 15 Jul 2014 07:05:28 +0000 (16:05 +0900)]
emulator: fix some compilation warnings on Windows

Fix compilation warnings -Wpointer-to-int-cast, -Wint-to-pointor-cast.

Change-Id: I85d9063e7d89d88a27da7e90d76c1b8bd6a11fc8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agosensors: added rotation vector 40/24540/3
Jinhyung Choi [Wed, 16 Jul 2014 07:19:22 +0000 (16:19 +0900)]
sensors: added rotation vector

- removed adjust values for accel & gyro
- skin rotation vector sensor value is applied.

Change-Id: Id026aef9895584b304041858028c03cde3da802c
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoemulator: clean up vmodem source and .gitignore 97/24497/2
Sooyoung Ha [Tue, 15 Jul 2014 10:57:26 +0000 (19:57 +0900)]
emulator: clean up vmodem source and .gitignore

use new_debug_ch and add device initialization check
before send queue on maru_virtio_vmodem.c
modify .gitignore file for check-hax and check-cam

Change-Id: I5d546e7c2d23975f37922c3d206817955fcba38e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agotethering: support display feature. 88/24488/5
Kitae Kim [Tue, 15 Jul 2014 07:16:12 +0000 (16:16 +0900)]
tethering: support display feature.

When app on server side request display update,
emulator sends encoded framebuffer to it.

Change-Id: I1e65404a74b4a7871224e577c9fc4750c5489553
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agoemulator: apply strict policies on compilation warnings on Windows 68/24468/4
SeokYeon Hwang [Tue, 15 Jul 2014 05:55:24 +0000 (14:55 +0900)]
emulator: apply strict policies on compilation warnings on Windows

enable -Werror except for -Wformat, -Wformat-extra-args, -Wpointer-to-int-cast, -Wint-to-pointor-cast.

Change-Id: I79a7f3a9678d3321c4989333f07f9eec4ba0522e
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "virtio-9p: apply the upstream change." into tizen
SeokYeon Hwang [Tue, 15 Jul 2014 01:48:07 +0000 (18:48 -0700)]
Merge "virtio-9p: apply the upstream change." into tizen

10 years agoMerge "brillcodec: fix audio encoder" into tizen
SeokYeon Hwang [Tue, 15 Jul 2014 01:47:55 +0000 (18:47 -0700)]
Merge "brillcodec: fix audio encoder" into tizen

10 years agoemulator: enable "-Werror" sophisticatedly on MacOS 31/24431/2
SeokYeon Hwang [Mon, 14 Jul 2014 09:29:20 +0000 (18:29 +0900)]
emulator: enable "-Werror" sophisticatedly on MacOS

Change-Id: I4c3cc6739db264f3dd4cf35d7a041b35dc5d6f1a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: move get_log_path(), get_bin_path() to emul_state 30/24430/2
SeokYeon Hwang [Mon, 14 Jul 2014 09:18:58 +0000 (18:18 +0900)]
emulator: move get_log_path(), get_bin_path() to emul_state

Change-Id: Ie41921003dc6c191a44c83600bb26901c1c2d5b7
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobrillcodec: fix audio encoder 21/24421/2
Kitae Kim [Mon, 14 Jul 2014 06:01:24 +0000 (15:01 +0900)]
brillcodec: fix audio encoder

The audio encoder has not tested completely since upgrading libav 9.8.
AAC encoder on libav 9.8 supports only float planar format,
but tizen audio sink can handle only int format.
That is why audio resampling is necessary before encoding audio.

Change-Id: I365dd0a85d2acf43add45574e5588dde3b5802f5
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
10 years agovirtio-9p: apply the upstream change. 50/24350/5
Sooyoung Ha [Fri, 11 Jul 2014 03:50:43 +0000 (12:50 +0900)]
virtio-9p: apply the upstream change.

virtio-9p-local-maru.c is based on virtio-9p-local.c.
apply the original change to clone file.

Change-Id: Ic57b76b3ae8a094e31fd57419fe7f0cd47cbd1d4
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agoemulator_option: enhance scripts and error reporting 15/24415/1
SeokYeon Hwang [Sun, 13 Jul 2014 08:14:09 +0000 (17:14 +0900)]
emulator_option: enhance scripts and error reporting

Prevent duplicated reporting.
Use default conf file if no options provided.

Change-Id: Ib9e335b6ef18c5e68c9dc9f42c4e3de755f431bf
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: fix Makefile uses invalid path on DIBS
SeokYeon Hwang [Fri, 11 Jul 2014 05:10:28 +0000 (14:10 +0900)]
build: fix Makefile uses invalid path on DIBS

Change-Id: I8f49b2fd366bd8ee80c2d0f8c05c4efb74fc407b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agodarwin: avoid "-Wmissing-selector-name" warning
SeokYeon Hwang [Fri, 11 Jul 2014 05:02:29 +0000 (14:02 +0900)]
darwin: avoid "-Wmissing-selector-name" warning

Change-Id: I4b54bed18dd8a32c8b7d9f10a1b84f866f180418
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoosutil: remove "inline" from download_url()
SeokYeon Hwang [Fri, 11 Jul 2014 04:28:00 +0000 (13:28 +0900)]
osutil: remove "inline" from download_url()

Remove "inline" from download_url() to avoid "-Wstatic-in-inline" warning.

Change-Id: I820b90c5c27a858e9db0f7919d1f00f1f4553508
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "build: apply -Werror on MacOS" into tizen
SeokYeon Hwang [Fri, 11 Jul 2014 02:25:54 +0000 (19:25 -0700)]
Merge "build: apply -Werror on MacOS" into tizen

10 years agoMerge "package: add prerequisites" into tizen
SeokYeon Hwang [Fri, 11 Jul 2014 02:25:38 +0000 (19:25 -0700)]
Merge "package: add prerequisites" into tizen

10 years agoMerge "emulator: clean-up sources and headers" into tizen
SeokYeon Hwang [Thu, 10 Jul 2014 10:55:04 +0000 (03:55 -0700)]
Merge "emulator: clean-up sources and headers" into tizen

10 years agoMerge "emulator: add scripts for launching emulator" into tizen
SeokYeon Hwang [Thu, 10 Jul 2014 10:54:47 +0000 (03:54 -0700)]
Merge "emulator: add scripts for launching emulator" into tizen

10 years agopackage: add prerequisites 63/24063/5
haken kim [Tue, 8 Jul 2014 11:41:26 +0000 (20:41 +0900)]
package: add prerequisites

add preRequisites in each qemu-common for ubuntu

Change-Id: I84179f498ca7c17b04f3a26a5760679f87bece66
Signed-off-by: haken kim <haken.kim@samsung.com>
10 years agobuild: apply -Werror on MacOS 98/24298/1
SeokYeon Hwang [Thu, 10 Jul 2014 07:35:59 +0000 (16:35 +0900)]
build: apply -Werror on MacOS

Remove warnings on MacOS with clang.
Apply -Werror on MacOS. We can't use "--enable-werror" option because "#pragma GCC diagnostic ..." is failed when configuring.

Change-Id: Iab9b9ffec241a7120463957617cfa6e0dc0eb403
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: clean-up sources and headers 95/24295/6
SeokYeon Hwang [Thu, 10 Jul 2014 06:06:16 +0000 (15:06 +0900)]
emulator: clean-up sources and headers

emulator.*: remove unnecessary "DEFINE".
new_debug_ch.*: use GLIB functions.
osutil*: fix redundant stack usage.

Change-Id: I2f0d53342e2cb96ec136e89f3637e4d50dbabf03
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: add scripts for launching emulator 27/24227/2
SeokYeon Hwang [Wed, 9 Jul 2014 07:32:37 +0000 (16:32 +0900)]
emulator: add scripts for launching emulator

Change-Id: I424ab65983c9d34c59d64fd92772ad5d20baf58f
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge "emulator: clean-up some headers and sources" into tizen
SeokYeon Hwang [Wed, 9 Jul 2014 06:08:41 +0000 (23:08 -0700)]
Merge "emulator: clean-up some headers and sources" into tizen

10 years agoMerge "emulator: use new debug_ch" into tizen
Sangho Park [Wed, 9 Jul 2014 05:00:40 +0000 (22:00 -0700)]
Merge "emulator: use new debug_ch" into tizen

10 years agoMerge "debug_ch: debug_ch is massively refactored" into tizen
Sangho Park [Wed, 9 Jul 2014 05:00:19 +0000 (22:00 -0700)]
Merge "debug_ch: debug_ch is massively refactored" into tizen

10 years agoemulator: clean-up some headers and sources 19/24219/1
SeokYeon Hwang [Wed, 9 Jul 2014 04:40:43 +0000 (13:40 +0900)]
emulator: clean-up some headers and sources

Rename "maru_common.h" to "emulator_common.h".
Remove unnecessary headers.
Remove "guest_debug.h".

Change-Id: I98b4fcf5c3205e4a537685a168f761a749dbd34b
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoemulator: use new debug_ch 38/24038/1
SeokYeon Hwang [Tue, 8 Jul 2014 07:09:42 +0000 (16:09 +0900)]
emulator: use new debug_ch

Change-Id: I8de7494182494906a07b0439d98486eb1693edca
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agodebug_ch: debug_ch is massively refactored 24/23924/7
Munkyu Im [Fri, 4 Jul 2014 09:55:35 +0000 (18:55 +0900)]
debug_ch: debug_ch is massively refactored

1. New debug_ch has new log levels.
SEVERE, WARN, INFO, CONFIG, FINE, TRACE
2. Use LOG_[LEVEL](...) instead of [LEVEL](...). Legacy macro names can conflict other macro names. Some weird compilation error is occured because of it.
(legacy ERR macro unset existing ERR macro)
2. Remove multi debug channel because it is not used.
3. "debug_ch.h" has legacy log levels for compatibility.
4. Remove ASSERT macro.

Use new debug_ch instead of legacy one when you modify your sources.

Change-Id: Ie2ce25a5222c479897c13473e25a1ee3b3fd5d52
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agomenu: modified Shell menu command 00/24000/1
GiWoong Kim [Fri, 4 Jul 2014 04:47:53 +0000 (13:47 +0900)]
menu: modified Shell menu command

modified Shell menu command
added some disposing check

Change-Id: I495de9bf5ee23e7e508bd562f0c439a1812fd9db
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
10 years agoMerge "emulator: some error reporting routine is refactored" into tizen
Sangho Park [Sun, 6 Jul 2014 06:56:19 +0000 (23:56 -0700)]
Merge "emulator: some error reporting routine is refactored" into tizen

10 years agoemulator: some error reporting routine is refactored 25/23925/6
SeokYeon Hwang [Fri, 4 Jul 2014 10:08:42 +0000 (19:08 +0900)]
emulator: some error reporting routine is refactored

maru_register_exit_msg() can accept variable arguments.
Remove maru_convert_path(), Add get_canonical_path().

Change-Id: I7975510cfb34a0bbb633df5a74ffce21922c0c92
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
10 years agogyro sensor: default value as 0 0 1 (degrees/s) 05/23705/2
Jinhyung Choi [Wed, 2 Jul 2014 01:20:19 +0000 (10:20 +0900)]
gyro sensor: default value as 0 0 1 (degrees/s)

Change-Id: I3c9fb54ae8f7e52774f1c04d9cdcb955a2d61b4b
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agoMerge "sdb noti server: migrated into sdb" into tizen
SeokYeon Hwang [Fri, 4 Jul 2014 02:21:18 +0000 (19:21 -0700)]
Merge "sdb noti server: migrated into sdb" into tizen

10 years agoMerge "9pfs: use event_notifier instead of qemu_pipe" into tizen
SeokYeon Hwang [Thu, 3 Jul 2014 12:15:33 +0000 (05:15 -0700)]
Merge "9pfs: use event_notifier instead of qemu_pipe" into tizen

10 years agoMerge "qemu-char: modify logic for kernel logging" into tizen
SeokYeon Hwang [Thu, 3 Jul 2014 12:15:15 +0000 (05:15 -0700)]
Merge "qemu-char: modify logic for kernel logging" into tizen

10 years agobuild: fix build break on MacOS
SeokYeon Hwang [Thu, 3 Jul 2014 11:57:45 +0000 (20:57 +0900)]
build: fix build break on MacOS

Change-Id: I0ed7c4d0a479d94b3588e81e8dfae8ccb9bcb3fa
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agobuild: package version up (2.0.4) 19/23819/1
SeokYeon Hwang [Thu, 3 Jul 2014 11:48:44 +0000 (20:48 +0900)]
build: package version up (2.0.4)

Change-Id: Iddd47ef750ee0c9d3a60dfcf78ccccdece2385f4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agoMerge changes I83f2e127,I480b179c into tizen
SeokYeon Hwang [Thu, 3 Jul 2014 05:06:27 +0000 (22:06 -0700)]
Merge changes I83f2e127,I480b179c into tizen

* changes:
  build: fix check-cam build error on Windows
  emulator: clean-up legacy board init

10 years agoqemu-char: modify logic for kernel logging 45/23745/1
SeokYeon Hwang [Wed, 2 Jul 2014 09:49:28 +0000 (18:49 +0900)]
qemu-char: modify logic for kernel logging

Using "CreateFile()" to open log file on Windows.

Change-Id: Iea947257373c980c08f019b5690f789f157c2a14
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years agosdb noti server: migrated into sdb 04/23704/2
Jinhyung Choi [Wed, 2 Jul 2014 01:17:23 +0000 (10:17 +0900)]
sdb noti server: migrated into sdb

- bug fixed (uninitialized variable)

Change-Id: I74bde4a954c94a86cec0265d2e525c09d9025d49
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
10 years agofix bug: qemu crash when entering lock mode (TC-286) 23/23723/1
Tina Zhang [Wed, 2 Jul 2014 06:41:36 +0000 (14:41 +0800)]
fix bug: qemu crash when entering lock mode (TC-286)

When qemu is entering lock mode, it's better to use asyncExec to run the
runnable. Because it won't block the whole process to communicate with the
emulator process. If the communication is blocked, the qemu will crash.

Change-Id: Ifeaab44cf89d8a847b2237e59413c2445d419535
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
10 years agobuild: fix check-cam build error on Windows 17/23717/1
SeokYeon Hwang [Wed, 2 Jul 2014 06:01:04 +0000 (15:01 +0900)]
build: fix check-cam build error on Windows

Change-Id: I83f2e12793b8af5c3d0142e8adae0dbff627a84a
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
10 years ago9pfs: use event_notifier instead of qemu_pipe 66/23666/3
SeokYeon Hwang [Tue, 1 Jul 2014 08:12:05 +0000 (17:12 +0900)]
9pfs: use event_notifier instead of qemu_pipe

Change-Id: I5b2c51ef18849fa6f29e126ef889dcff86cad645
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>