hi_blend_param
Function
Defines the blending parameters.
Definition
typedef struct {
hi_vpc_pic_info source_pic1;
hi_vpc_pic_info source_pic2;
hi_vpc_pic_info dest_pic;
hi_rect_region pic1_region;
hi_u32 blend_table_len;
hi_u8 *blend_table;
hi_u32 reserved[8];
} hi_blend_param;
For details about basic data types hi_u32 and hi_u8, see Basic Data Types.
Members
Member |
Description |
|---|---|
source_pic1 |
First input image. For details, see hi_vpc_pic_info. |
source_pic2 |
Second input image. For details, see hi_vpc_pic_info. |
dest_pic |
Output image. For details, see hi_vpc_pic_info. The buffer address of the output image supports the following configurations:
|
pic1_region |
Information about the region to be blended in the first input image. The width and height of the region must be the same as those of the second input image. For details, see hi_rect_region. |
blend_table_len |
Buffer size of the blend table, in bytes. The value must be greater than or equal to the width multiplied by the height of the second input image. |
blend_table |
Blend table address. The API blends the two images into one based on this blend table. |
reserved |
This is a reserved parameter. The value is fixed at 0. |