From da37e2fa661f85090bd4a3b93c07178df268bd8c Mon Sep 17 00:00:00 2001 From: steniu01 Date: Thu, 29 Jun 2017 10:14:58 +0100 Subject: COMPMID-431 Port CLDepthConvert to use 8-bit and 16-bit fixed point Change-Id: Iedea9e985427e6242f34a5362615f79c0526d5bd Reviewed-on: http://mpd-gerrit.cambridge.arm.com/79786 Reviewed-by: Georgios Pinitas Tested-by: Kaizen --- arm_compute/runtime/CL/functions/CLDepthConvert.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'arm_compute/runtime/CL') diff --git a/arm_compute/runtime/CL/functions/CLDepthConvert.h b/arm_compute/runtime/CL/functions/CLDepthConvert.h index f11027656d..9a4c63dd6d 100644 --- a/arm_compute/runtime/CL/functions/CLDepthConvert.h +++ b/arm_compute/runtime/CL/functions/CLDepthConvert.h @@ -43,16 +43,20 @@ public: * * Valid conversions Input -> Output : * + * - QS8 -> F32 + * - QS16 -> F32 * - U8 -> U16, S16, U32, S32 * - U16 -> U8, U32, S32 * - S16 -> U8, U32, S32 * - U32 -> U8, U16, S16 * - S32 -> U8, U16, S16 + * - F32 -> QS8, QS16 * - * @param[in] input The input tensor to convert. Data types supported: U8, U16, S16, U32 or S32. - * @param[out] output The output tensor. Data types supported: U8, U16, S16, U32 or S32. + * @param[in] input The input tensor to convert. Data types supported: QS8/U8/U16/S16/Q16/U32/S32/F32. + * @param[out] output The output tensor. Data types supported: QS8/U8/U16/S16/QS16/U32/S32/F32. * @param[in] policy Conversion policy. * @param[in] shift Value for down/up conversions. Must be 0 <= shift < 8. + * It is not used on fixed point conversion. */ void configure(const ICLTensor *input, ICLTensor *output, ConvertPolicy policy, uint32_t shift); }; -- cgit v1.2.1