VpcPadding

Function Usage

Padding function for image processing. Before calling this API, call Init to initialize this function.

Prototype

1
APP_ERROR DvppWrapper::VpcPadding(DvppDataInfo &inputDataInfo, DvppDataInfo &outputDataInfo, MakeBorderConfig &makeBorderConfig);

Parameters

Parameter

Input/Output

Description

inputDataInfo

Input

Data to be padded.

outputDataInfo

Output

Data after padding.

makeBorderConfig

Input

Padding configuration. It is recommended that the padding size of YUV_SP_420 and YVU_SP_420 be an even number.

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.