aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/PixelValue.h
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2019-06-14 17:18:12 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-06-20 17:41:16 +0000
commit3689fcd5915cd902cb4ea5f618f2a6e42f6dc4a1 (patch)
tree9d068e7548af2a6054468c35f3259b52bdda91a5 /arm_compute/core/PixelValue.h
parenta28aebc5f80630683f50ce934e8584c6b0004beb (diff)
downloadComputeLibrary-3689fcd5915cd902cb4ea5f618f2a6e42f6dc4a1.tar.gz
COMPMID-2408: Add QSYMM16 support for ElementwiseAddition for NEON
Change-Id: I22991e9369ffba9b51a94522ff4977933e887b94 Signed-off-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-on: https://review.mlplatform.org/c/1352 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Giuseppe Rossini <giuseppe.rossini@arm.com>
Diffstat (limited to 'arm_compute/core/PixelValue.h')
-rw-r--r--arm_compute/core/PixelValue.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arm_compute/core/PixelValue.h b/arm_compute/core/PixelValue.h
index 4bdcad61a2..4a07fa6c5d 100644
--- a/arm_compute/core/PixelValue.h
+++ b/arm_compute/core/PixelValue.h
@@ -68,6 +68,9 @@ public:
case DataType::S16:
value.s16 = static_cast<int16_t>(v);
break;
+ case DataType::QSYMM16:
+ value.s16 = quantize_qsymm16(static_cast<int16_t>(v), qinfo);
+ break;
case DataType::U32:
value.u32 = static_cast<uint32_t>(v);
break;