hi_vpc_bord_type
Description
Defines the border making type.
Prototype
typedef enum {
HI_BORDER_CONSTANT = 0,
HI_BORDER_REPLICATE,
HI_BORDER_REFLECT,
HI_BORDER_REFLECT_101,
HI_BORDER_WRAP
} hi_vpc_bord_type;
Members
Member |
Description |
|---|---|
HI_BORDER_CONSTANT |
Constant colored border. |
HI_BORDER_REPLICATE |
Last element replicated. For example, aaaaaa|a*****h|hhhhhhh, where * indicates any image element. |
HI_BORDER_REFLECT |
Reflection of border elements (included). Not supported on the For example, ba|abc*******fgh|hg, where * indicates any image element. |
HI_BORDER_REFLECT_101 |
Reflection of border elements (excluded). Not supported on the For example, cb|abc****fgh|gf, where * indicates any image element. |
HI_BORDER_WRAP |
Replication of the pixels on the opposite border. For example, gh|abc****fgh|ab, where * indicates any image element. Reserved, not supported currently. |
Considerations
Version |
Restriction |
|---|---|
For HI_BORDER_CONSTANT and HI_BORDER_REPLICATE, the border can be padded to 4096 x 4096. For HI_BORDER_REFLECT and HI_BORDER_REFLECT_101, only two pixels can be padded for each of the four boundaries. |
|
HI_BORDER_CONSTANT and HI_BORDER_REPLICATE allow padding to 4096 x 8192. For HI_BORDER_REFLECT and HI_BORDER_REFLECT_101, only two pixels can be padded for each of the four boundaries. |