aclfvCreateQueryTable
The
The
Description
Creates data of the aclfvQueryTable type for the search input table.
To destroy data of the aclfvQueryTable type, call aclfvDestroyQueryTable.
Prototype
aclfvQueryTable *aclfvCreateQueryTable(uint32_t queryCnt, uint32_t tableLen, uint8_t *tableData, uint32_t tableDataLen)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
queryCnt |
Input |
Number of search requests, fixed at 1 in 1:N mode or up to 1024 in the N:M scenario. |
tableLen |
Input |
Table length, fixed at 32 KB. The system verifies the length internally. |
tableData |
Input |
Pointer to the feature value table, which is stored contiguously based on the feature length. |
tableDataLen |
Input |
Length of the memory pointed by the tableData pointer, used for verification. |
Returns
- Success: a pointer to data of the aclfvQueryTable type
- Failure: nullptr