acldvppClearHist

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function

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

1
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; otherwise, failure. For details, see aclError.