xil_interpolation_table_get_data(3)
NAME
xil_interpolation_table_get_data − get the data of an interpolation table object
SYNOPSIS
#include <xil/xil.h>
float ∗ xil_interpolation_table_get_data ( XilInterpolationTable table);
DESCRIPTION
xil_interpolation_table_get_data () gets the data from an interpolation table object table. This function allocates enough memory to hold subsamples∗kernel_size floating point data elements and returns the address of the floating point array. The user is subsequently responsible for deallocating the array memory.
Note that new applications should use xil_interpolation_table_get_values(3) rather than this function. Unlike xil_interpolation_table_get_data (), xil_interpolation_table_get_values(3) requires that the user allocate memory for, and provide the address of, the floating point array.
ERRORS
For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide.
EXAMPLES
Get data of an interpolation table object:
XilInterpolationTable table;
float∗ data;
data = xil_interpolation_table_get_data(table);
SEE ALSO
xil_interpolation_table_create(3), xil_interpolation_table_destroy(3), xil_interpolation_table_get_values(3), xil_interpolation_table_get_subsamples(3), xil_interpolation_table_get_kernel_size(3), xil_state_get_interpolation_tables(3).
SunOS 5.6 — Last change: 18 March 1994