Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xil_cis_create(3) — Solaris 2.4 x86 SDK

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

xil_open(3)

xil_close(3)

xil_cis_destroy(3)

xil_cis_flush(3)

xil_cis_put_bits(3)

xil_cis_reset(3)

xil_cis_seek(3)

xil_compress(3)

xil_decompress(3)

xil_cis_create(3)

NAME

xil_cis_create − create a new compressed image sequence

SYNOPSIS

#include <xil/xil.h>

XilCis xil_cis_create ( XilSystemState system_state,

char ∗compressorname);

DESCRIPTION

This function creates a new compressed image sequence (CIS).  A CIS is a container that holds compressed images for a particular type of compression.  Therefore, the CIS type must match the compression type.  system_state is a handle to the object returned by xil_open(3) when it is invoked.  compressorname is a string that provides the name of a compressor recognized by the XIL library. 

If this function is successful, then a handle to an XilCis object is returned, which may be used in subsequent calls to xil_cis-routines.  When  the XilCis object is no longer needed, release the resources associated with the CIS by passing its handle to xil_cis_destroy(3). 

The XIL library currently supports the following compressors:  "Jpeg", "JpegLL", "Cell", "CellB", "faxG3", "faxG4", "Mpeg1", and "H261".  Consult the following man pages for descriptions of these compressors and their attributes: Jpeg(3), JpegLL(3), Cell(3), CellB(3), faxG3(3), faxG4(3), Mpeg1(3), and H261(3). 

ERRORS

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

EXAMPLES

Open and close a JPEG CIS using the XIL library:

XilSystemState State;
XilCis cis;
State = xil_open();
cis = xil_cis_create(State, "Jpeg");
 -- calls to JPEG-specific compression routines --
 xil_cis_destroy(cis);
xil_close(State);

SEE ALSO

xil_open(3), xil_close(3), xil_cis_destroy(3), xil_cis_flush(3), xil_cis_put_bits(3), xil_cis_reset(3), xil_cis_seek(3), xil_compress(3), xil_decompress(3). 

SunOS   —  Last change: 18 August 1993

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