acldvppClearHist

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Clears histogram data.

Use case: After obtaining the color distribution histogram of an image, you can call this API to clear the histogram data of the acldvppHist type and then obtain the color distribution histogram of the next image if you want to reuse the acldvppHist variables.

Prototype

aclError acldvppClearHist(acldvppHist *hist)

Parameters

Parameter

Input/Output

Description

hist

Input

Pointer to the histogram description.

Call acldvppCreateHist to create data of the acldvppHist type in advance.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.