xil_cis_get_compression_type(3)
NAME
xil_cis_get_compression_type, xil_cis_get_compressor − return the generic or specific name of a codec.
SYNOPSIS
#include <xil/xil.h>
char ∗xil_cis_get_compression_type (XilCis cis);
char ∗xil_cis_get_compressor (XilCis cis);
DESCRIPTION
xil_cis_get_compression_type returns a character string giving the generic class name of a compressor or decompressor. For example, any Jpeg CIS would return the string "JPEG". All capital letters are used in these codec class names.
xil_cis_get_compressor returns a character string giving the name of the specific compressor implementation. For example, the default XIL library Jpeg compressor would return the string "Jpeg", while the implementation using the Visual Instruction Set (VIS) on UltraSparc systems would return the string "JpegVIS".
ERRORS
For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide.
EXAMPLES
XilCis cis;
char ∗compression_type;
char ∗compressor
compression_type = xil_cis_get_compression_type(cis);
compressor = xil_cis_get_compressor(cis);
SEE ALSO
xil_compress(3), xil_cis_get_compressor(3).
SunOS 5.6 — Last change: 17 June 1993