Searched refs:SampleModel (Results 1 - 25 of 56) sorted by relevance

123

/openjdk7/jdk/test/java/awt/image/
H A DGetSamplesTest.java27 * @summary Test verifies that SampleModel.getSamples() SampleModel.setSamples()
38 import java.awt.image.SampleModel;
50 Vector<Class<? extends SampleModel>> classes = new Vector<Class<? extends SampleModel>>();
58 for (Class<? extends SampleModel> c : classes) {
62 private static void doTest(Class<? extends SampleModel> c) {
64 SampleModel sm = createSampleModel(c);
105 private static SampleModel createSampleModel(Class<? extends SampleModel> cl
[all...]
H A DGetDataElementsTest.java27 * @summary Test verifies that SampleModel.getDataElements() throws an appropriate
35 import java.awt.image.SampleModel;
45 SampleModel sm = new ComponentSampleModel(dataType, width, height, 4, width * 4, new int[] { 0, 1, 2, 3 } );
/openjdk7/jdk/src/windows/classes/sun/awt/
H A DWin32ColorModel24.java33 import java.awt.image.SampleModel;
52 * has a data layout (SampleModel) compatible with this ColorModel.
54 * @see SampleModel
64 * Creates a SampleModel with the specified width and height, that
66 * @see SampleModel
68 public SampleModel createCompatibleSampleModel(int w, int h) {
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DWritableRasterNative.java36 import java.awt.image.SampleModel;
55 public static WritableRasterNative createNativeRaster(SampleModel sm,
61 protected WritableRasterNative(SampleModel sm, DataBuffer db) {
70 SampleModel smHw = null;
H A DSunWritableRaster.java35 import java.awt.image.SampleModel;
110 public SunWritableRaster(SampleModel sampleModel, Point origin) {
115 public SunWritableRaster(SampleModel sampleModel,
123 public SunWritableRaster(SampleModel sampleModel,
H A DIntegerInterleavedRaster.java30 import java.awt.image.SampleModel;
62 * Constructs a IntegerInterleavedRaster with the given SampleModel.
64 * size as the SampleModel. A DataBuffer large enough to describe the
65 * Raster is automatically created. SampleModel must be of type
67 * @param sampleModel The SampleModel that specifies the layout.
70 public IntegerInterleavedRaster(SampleModel sampleModel,
83 * Constructs a IntegerInterleavedRaster with the given SampleModel
85 * it is the same sizes the SampleModel. The DataBuffer is not
86 * initialized and must be a DataBufferInt compatible with SampleModel.
87 * SampleModel mus
[all...]
H A DByteBandedRaster.java30 import java.awt.image.SampleModel;
71 * size as the SampleModel. A dataBuffer large
72 * enough to describe the Raster is automatically created. SampleModel
74 * @param sampleModel The SampleModel that specifies the layout.
77 public ByteBandedRaster(SampleModel sampleModel,
92 * it is the same size as the SampleModel. The DataBuffer is not
93 * initialized and must be a DataBufferShort compatible with SampleModel.
94 * SampleModel must be of type BandedSampleModel.
95 * @param sampleModel The SampleModel that specifies the layout.
99 public ByteBandedRaster(SampleModel sampleMode
[all...]
H A DIntegerComponentRaster.java30 import java.awt.image.SampleModel;
102 * Constructs a IntegerComponentRaster with the given SampleModel.
104 * size as the SampleModel. A DataBuffer large enough to describe the
105 * Raster is automatically created. SampleModel must be of type
107 * @param sampleModel The SampleModel that specifies the layout.
110 public IntegerComponentRaster(SampleModel sampleModel,
123 * Constructs a IntegerComponentRaster with the given SampleModel
125 * it is the same sizes the SampleModel. The DataBuffer is not
126 * initialized and must be a DataBufferInt compatible with SampleModel.
127 * SampleModel mus
[all...]
H A DShortBandedRaster.java30 import java.awt.image.SampleModel;
67 * Constructs a ShortBandedRaster with the given SampleModel.
69 * size as the SampleModel. A DataBuffer large enough to describe the
70 * Raster is automatically created. SampleModel must be of type
72 * @param sampleModel The SampleModel that specifies the layout.
75 public ShortBandedRaster(SampleModel sampleModel,
88 * Constructs a ShortBandedRaster with the given SampleModel
90 * it is the same size as the SampleModel. The DataBuffer is not
91 * initialized and must be a DataBufferUShort compatible with SampleModel.
92 * SampleModel mus
[all...]
H A DShortInterleavedRaster.java30 import java.awt.image.SampleModel;
64 * Constructs a ShortInterleavedRaster with the given SampleModel.
66 * size as the SampleModel. A DataBuffer large enough to describe the
67 * Raster is automatically created. SampleModel must be of type
69 * @param sampleModel The SampleModel that specifies the layout.
72 public ShortInterleavedRaster(SampleModel sampleModel, Point origin) {
84 * Constructs a ShortInterleavedRaster with the given SampleModel
86 * it is the same sizes the SampleModel. The DataBuffer is not
87 * initialized and must be a DataBufferUShort compatible with SampleModel.
88 * SampleModel mus
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DRenderedImage.java91 * Returns the SampleModel associated with this image. All Rasters
92 * returned from this image will have this as their SampleModel.
93 * @return the <code>SampleModel</code> of this image.
95 SampleModel getSampleModel();
210 * SampleModel that is compatible with this image. If raster is null,
H A DPixelInterleavedSampleModel.java119 * @param w the width of the resulting <code>SampleModel</code>
120 * @param h the height of the resulting <code>SampleModel</code>
121 * @return a new <code>SampleModel</code> with the specified width
126 public SampleModel createCompatibleSampleModel(int w, int h) {
157 public SampleModel createSubsetSampleModel(int bands[]) {
H A DRaster.java52 * SampleModel that describes how to locate a given sample value in a
66 * A SampleModel describes how samples of a Raster
71 * MultiPixelPackedSampleModel. The SampleModel is also
76 * Although a Raster may live anywhere in the plane, a SampleModel
80 * that of the SampleModel. The translation from the SampleModel
101 * corresponding SampleModel coordinate, and in the second case (-50,
118 * an externally generated SampleModel and DataBuffer.
120 * @see java.awt.image.SampleModel
129 * The SampleModel tha
[all...]
H A DMultiPixelPackedSampleModel.java65 public class MultiPixelPackedSampleModel extends SampleModel
177 * @return a {@link SampleModel} with the specified width and height
183 public SampleModel createCompatibleSampleModel(int w, int h) {
184 SampleModel sampleModel =
322 * @return a new <code>SampleModel</code> with a subset of bands of
329 public SampleModel createSubsetSampleModel(int bands[]) {
335 SampleModel sm = createCompatibleSampleModel(width, height);
427 * to transfer between two <code>DataBuffer/SampleModel</code> pairs
576 * transfer between two <code>DataBuffer/SampleModel</code> pairs is
577 * legitimate if the <code>SampleModel</cod
[all...]
H A DWritableRaster.java52 * Constructs a WritableRaster with the given SampleModel. The
54 * same size as the SampleModel. A DataBuffer large enough to
56 * @param sampleModel The SampleModel that specifies the layout.
63 protected WritableRaster(SampleModel sampleModel,
76 * Constructs a WritableRaster with the given SampleModel and DataBuffer.
78 * size as the SampleModel. The DataBuffer is not initialized and must
79 * be compatible with SampleModel.
80 * @param sampleModel The SampleModel that specifies the layout.
88 protected WritableRaster(SampleModel sampleModel,
102 * Constructs a WritableRaster with the given SampleModel, DataBuffe
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/bmp/
H A DBMPImageWriterSpi.java29 import java.awt.image.SampleModel;
87 SampleModel sm = type.getSampleModel();
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFImageWriterSpi.java29 import java.awt.image.SampleModel;
81 SampleModel sm = type.getSampleModel();
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DJPEGImageWriterSpi.java38 import java.awt.image.SampleModel;
75 SampleModel sampleModel = type.getSampleModel();
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/wbmp/
H A DWBMPImageWriterSpi.java39 import java.awt.image.SampleModel;
80 SampleModel sm = type.getSampleModel();
/openjdk7/jdk/test/sun/java2d/cmm/ColorConvertOp/
H A DColCvtAlpha.java37 import java.awt.image.SampleModel;
64 SampleModel sm = new PixelInterleavedSampleModel
H A DImageFactory.java34 import java.awt.image.SampleModel;
77 SampleModel sm = ccm.createCompatibleSampleModel(WIDTH, HEIGHT);
123 SampleModel sm = dcm.createCompatibleSampleModel(WIDTH, HEIGHT);
155 public static void fillCCM(DataBuffer data, SampleModel sm, ColorSpace cs) {
282 public static void fillDCM(DataBuffer data, SampleModel sm, int csType,
298 public static void fillDCM(DataBuffer data, SampleModel sm, int csType) {
/openjdk7/jdk/src/macosx/classes/sun/java2d/
H A DIntegerNIORaster.java51 public IntegerNIORaster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin) {
69 SampleModel sm = sampleModel.createCompatibleSampleModel(w,h);
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/
H A DPNGImageWriterSpi.java30 import java.awt.image.SampleModel;
78 SampleModel sampleModel = type.getSampleModel();
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DImageUtil.java46 import java.awt.image.SampleModel;
94 SampleModel bandedSM =
110 * specified <code>SampleModel</code>. If a suitable
116 * For 1- and 3- banded <code>SampleModel</code>s, the returned
118 * <code>SampleModel</code>s, the output will use alpha transparency
134 * the supplied <code>SampleModel</code>, or <code>null</code>.
139 public static final ColorModel createColorModel(SampleModel sampleModel) {
256 * <code>false</code> with the <code>SampleModel</code> of the
261 SampleModel sm = raster.getSampleModel();
441 * <code>false</code> with the <code>SampleModel</cod
[all...]
/openjdk7/jdk/src/share/classes/java/awt/image/renderable/
H A DRenderableImageProducer.java45 import java.awt.image.SampleModel;
169 SampleModel sampleModel = raster.getSampleModel();

Completed in 4646 milliseconds

123