xil_cis_get_random_access(3)
NAME
xil_cis_get_random_access − indicate whether a compressor supports random accessing of a CIS
SYNOPSIS
#include <xil/xil.h>
int xil_cis_get_random_access (XilCis cis);
DESCRIPTION
This function returns a value that indicates whether a specified compressor supports random accessing of a compressed image sequence (CIS). If random accessing is supported, then xil_cis_seek(3) will be able to work for backwards seeks (forward seeks are always possible).
RETURN VALUES
TRUE If the compressor supports random accessing of individual frames of the sequence
FALSE If the compressor does not support random accessing of a CIS
ERRORS
For a complete list of XIL error messages by number, consult Appendix B of the XIL Programmer’s Guide.
EXAMPLES
XilCis cis;
...
if(xil_cis_get_random_access(cis) == TRUE) {
printf("backwards seeks are enabled");
}
SEE ALSO
xil_compress(3), xil_cis_seek(3).
SunOS — Last change: 09 June 1993