aclmdlSetAIPPDtcPixelMin
Description
Sets the minimum value of each channel in the dynamic AIPP scenario.
Prototype
aclError aclmdlSetAIPPDtcPixelMin(aclmdlAIPP *aippParmsSet,
float dtcPixelMinChn0,
float dtcPixelMinChn1,
float dtcPixelMinChn2,
float dtcPixelMinChn3,
uint64_t batchIndex)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
aippParmsSet |
Output |
Pointer to the dynamic AIPP parameter object. Call aclmdlCreateAIPP in advance to create data of the aclmdlAIPP type. |
dtcPixelMinChn0 |
Input |
Minimum value of channel 0. Value range: [0, 255] |
dtcPixelMinChn1 |
Input |
Minimum value of channel 1. Value range: [0, 255] |
dtcPixelMinChn2 |
Input |
Minimum value of channel 2. Value range: [0, 255] |
dtcPixelMinChn3 |
Input |
Minimum value of channel 3. Set to 0 if there are only three channels. Value range: [0, 255] |
batchIndex |
Input |
Index of batch for applying the minimum value per channel. Value range: [0, batchSize) batchSize is set when data of the aclmdlAIPP type is created by the aclmdlCreateAIPP call. |
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.