Searched defs:transferType (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/image/
H A DPackedColorModel.java40 * primitive array pixel representation of type <code>transferType</code>.
121 * @param transferType the type of array used to represent pixel values
128 int trans, int transferType) {
132 isAlphaPremultiplied, trans, transferType);
188 * @param transferType the type of array used to represent pixel values
196 int trans, int transferType) {
200 isAlphaPremultiplied, trans, transferType);
310 return new SinglePixelPackedSampleModel(transferType, w, h,
336 if (sm.getTransferType() != transferType) {
350 int maxMask = (int)((1L << DataBuffer.getDataTypeSize(transferType))
125 PackedColorModel(ColorSpace space, int bits, int[] colorMaskArray, int alphaMask, boolean isAlphaPremultiplied, int trans, int transferType) argument
193 PackedColorModel(ColorSpace space, int bits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int trans, int transferType) argument
[all...]
H A DDirectColorModel.java44 * pixel representation of type <code>transferType</code>, the array
92 * transferType: DataBuffer.TYPE_INT
225 * @param transferType the type of array used to represent pixel values
233 int transferType) {
237 transferType);
471 * by an array of data elements of type <code>transferType</code> passed
478 * <code>transferType</code>, a <code>ClassCastException</code> is
485 * <code>transferType</code>.
487 * <code>transferType</code> is not supported by this
494 * primitive array of type <code>transferType</cod
230 DirectColorModel(ColorSpace space, int bits, int rmask, int gmask, int bmask, int amask, boolean isAlphaPremultiplied, int transferType) argument
[all...]
H A DComponentColorModel.java41 * a primitive array pixel representation of type <CODE>transferType</CODE>,
217 * there is alpha information. When the <CODE>transferType</CODE> is
229 * The <CODE>transferType</CODE> is the type of primitive array used
237 * Ignored if transferType is one of
247 * @param transferType Specifies the type of primitive array used to
252 * color and alpha components, and transferType is one of
256 * @throws IllegalArgumentException If transferType is not one of
272 int transferType) {
273 super (bitsHelper(transferType, colorSpace, hasAlpha),
274 bitsArrayHelper(bits, transferType, colorSpac
267 ComponentColorModel(ColorSpace colorSpace, int[] bits, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) argument
346 ComponentColorModel(ColorSpace colorSpace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) argument
355 bitsHelper(int transferType, ColorSpace colorSpace, boolean hasAlpha) argument
366 bitsArrayHelper(int[] origBits, int transferType, ColorSpace colorSpace, boolean hasAlpha) argument
[all...]
H A DIndexColorModel.java103 * type <code>transferType</code>, the array length is always one.
393 * @param transferType the data type of the array used to represent
401 * @throws IllegalArgumentException if <code>transferType</code> is not
407 boolean hasalpha, int trans, int transferType) {
412 transferType);
422 if ((transferType != DataBuffer.TYPE_BYTE) &&
423 (transferType != DataBuffer.TYPE_USHORT)) {
424 throw new IllegalArgumentException("transferType must be either" +
456 * @param transferType the specified data type
466 * @throws IllegalArgumentException if <code>transferType</cod
405 IndexColorModel(int bits, int size, int cmap[], int start, boolean hasalpha, int trans, int transferType) argument
472 IndexColorModel(int bits, int size, int cmap[], int start, int transferType, BigInteger validBits) argument
[all...]
H A DColorModel.java177 protected int transferType; field in class:ColorModel
275 // REMIND: make sure transferType is set correctly
276 transferType = ColorModel.getDefaultTransferType(bits);
314 * @param transferType the type of the array used to represent pixel
329 int transferType) {
392 this.transferType = transferType;
429 return transferType;
600 * specified by an array of data elements of type transferType passed
606 * transferType,
325 ColorModel(int pixel_bits, int[] bits, ColorSpace cspace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageTypeSpecifier.java142 int transferType; field in class:ImageTypeSpecifier.Packed
150 int transferType,
159 if (transferType != DataBuffer.TYPE_BYTE &&
160 transferType != DataBuffer.TYPE_USHORT &&
161 transferType != DataBuffer.TYPE_INT) {
163 ("Bad value for transferType!");
175 this.transferType = transferType;
184 transferType);
204 * @param transferType th
145 Packed(ColorSpace colorSpace, int redMask, int greenMask, int blueMask, int alphaMask, int transferType, boolean isAlphaPremultiplied) argument
224 createPacked(ColorSpace colorSpace, int redMask, int greenMask, int blueMask, int alphaMask, int transferType, boolean isAlphaPremultiplied) argument
[all...]

Completed in 279 milliseconds