APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.java2d.cmm.lcms

pack-priv final Class LCMSTransform

extends Object
implements ColorTransform
Class Inheritance
All Implemented Interfaces
sun.java2d.cmm.ColorTransform
Imports
java.awt.color.ColorSpace, .ICC_Profile, java.awt.image.BufferedImage, .ColorModel, .DataBuffer, .Raster, .SampleModel, .WritableRaster, java.lang.ref.Reference, sun.awt.AWTAccessor, sun.java2d.cmm.ColorTransform

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private final LCMSProfile[]
private final int
private final int
private final int
private volatile LCMSTransform.NativeTransform

Constructor Summary

AccessConstructor and Description
pack-priv
LCMSTransform(int
the desired rendering intent, could be ignored if unsupported. If the ColorTransform#Any is passed then we will try to use ICC_Profile.icPerceptual intent.
renderingIntent
,
ICC_Profile...
the list of color profiles
profiles
)

Creates a transform based on the list of profiles and rendering intent.

Method Summary

Modifier and TypeMethod and Description
public void
public void
colorConvert(Raster src, WritableRaster dst, float[] srcMinVal, float[] srcMaxVal, float[] dstMinVal, float[] dstMaxVal)

Implements sun.java2d.cmm.ColorTransform.colorConvert.

public void
public short[]
colorConvert(short[] src, short[] dst)

Implements sun.java2d.cmm.ColorTransform.colorConvert.

public byte[]
colorConvert(byte[] src, byte[] dst)

Implements sun.java2d.cmm.ColorTransform.colorConvert.

private void
public int
public int
private static boolean
isLCMSSupport(BufferedImage src, BufferedImage dst)

Returns true if lcms may support this format directly.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lcmsProfilesback to summary
private final LCMSProfile[] lcmsProfiles
numInComponentsback to summary
private final int numInComponents
numOutComponentsback to summary
private final int numOutComponents
renderingIntentback to summary
private final int renderingIntent
transformback to summary
private volatile LCMSTransform.NativeTransform transform

Constructor Detail

LCMSTransformback to summary
pack-priv LCMSTransform(int renderingIntent, ICC_Profile... profiles)

Creates a transform based on the list of profiles and rendering intent. The first profile will be considered input, and the last profile will be considered output.

Parameters
renderingIntent:int

the desired rendering intent, could be ignored if unsupported. If the ColorTransform#Any is passed then we will try to use ICC_Profile.icPerceptual intent.

profiles:ICC_Profile[]

the list of color profiles

Method Detail

colorConvertback to summary
public void colorConvert(BufferedImage src, BufferedImage dst)

Implements sun.java2d.cmm.ColorTransform.colorConvert.

colorConvertback to summary
public void colorConvert(Raster src, WritableRaster dst, float[] srcMinVal, float[] srcMaxVal, float[] dstMinVal, float[] dstMaxVal)

Implements sun.java2d.cmm.ColorTransform.colorConvert.

colorConvertback to summary
public void colorConvert(Raster src, WritableRaster dst)

Implements sun.java2d.cmm.ColorTransform.colorConvert.

colorConvertback to summary
public short[] colorConvert(short[] src, short[] dst)

Implements sun.java2d.cmm.ColorTransform.colorConvert.

colorConvertback to summary
public byte[] colorConvert(byte[] src, byte[] dst)

Implements sun.java2d.cmm.ColorTransform.colorConvert.

doTransformback to summary
private void doTransform(LCMSImageLayout in, LCMSImageLayout out)
getNumInComponentsback to summary
public int getNumInComponents()

Implements sun.java2d.cmm.ColorTransform.getNumInComponents.

getNumOutComponentsback to summary
public int getNumOutComponents()

Implements sun.java2d.cmm.ColorTransform.getNumOutComponents.

isLCMSSupportback to summary
private static boolean isLCMSSupport(BufferedImage src, BufferedImage dst)

Returns true if lcms may support this format directly.

sun.java2d.cmm.lcms back to summary

private final Class LCMSTransform.NativeTransform

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private long
private int
private int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

IDback to summary
private long ID
inFormatterback to summary
private int inFormatter
outFormatterback to summary
private int outFormatter

Constructor Detail

NativeTransformback to summary
private NativeTransform()

Method Detail

matchback to summary
private boolean match(LCMSImageLayout in, LCMSImageLayout out)