Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_state_get_interpolation_tables(3) — Solaris 2.4 x86 SDK

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_interpolation_table_create(3)

xil_interpolation_table_destroy(3)

xil_interpolation_table_get_subsamples(3)

xil_interpolation_table_get_kernel_size(3)

xil_interpolation_table_get_data(3)

xil_state_get_interpolation_tables(3)

xil_state_get_interpolation_tables(3)

NAME

xil_state_get_interpolation_tables, xil_state_set_interpolation_tables − set or get interpolation tables to or from the XilSystemState object. 

SYNOPSIS

#include <xil/xil.h>

void xil_state_get_interpolation_tables (XilSystemState State,

XilInterpolationTable∗ horiz,
XilInterpolationTable∗ vertical);

void xil_state_set_interpolation_tables (XilSystemState State,

XilInterpolationTable horiz);
XilInterpolationTable vertical);

DESCRIPTION

XIL supports general interpolation.  These tables affect all general interpolation operations using images created from this XilSystemState.  The horiz and vertical tables define the values in the subsamplng kernels. 

xil_state_get_interpolation_tables () gets the interpolation tables of State.  The horiz argument returns a pointer to the horizontal table, and the vertical argument returns a pointer to the vertical table. Either table’s pointer lets you access that table’s kernel size, number of subsamples, and kernel data. 

xil_state_set_interpolation_tables () sets the interpolation tables of State. 

ERRORS

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

EXAMPLES

Set interpolation tables on an XilSystemState object. 

XilSystemState State;
XilInterpolationTable horiz, vertical;
float ∗horiz_data, ∗vertical_data;
 horiz = xil_interpolation_table_create(State, 9, 32, horiz_data);
vertical = xil_interpolation_table_create(State, 9, 32, vertical_data);
 xil_state_set_interpolation_tables(State, horiz, vertical);
 

SEE ALSO

xil_interpolation_table_create(3), xil_interpolation_table_destroy(3), xil_interpolation_table_get_subsamples(3), xil_interpolation_table_get_kernel_size(3), xil_interpolation_table_get_data(3), xil_state_get_interpolation_tables(3). 

SunOS   —  Last change: 18 March 1994

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