aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/PixelValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/core/PixelValue.h')
-rw-r--r--arm_compute/core/PixelValue.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arm_compute/core/PixelValue.h b/arm_compute/core/PixelValue.h
index f39c8670fd..8c2ab92ad9 100644
--- a/arm_compute/core/PixelValue.h
+++ b/arm_compute/core/PixelValue.h
@@ -59,6 +59,9 @@ public:
case DataType::QASYMM8:
value.u8 = quantize_qasymm8(static_cast<uint8_t>(v), qinfo);
break;
+ case DataType::QASYMM8_SIGNED:
+ value.u8 = quantize_qasymm8_signed(static_cast<int8_t>(v), qinfo);
+ break;
case DataType::QSYMM8:
value.s8 = quantize_qsymm8(static_cast<int8_t>(v), qinfo);
break;
@@ -311,5 +314,5 @@ public:
return val;
}
};
-}
+} // namespace arm_compute
#endif /* ARM_COMPUTE_PIXELVALUE_H */