Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_cis_seek(3) — Solaris 2.4 x86 SDK

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_cis_get_attribute(3)

xil_cis_get_start_frame(3)

xil_cis_get_write_frame(3)

xil_cis_get_random_access(3)

xil_cis_seek(3)

NAME

xil_cis_seek − find a particular frame of compressed data in a compressed image sequence

SYNOPSIS

#include <xil/xil.h>

void xil_cis_seek ( XilCis cis,

int framenumber,
int relative_to);

DESCRIPTION

This function finds a particular frame of compressed data in a compressed image sequence (CIS).  cis is the input compressed image sequence (CIS) in which you are looking for a frame of compressed data.  framenumber is the number of frames by which the frame you are looking for is offset from the current frame, the beginning of the CIS, or the end of the CIS.  relative_to indicates whether the offset mentioned above is relative to frame zero of the CIS (0), the current frame (1),  or the end of the CIS (2). 

Every frame in a CIS has a frame number associated with it; these frame numbers start at zero.  Seeking from the beginning of the CIS implies that you are seeking relative to frame number zero and not necessarily the start_frame (the earliest buffered frame that still resides in the CIS).  For more information see xil_cis_get_start_frame(3). 

If the CIS you are looking in cannot be accessed randomly (see xil_cis_get_random_access(3) ) and you are seeking a frame previous to the current read_frame, an error is generated. 

ERRORS

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

EXAMPLES

Go to the 12th frame (from the beginning) of a compressed image sequence:

XilCis cis;
xil_cis_seek( cis, 12, 0 );

NOTES

The framenumber you are seeking must be within the CIS.  Use the functions xil_cis_get_start_frame(3) and xil_cis_get_write_frame(3) to determine the legal range of frame numbers. 

SEE ALSO

xil_cis_get_attribute(3), xil_cis_get_start_frame(3), xil_cis_get_write_frame(3), xil_cis_get_random_access(3). 

SunOS   —  Last change: 09 June 1993

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