acldvppClearHist

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

x

Description

Clears histogram data.

Application scenario: 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 the acldvppCreateHist API to create data of the acldvppHist type in advance.

Returns

0 on success; else, failure. For details, see aclError.