[Repo/Push] Use Has Table to handle repo & add slot_id property
authorjijoong.moon <jijoong.moon@samsung.com>
Wed, 21 Nov 2018 01:46:32 +0000 (10:46 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Tue, 27 Nov 2018 09:36:23 +0000 (09:36 +0000)
commitc31547e269a1ac1e8c09e353290a0b9093c0be9c
tree25fe306fd8f096c9a3adab4a7603032643489ee3
parentff33a6cfb752dc3020bf883faf1110e844dbf9dd
[Repo/Push] Use Has Table to handle repo & add slot_id property

- Instead of single linked list, Hash table is used to manage repo's
  data. Hash Table is "key [slot_id], GstTensorData*" where slot_id is
  given by user when the tensor_repopush is used.

- Slot Id is added to use as key for hash table. This should be same
  with tensor_repopop element. "tensor_repopop" will withdraw the data
  according to this slot_id.

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
gst/nnstreamer/tensor_repo.c
gst/tensor_repopush/tensor_repopush.c