acldvppClearHist

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

x

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

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

Returns

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