[Transform/Arithmetic] Support operand value of floating point type
authorWook Song <wook16.song@samsung.com>
Wed, 10 Oct 2018 08:05:08 +0000 (17:05 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Fri, 12 Oct 2018 10:55:28 +0000 (19:55 +0900)
commit169d325c229a099970bc3a9e15028e9d979c4323
treeeb17e6c03351ac991036df1e82c866a8f61ece70
parent972a2a54c7676d451bd16593f8cc29747759287c
[Transform/Arithmetic] Support operand value of floating point type

Since the data type of the operand is fixed to 'int64_t', the Arithmetic
mode cannot properly handle operand values of the floating point type
such as 2.3, -10.5, and -9.900000e-001. This patch supports such
floating-point operand values by using the data type, double.

Signed-off-by: Wook Song <wook16.song@samsung.com>
gst/tensor_transform/tensor_transform.c
gst/tensor_transform/tensor_transform.h