| java.lang.Object com.sun.media.jai.mlib.MlibUtils
MlibUtils | final class MlibUtils (Code) | | |
Method Summary | |
static void | clampImage(mediaLibImage image, ColorModel colorModel) If the color depth in bits of any band of the image does not
match the full bit depth as determined from the image type then
clamp the image to the unnomarlized range represented by the
ColorModel. | final static int[] | initConstants(int[] constants, int numBands) If constants array is less than numBands it is replaced
by an array of length numBands filled with constants[0]. | final static double[] | initConstants(double[] constants, int numBands) If constants array is less than numBands it is replaced
by an array of length numBands filled with constants[0]. |
clampImage | static void clampImage(mediaLibImage image, ColorModel colorModel)(Code) | | If the color depth in bits of any band of the image does not
match the full bit depth as determined from the image type then
clamp the image to the unnomarlized range represented by the
ColorModel.
|
initConstants | final static int[] initConstants(int[] constants, int numBands)(Code) | | If constants array is less than numBands it is replaced
by an array of length numBands filled with constants[0].
Otherwise the input array is cloned.
|
initConstants | final static double[] initConstants(double[] constants, int numBands)(Code) | | If constants array is less than numBands it is replaced
by an array of length numBands filled with constants[0].
Otherwise the input array is cloned.
|
|
|