[Common] add method to get media type / macro for caps
authorjy1210.jung <jy1210.jung@samsung.com>
Tue, 7 Aug 2018 09:51:05 +0000 (18:51 +0900)
committer정재윤/언어이해Lab(SR)/Staff Engineer/삼성전자 <jy1210.jung@samsung.com>
Fri, 10 Aug 2018 05:55:56 +0000 (14:55 +0900)
commit1b67c5100e8f4fbd70f8b0852e43c1f9c40d1404
tree75d31b2bb9c2a634e04d4eed706744f6bed655d7
parent3bdbc5cbff0e311458c68c19dda6f9b0a09f512a
[Common] add method to get media type / macro for caps

1. add common method to get media type from caps (video and audio type)
2. add macro for tensor cap definition

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

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
common/tensor_common.c
include/tensor_common.h