hi_vpc_scalar

Description

Defines each pixel component for image processing.

Prototype

hi_vpc_scalar = {"val": val[4]}

Members

Member

Description

val

List, color component value. The value range is [0,255].

Currently, you can only manually store the values of the R, G, and B components or the values of the Y, U, and V components in sequence. That is, val[0] stores the R component or Y component, val[1] stores the G component or U component, val[2] stores the B component or V component, and val[3] is reserved.

If both the input and output are in YUV format, the YUV component values are used. Otherwise, the RGB component values are used.