*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> old-compression/clGetDefault (3d)              


clGetDefault(3dm)					     clGetDefault(3dm)

NAME    [Toc]    [Back]

     clGetDefault - Get	the default value of a parameter

SYNOPSIS    [Toc]    [Back]

     #include <dmedia/cl.h>

     int clGetDefault(CLhandle handle, int paramID)

ARGUMENTS    [Toc]    [Back]

     handle   A	handle to a compressor or decompressor.

     paramID  A	parameter identifier.

DESCRIPTION    [Toc]    [Back]

     clGetDefault queries the object handle and	returns	the default value of
     the parameter specified by	paramID.

     To	get parameter identifiers for all the parameters associated with a
     processing	object,	use clQueryParams.

RETURN VALUE    [Toc]    [Back]

     clGetDefault returns the default value of the selected parameter, or a
     negative error code on failure.

NOTES    [Toc]    [Back]

     Some parameters (such as CL_BEST_FIT) can take on negative	values.
     clGetMinMax can be	used to	test if	paramID	is a valid parameter

EXAMPLE    [Toc]    [Back]

	  #include <dmedia/cl.h>
	  CLhandle handle;
	  int initial;

	  clOpenDecompressor(scheme, &handle);

	  initial = clGetDefault(handle, CL_FORMAT);

SEE ALSO    [Toc]    [Back]

     CLintro(3dm), clQueryParams(3dm), clGetMinMax(3dm), clGetName(3dm)

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
AFgetinstparamlong IRIX get / set a parameter list / long parameter value for an instrument configuration in an AFfilehandle structure
tt_default_ptype_set HP-UX set the default ptype
clGetName IRIX returns a name for a parameter
alQueryValues IRIX get the set of possible values for a parameter
defaultdomain OpenBSD default YP domain name
iflSGIColormap IRIX default SGI colormap
assume_default_colors OpenBSD use terminal's default colors
rpc.bootparamd OpenBSD boot parameter server
bootparamd OpenBSD boot parameter server
tt_default_procid_set HP-UX set the current default procid
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service