Reduce string comparisons in ms_node_set[get]_param_value() 77/239277/4
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 23 Jul 2020 08:23:39 +0000 (17:23 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 27 Jul 2020 06:26:41 +0000 (15:26 +0900)
commitee3df5309bc49a8a6049ae529f182cdd5d1faa2d
tree9c75365bca3fd0bd676b89bbca10d019da18ab5d
parent70997d59e86e91e9d46ce09844a401338f019803
Reduce string comparisons in ms_node_set[get]_param_value()

The param_s structure now has been changed.
 - origin_name is renamed to prop_name.
 - enumeration for the prop_name and data_type are added.

These new members are set in param_table[] in media_streamer
_node.c. These are used to remove numerous string comparisons.

[Version] 0.1.101
[Issue Type] Refactoring

Change-Id: Iaab8cb68dbf6aeb81675b70e2393cc0de8c8cbe4
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/media_streamer_priv.h
packaging/capi-media-streamer.spec
src/media_streamer_node.c