clGetDefault(3dm)clGetDefault(3dm)NAMEclGetDefault - Get the default value of a parameter
SYNOPSIS
#include <dmedia/cl.h>
int clGetDefault(CLhandle handle, int paramID)
ARGUMENTS
handle A handle to a compressor or decompressor.
paramID A parameter identifier.
DESCRIPTIONclGetDefault 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 VALUEclGetDefault returns the default value of the selected parameter, or a
negative error code on failure.
NOTES
Some parameters (such as CL_BEST_FIT) can take on negative values.
clGetMinMax can be used to test if paramID is a valid parameter
identifier.
EXAMPLE
#include <dmedia/cl.h>
CLhandle handle;
int initial;
clOpenDecompressor(scheme, &handle);
initial = clGetDefault(handle, CL_FORMAT);
...
SEE ALSOCLintro(3dm), clQueryParams(3dm), clGetMinMax(3dm), clGetName(3dm)
Page 1