clGetMinMax(3dm) clGetMinMax(3dm)
clGetMinMax - Get minimum and maximum values for a parameter
#include <dmedia/cl.h>
int clGetMinMax(CLhandle handle, int paramID, int *minPtr, int *maxPtr)
handle A handle to a compressor or decompressor.
paramID The parameter identifier.
minPtr A pointer to an int where the minimum value will be
written.
maxPtr A pointer to an int where the maximum value will be
written.
clGetMinMax gets the minimum and maximum values for a parameter.
clGetMinMax returns SUCCESS, or a negative error code on failure.
#include <dmedia/cl.h>
...
int min, max;
clOpenDecompressor(scheme, &handle);
clGetMinMax(handle, CL_FORMAT, &min, &max);
...
CLintro(3dm), clQueryParams(3dm), clGetDefault(3dm), clGetName(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|