hi_transform_config
Description
Defines the affine transformation, perspective transformation, or remapping configuration.
Prototype
typedef struct {
hi_u32 interpolation;
hi_vpc_bord_type border_type;
hi_vpc_scalar scalar_value;
} hi_transform_config;
Members
Member |
Description |
|---|---|
interpolation |
Resizing algorithm. The options are as follows:
|
border_type |
Border making type. The options are as follows:
|
scalar_value |
Pixel value for image padding. Only three channels are supported. If the input image format is YUV400, val[0] stores the Y component. val[1], val[2], and val[3] are reserved and need to be initialized to 0. |
Parent topic: VPC Image Processing