clGetDefault(3dm) clGetDefault(3dm)
clGetDefault - Get the default value of a parameter
#include <dmedia/cl.h>
int clGetDefault(CLhandle handle, int paramID)
handle A handle to a compressor or decompressor.
paramID A parameter identifier.
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.
clGetDefault returns the default value of the selected parameter, or a
negative error code on failure.
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.
#include <dmedia/cl.h>
CLhandle handle;
int initial;
clOpenDecompressor(scheme, &handle);
initial = clGetDefault(handle, CL_FORMAT);
...
CLintro(3dm), clQueryParams(3dm), clGetMinMax(3dm), clGetName(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|