Updated on 2022-03-13 GMT+08:00

Exception Handling

If the caller fails to call DvppCtl or DvppGetOutParameter (the return value is –1), you can view the log in the Log window of Mind Studio. Select DVPP from the Module Name drop-down list box, and click Search to query the log. You can view the latest log based on the Time column and rectify the calling error accordingly.

For example, when the caller uses the VPC function, if the width and height of the input image are not 128 x 16 aligned, the following information is displayed in the Content column:

The input image width should be divided by 128, high should be divided by 16, now width 512, high 456.

For details about how to view a log, see section 2.3.1 "Viewing a Log" in Ascend 310 Mind Studio Auxiliary Tools.