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

The following resizing algorithms are supported:
  • 0: the conventional bilinear algorithm

border_type

Border making type.

scalar_value

Pixel value for image padding. Only three channels are supported, and the value is all 0s.