The OpenVX Specification  a73e458
Constants for image channels

Detailed Description

The channel enumerations for channel extractions.

See also
vxChannelExtractNode
VX_KERNEL_CHANNEL_EXTRACT

Macros

#define VX_CHANNEL_0   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x0))
 Used by formats with unknown channel types.
 
#define VX_CHANNEL_1   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x1))
 Used by formats with unknown channel types.
 
#define VX_CHANNEL_2   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x2))
 Used by formats with unknown channel types.
 
#define VX_CHANNEL_3   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x3))
 Used by formats with unknown channel types.
 
#define VX_CHANNEL_A   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x13))
 Use to extract the ALPHA channel, no matter the byte or packing order.
 
#define VX_CHANNEL_B   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x12))
 Use to extract the BLUE channel, no matter the byte or packing order.
 
#define VX_CHANNEL_G   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x11))
 Use to extract the GREEN channel, no matter the byte or packing order.
 
#define VX_CHANNEL_R   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x10))
 Use to extract the RED channel, no matter the byte or packing order.
 
#define VX_CHANNEL_U   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x15))
 Use to extract the Cb/U channel, no matter the byte or packing order.
 
#define VX_CHANNEL_V   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x16))
 Use to extract the Cr/V/Value channel, no matter the byte or packing order.
 
#define VX_CHANNEL_Y   (VX_ENUM(VX_ID_KHRONOS, VX_ENUM_CHANNEL, 0x14))
 Use to extract the LUMA channel, no matter the byte or packing order.