hi_vpc_bord_type
Description
Defines the border types for border making.
Prototype
HI_BORDER_CONSTANT = 0 HI_BORDER_REPLICATE = 1 HI_BORDER_REFLECT = 2 HI_BORDER_REFLECT_101 = 3 HI_BORDER_WRAP = 4
Members
Member |
Description |
|---|---|
HI_BORDER_CONSTANT |
Constant colored border. |
HI_BORDER_REPLICATE |
Last element replicated throughout. For example, aaaaaa|a*****h|hhhhhhh, where * indicates any image element. |
HI_BORDER_REFLECT |
Reflection of border elements (included). Not supported due to hardware restrictions for the For example, ba|abc*******fgh|hg, where * indicates any image element. |
HI_BORDER_REFLECT_101 |
Reflection of border elements (excluded). Not supported due to hardware restrictions for 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. |
Precautions
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. |