Defines the affine transformation, perspective transformation, or remapping configuration.
typedef struct {
hi_u32 interpolation;
hi_vpc_bord_type border_type;
hi_vpc_scalar scalar_value;
} hi_transform_config;
Member |
Description |
|---|---|
interpolation |
The following resizing algorithms are supported:
|
border_type |
Border making type. |
scalar_value |
Pixel value for image padding. Only three channels are supported, and the value is all 0s. |