acldvppClearHist
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
√ |
|
√ |
|
√ |
|
√ |
|
☓ |
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.
Parent topic: acldvppHist