aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/PixelValue.h
diff options
context:
space:
mode:
authorgiuros01 <giuseppe.rossini@arm.com>2018-09-21 12:23:44 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit91a73f345be73a1cbbaa15cfaa304f00218968fb (patch)
tree67aaee5358533faabc55cb7a49cd1217248def9a /arm_compute/core/PixelValue.h
parent041f36d4dc1b6473d9f7136659a384d611fab0b6 (diff)
downloadComputeLibrary-91a73f345be73a1cbbaa15cfaa304f00218968fb.tar.gz
COMPMID-1593: (Nightly) CLPad failing
Change-Id: I5529bf35dadd3de8a5ba4f2e6e0f1c96b4df19f4 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/149595 Tested-by: bsgcomp <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/core/PixelValue.h')
-rw-r--r--arm_compute/core/PixelValue.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arm_compute/core/PixelValue.h b/arm_compute/core/PixelValue.h
index 31705bd740..530cc166a2 100644
--- a/arm_compute/core/PixelValue.h
+++ b/arm_compute/core/PixelValue.h
@@ -36,7 +36,7 @@ class PixelValue
public:
/** Default constructor: value initialized to 0 */
PixelValue()
- : value{ { uint64_t(0) } }
+ : value{ uint64_t(0) }
{
}
/** Initialize the union with a U8 pixel value
@@ -135,6 +135,8 @@ public:
*/
union
{
+ uint64_t u64; /**< Single channel U64 */
+ int64_t s64; /**< Single channel S64 */
uint8_t rgb[3]; /**< 3 channels: RGB888 */
uint8_t yuv[3]; /**< 3 channels: Any YUV format */
uint8_t rgbx[4]; /**< 4 channels: RGBX8888 */
@@ -147,8 +149,6 @@ public:
int16_t s16; /**< Single channel S16 */
uint32_t u32; /**< Single channel U32 */
int32_t s32; /**< Single channel S32 */
- uint64_t u64; /**< Single channel U64 */
- int64_t s64; /**< Single channel S64 */
} value;
/** Interpret the pixel value as a U8
*