hi_vpc_crop_resize_region

Function

Defines the parameters for VPC cropping and resizing.

Definition

typedef struct {
    hi_vpc_pic_info dest_pic_info;
    hi_vpc_crop_region crop_region;
    hi_vpc_resize_info resize_info;
} hi_vpc_crop_resize_region;

Members

Member

Description

dest_pic_info

Information about the destination image. For details, see hi_vpc_pic_info.

crop_region

Information about the crop ROI. For details, see hi_vpc_crop_region.

resize_info

Image resizing information. For details, see hi_vpc_resize_info.

Precautions

The number of images to be processed cannot exceed 256. The width and height for resizing must be the same as those of the destination image.