Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_interpolation_table_get_values(3) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_interpolation_table_get_data(3)

xil_interpolation_table_create(3)

xil_interpolation_table_destroy(3)

xil_interpolation_table_get_subsamples(3)

xil_interpolation_table_get_kernel_size(3)

xil_state_get_interpolation_tables(3)

xil_interpolation_table_get_values(3)

NAME

xil_interpolation_table_get_values - get the values stored in an XilInterpolationTable object. 

SYNOPSIS

#include <xil/xil.h>

void xil_interpolation_table_get_values(XilInterpolationTable table,

float∗ data);

DESCRIPTION

xil_interpolation_table_get_values () gets the values from an interpolation table object table. The user is responsible for allocating the float array, data.  Enough memory must be allocated to hold the subsamples ∗ kernel_size floating point data elements. 

ERRORS

For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide. 

EXAMPLES

Get the values of an interpolation table object:

XilInterpolationTable table;
float∗ data;
unsigned int kernel_size;
unsigned int subsamples;
 subsamples = xil_interpolation_table_get_subsamples(table);
kernel_size = xil_interpolation_table_get_kernel_size(table);
 data = malloc(subsamples∗kernel_size∗sizeof(float));
if(data == NULL)
 /∗ cleanup and exit ∗/
 }
xil_interpolation_table_get_values(table, data);

NOTES

SEE ALSO

xil_interpolation_table_get_data(3), xil_interpolation_table_create(3), xil_interpolation_table_destroy(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: 10 February 1997

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026