diff options
author | Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> | 2017-12-06 15:52:15 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-12-08 14:06:55 +0000 |
commit | ea5dc9d8f3a51f07a09cf60446bfe915eff9157b (patch) | |
tree | c9f2f821082ed082d44473d468a185d255fa69cb /recipes-graphics/wayland | |
parent | 68b55dc5d4a71a762ee849aedf243626bee4c9e9 (diff) |
weston-ini-conf: Add virtual display and record for CES2017 demo
In order to support IVI-Cluster demo, virtual display and
gst-recorder parameter are set in weston.ini.
If you want to use virtual output system, set "virtual-display"
in DISTRO_FEATURES. Then the sample value is enabled.
If you want to use transfer system to multi ECU via H.264,
set "gst-record" in DISTRO_FEATURES.
This feature is commited to DD[1]. After that he weston-ini-conf
is updated. This commit is same result as that time.
Note:
These system are supported in R-Car M3 and H3 only.
[1] https://gerrit.automotivelinux.org/gerrit/#/c/9907/
[2] https://gerrit.automotivelinux.org/gerrit/#/c/10847/
Change-Id: I1f7b9af5dc0e459aa49d336ed5ba0cebaf8adab2
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Diffstat (limited to 'recipes-graphics/wayland')
-rw-r--r-- | recipes-graphics/wayland/weston-ini-conf.bbappend | 15 | ||||
-rw-r--r-- | recipes-graphics/wayland/weston-ini-conf/virtualoutput.cfg | 7 |
2 files changed, 22 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston-ini-conf.bbappend b/recipes-graphics/wayland/weston-ini-conf.bbappend new file mode 100644 index 000000000..2f155c022 --- /dev/null +++ b/recipes-graphics/wayland/weston-ini-conf.bbappend @@ -0,0 +1,15 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +# +SRC_URI += "${@bb.utils.contains("DISTRO_FEATURES", "virtual-display", "file://virtualoutput.cfg", "",d)}" + +do_configure_append() { + if [ ${@bb.utils.contains('DISTRO_FEATURES', 'virtual-display', 'true', 'false', d)} ]; then + echo virtual=1 >> ${WORKDIR}/core.cfg + fi + + if [ ${@bb.utils.contains('DISTRO_FEATURES', 'gst-record', 'true', 'false', d)} ]; then + echo recorder=true >> ${WORKDIR}/virtualoutput.cfg + fi +} + diff --git a/recipes-graphics/wayland/weston-ini-conf/virtualoutput.cfg b/recipes-graphics/wayland/weston-ini-conf/virtualoutput.cfg new file mode 100644 index 000000000..76f536ff8 --- /dev/null +++ b/recipes-graphics/wayland/weston-ini-conf/virtualoutput.cfg @@ -0,0 +1,7 @@ +[output] +name=virtual1 +mode=1920x1080@30 +ip=192.168.20.99 +port=5005 +bitrate=3000000 +crop=384x368@0x0 |