acldvppGetHistRetCode

Description

Obtains the result histogram data. This API is synchronous.

The Ascend 310 AI Processor does not support this API in the current version.

The Ascend 910 AI Processor does not support this API in the current version.

Prototype

uint32_t acldvppGetHistRetCode(acldvppHist* hist)

Parameters

Parameter

Input/Output

Description

hist

Input

Pointer to the histogram description.

Call acldvppVpcCalcHistAsync to generate histogram description data of each dimension in advance.

Returns

0 on success; else, failure.