The OpenVX Specification  a73e458
The Image Attributes Constants

Detailed Description

The image attributes list.

Macros

#define VX_IMAGE_FORMAT   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_IMAGE, 0x2))
 Queries an image for its format [R01498]. Read-only [R01499]. Use a vx_df_image parameter.
 
#define VX_IMAGE_HEIGHT   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_IMAGE, 0x1))
 Queries an image for its height [R01496]. Read-only [R01497]. Use a vx_uint32 parameter.
 
#define VX_IMAGE_MEMORY_TYPE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_IMAGE, 0x7))
 Queries memory type if created using vxCreateImageFromHandle [R01508]. If vx_image was not created using vxCreateImageFromHandle, VX_MEMORY_TYPE_NONE is returned [R01509].
 
#define VX_IMAGE_PLANES   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_IMAGE, 0x3))
 Queries an image for its number of planes [R01500]. Read-only [R01501]. Use a vx_size parameter.
 
#define VX_IMAGE_RANGE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_IMAGE, 0x5))
 Queries an image for its channel range (see Image Channel Range Constants) [R01504]. Read-only [R01505]. Use a vx_enum parameter.
 
#define VX_IMAGE_SIZE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_IMAGE, 0x6))
 Queries an image for its total number of bytes [R01506]. Read-only [R01507]. Use a vx_size parameter.
 
#define VX_IMAGE_SPACE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_IMAGE, 0x4))
 Queries an image for its color space (see Image Color Space Constants) [R01502]. Read-write [R01503]. Use a vx_enum parameter.
 
#define VX_IMAGE_WIDTH   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_IMAGE, 0x0))
 Queries an image for its width [R01494]. Read-only [R01495]. Use a vx_uint32 parameter.