24 #ifndef __ARM_COMPUTE_PIXELVALUE_H__ 25 #define __ARM_COMPUTE_PIXELVALUE_H__ 113 void get(uint8_t &v)
const 121 void get(uint16_t &v)
const 129 void get(int16_t &v)
const 137 void get(uint32_t &v)
const 145 void get(int32_t &v)
const 153 void get(
float &v)
const uint8_t rgbx[4]
4 channels: RGBX8888
PixelValue()
Default constructor: value initialized to 0.
Class describing the value of a pixel for any image format.
PixelValue(float v)
Initialize the union with a F32 pixel value.
PixelValue(uint8_t v)
Initialize the union with a U8 pixel value.
uint8_t rgb[3]
3 channels: RGB888
uint8_t u8
Single channel U8.
uint16_t u16
Single channel U16.
union arm_compute::PixelValue::@0 value
Union which describes the value of a pixel for any image format.
float f32
Single channel float 32.
PixelValue(uint16_t v)
Initialize the union with a U16 pixel value.
int16_t s16
Single channel S16.
PixelValue(uint32_t v)
Initialize the union with a U32 pixel value.
PixelValue(int32_t v)
Initialize the union with a S32 pixel value.
int32_t s32
Single channel S32.
uint32_t u32
Single channel U32.
uint8_t yuv[3]
3 channels: Any YUV format
PixelValue(int16_t v)
Initialize the union with a S16 pixel value.