clGetMinMax(3dm)clGetMinMax(3dm)NAMEclGetMinMax - Get minimum and maximum values for a parameter
SYNOPSIS
#include <dmedia/cl.h>
int clGetMinMax(CLhandle handle, int paramID, int *minPtr, int *maxPtr)
ARGUMENTS
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.
DESCRIPTIONclGetMinMax gets the minimum and maximum values for a parameter.
RETURN VALUEclGetMinMax returns SUCCESS, or a negative error code on failure.
EXAMPLE
#include <dmedia/cl.h>
...
int min, max;
clOpenDecompressor(scheme, &handle);
clGetMinMax(handle, CL_FORMAT, &min, &max);
...
SEE ALSOCLintro(3dm), clQueryParams(3dm), clGetDefault(3dm), clGetName(3dm)
Page 1