hi_vpc_make_border_info

Description

Defines the information required for border making.

Prototype

typedef struct {
    hi_u32 top;
    hi_u32 bottom;
    hi_u32 left;
    hi_u32 right;
    hi_vpc_bord_type border_type;
    hi_vpc_scalar scalar_value;
} hi_vpc_make_border_info;

Members

Member

Description

top

Length of the border in pixels at the top of the image.

bottom

Length of the border in pixels at the bottom of the image.

left

Length of the border in pixels at the left of the image.

right

Length of the border in pixels at the right of the image.

border_type

Border type.

scalar_value

Border color. Valid only when the border type is HI_BORDER_CONSTANT.