[Crop] add two sink pads
authorJaeyun <jy1210.jung@samsung.com>
Thu, 13 May 2021 03:16:54 +0000 (12:16 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 14 May 2021 07:29:20 +0000 (16:29 +0900)
commit88a457beb093d36a084da8cb89e9df2b63bae021
treea3294d9f1555d24e0b7cfd4ecc95b839963d765e
parent96679d89945e0f7115b2aedf135594c985f85a4f
[Crop] add two sink pads

tensor-crop has 2 sink pads - raw and info.
- raw: receive raw tensor data to be cropped (other/tensor)
- info: receive crop info (other/tensors-flexible)

The output is cropped tensors (flex tensor format).

TODO
1. define GstTensorCropInfo (x,y,w,h) in tensor_typedef.h
2. add cropping in chain function

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gst/nnstreamer/tensor_crop/tensor_crop.c
gst/nnstreamer/tensor_crop/tensor_crop.h