[IIO] Custom channel index number as input
authorParichay Kapoor <pk.kapoor@samsung.com>
Wed, 10 Apr 2019 05:25:33 +0000 (14:25 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 12 Apr 2019 07:27:53 +0000 (16:27 +0900)
commit313cadedfacb497eab462c364dce983a40aa3656
tree64c71731ea022fdab2a56f665536e4d663a55305
parent3a9ae30b0b86cdb0cc2664449376f8ec9aa42a57
[IIO] Custom channel index number as input

Added the option for user to specify custom channel number as input
to enable specific channels.
Added test case for custom channel index as well.

V2:
Using hash table for custom channel setting

V3:
Updated property description spec with better format

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
gst/nnstreamer/tensor_source/tensor_src_iio.c
gst/nnstreamer/tensor_source/tensor_src_iio.h
tests/nnstreamer_source/unittest_src_iio.cpp