acldvppGetLutMapData

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Obtains the memory pointer and array length of a color remapping table with a dimension specified.

Prototype

aclError acldvppGetLutMapData(const acldvppLutMap *lutMap,

uint32_t dim,

uint8_t **data,

uint32_t *len)

Parameters

Parameter

Input/Output

Description

lutMap

Input

Pointer to the color remapping table.

You need to call acldvppCreateLutMap to create data of the acldvppLutMap type in advance.

dim

Input

Dimension of the color remapping table.

Call acldvppGetLutMapDims to obtain the number of dimensions in the color remapping table. The value range of dim is [0, (Number of dimensions – 1)].

data

Output

Pointer to the memory pointer to the color remapping table data.

len

Output

Pointer to the length of the data array.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.