hi_line_param

Function

Defines the line drawing information.

Definition

typedef struct {
    hi_vpc_pic_info src;
    hi_vpc_pic_info dst;
    hi_u32 count;
    hi_line *line;
} hi_line_param;

For details about basic data type hi_u32, see Basic Data Types.

Members

Member

Description

src

Input image information. For details, see hi_vpc_pic_info.

dst

Output image information. For details, see hi_vpc_pic_info.

count

Number of drawn lines. The value range is [1, 100].

line

Pointer to the configuration array of line drawing. For details, see hi_line.

When the image format is YUV422SP or YUV420SP, the coordinates of the start and end points must be even numbers.