I'm looking for an example of how the pData data table is configured in the arm_bilinear_interp_instance_f32 structure.
I have read the online notes which I've copied below, but I don't understand how to implement this
The instance structure used by the bi-linear interpolation functions describes a two dimensional data table. For floating-point, the instance structure is defined as:
typedef struct { uint16_t numRows; uint16_t numCols; float32_t *pData; } arm_bilinear_interp_instance_f32;
where numRows specifies the number of rows in the table; numCols specifies the number of columns in the table; and pData points to an array of size numRowsnumCols values. The data table pTable is organized in row order and the supplied data values fall on integer indexes. That is, table element (x,y) is located at pTable[x + ynumCols] where x and y are integers.