From 20a3fc6dafaa82e84eb1d2ad84d4c27f0fd9ca1f Mon Sep 17 00:00:00 2001 From: Hyunil Date: Tue, 14 Jul 2020 10:52:13 +0900 Subject: [PATCH] [MediaStreamer/TM1] Add use zerocopy type - If this value is set, MediaStreamer use zerocopy format for camerasrc output and h/w encoder input and MEDIA_STREAMER_NODE_TYPE_VIDEO_ENCODER exclude video convert and scale Change-Id: I2de554c1d09dd159fd455ea1859ca59680866c61 Signed-off-by: Hyunil --- .../etc/multimedia/mmfw_media_streamer.ini | 4 +++- packaging/mmfw-sysconf.spec | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mmfw-sysconf-target-tm1/etc/multimedia/mmfw_media_streamer.ini b/mmfw-sysconf-target-tm1/etc/multimedia/mmfw_media_streamer.ini index 2d71687..5620a73 100644 --- a/mmfw-sysconf-target-tm1/etc/multimedia/mmfw_media_streamer.ini +++ b/mmfw-sysconf-target-tm1/etc/multimedia/mmfw_media_streamer.ini @@ -8,7 +8,7 @@ use decodebin = yes ; comma separated list of element names which ; will not be used in autoplug mode -exclude elements = v4l2video,v4l2h264,omx,sprd +exclude elements = v4l2video,v4l2h264,omx,sprddec ; comma separated list of element names which ; will require resources in autoplug mode @@ -18,6 +18,8 @@ resource elements = omx,sprd ; that will pass to gst_init gstreamer arguments = --gst-debug=2 +; camerasrc and h/w encoder use zero copy +use zerocopy = yes ;MEDIA_STREAMER_NODE_TYPE_SRC [node type 1] diff --git a/packaging/mmfw-sysconf.spec b/packaging/mmfw-sysconf.spec index de46232..065ec08 100644 --- a/packaging/mmfw-sysconf.spec +++ b/packaging/mmfw-sysconf.spec @@ -1,6 +1,6 @@ Name: mmfw-sysconf Summary: Multimedia Framework system configuration package -Version: 0.2.168 +Version: 0.2.169 Release: 0 Group: Multimedia/Configuration License: LGPL-2.1 and Apache-2.0 -- 2.34.1