Top Inners Fields Constructors Methods
com.sun.javafx.image.impl

public abstract Class BaseIntToIntConverter

extends Object
implements IntToIntPixelConverter
Class Inheritance
All Implemented Interfaces
com.sun.javafx.image.IntToIntPixelConverter, com.sun.javafx.image.PixelConverter
Known Direct Subclasses
com.sun.javafx.image.impl.BaseIntToIntConverter.IntAnyToSameConverter, com.sun.javafx.image.impl.General.IntToIntGeneralConverter, com.sun.javafx.image.impl.IntArgb.ToIntArgbPreConv, com.sun.javafx.image.impl.IntArgbPre.ToIntArgbConv, com.sun.javafx.image.impl.IntBgr.ToIntArgbPreConv, com.sun.javafx.image.impl.IntRgb.ToIntArgbPreConv
Imports
com.sun.javafx.image.IntPixelAccessor, .IntPixelGetter, .IntPixelSetter, .IntToIntPixelConverter, java.nio.IntBuffer

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
protected final IntPixelGetter
protected final IntPixelSetter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final void
convert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)

Implements com.sun.javafx.image.IntToIntPixelConverter.convert.

Copies a rectangular region of data from the source array to the destination array using the following relationship:

for each xy : 0 <= x,y < w,h {
    int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
    int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
    for each j : 0 <= j < srcintsperpixel {
        load data from srcarr[srcpos + j];
    }
    convert data to destination pixel format
    for each k : 0 <= k < dstintsperpixel {
        store data into dstarr[dstpos + k] = pixel data;
    }
}
public final void
convert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)

Implements com.sun.javafx.image.PixelConverter.convert.

Copies a rectangular region of data from the source buffer to the destination buffer using the following relationship:

for each xy : 0 <= x,y < w,h {
    int srcpos = y * srcscanelems + x * srcelemsperpixel + srcoff;
    int dstpos = y * dstscanelems + x * dstelemsperpixel + dstoff;
    for each j : 0 <= j < srcelemsperpixel {
        load data from srcbuf.get(srcpos + j);
    }
    convert data to destination pixel format
    for each k : 0 <= k < dstelemsperpixel {
        store data into dstbuf.put(dstpos + k, pixel data);
    }
}
public final void
convert(IntBuffer srcbuf, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)

Implements com.sun.javafx.image.IntToIntPixelConverter.convert.

Copies a rectangular region of data from the source buffer to the destination array using the following relationship:

for each xy : 0 <= x,y < w,h {
    int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
    int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
    for each j : 0 <= j < srcintsperpixel {
        load data from srcbuf.get(srcpos + j);
    }
    convert data to destination pixel format
    for each k : 0 <= k < dstintsperpixel {
        store data into dstarr[dstpos + k] = pixel data;
    }
}
public final void
convert(int[] srcarr, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)

Implements com.sun.javafx.image.IntToIntPixelConverter.convert.

Copies a rectangular region of data from the source array to the destination buffer using the following relationship:

for each xy : 0 <= x,y < w,h {
    int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
    int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
    for each j : 0 <= j < srcintsperpixel {
        load data from srcarr[srcpos + j];
    }
    convert data to destination pixel format
    for each k : 0 <= k < dstintsperpixel {
        store data into dstbuf.put(dstpos + k, pixel data);
    }
}
pack-priv static IntToIntPixelConverter
pack-priv abstract void
doConvert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)

pack-priv abstract void
doConvert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)

public final IntPixelGetter
public final IntPixelSetter
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

getterback to summary
protected final IntPixelGetter getter
setterback to summary
protected final IntPixelSetter setter

Constructor Detail

BaseIntToIntConverterback to summary
public BaseIntToIntConverter(IntPixelGetter getter, IntPixelSetter setter)

Method Detail

convertback to summary
public final void convert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)

Implements com.sun.javafx.image.IntToIntPixelConverter.convert.

Doc from com.sun.javafx.image.IntToIntPixelConverter.convert.

Copies a rectangular region of data from the source array to the destination array using the following relationship:

for each xy : 0 <= x,y < w,h {
    int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
    int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
    for each j : 0 <= j < srcintsperpixel {
        load data from srcarr[srcpos + j];
    }
    convert data to destination pixel format
    for each k : 0 <= k < dstintsperpixel {
        store data into dstarr[dstpos + k] = pixel data;
    }
}
Annotations
@Override
convertback to summary
public final void convert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)

Implements com.sun.javafx.image.PixelConverter.convert.

Doc from com.sun.javafx.image.PixelConverter.convert.

Copies a rectangular region of data from the source buffer to the destination buffer using the following relationship:

for each xy : 0 <= x,y < w,h {
    int srcpos = y * srcscanelems + x * srcelemsperpixel + srcoff;
    int dstpos = y * dstscanelems + x * dstelemsperpixel + dstoff;
    for each j : 0 <= j < srcelemsperpixel {
        load data from srcbuf.get(srcpos + j);
    }
    convert data to destination pixel format
    for each k : 0 <= k < dstelemsperpixel {
        store data into dstbuf.put(dstpos + k, pixel data);
    }
}
Annotations
@Override
convertback to summary
public final void convert(IntBuffer srcbuf, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)

Implements com.sun.javafx.image.IntToIntPixelConverter.convert.

Doc from com.sun.javafx.image.IntToIntPixelConverter.convert.

Copies a rectangular region of data from the source buffer to the destination array using the following relationship:

for each xy : 0 <= x,y < w,h {
    int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
    int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
    for each j : 0 <= j < srcintsperpixel {
        load data from srcbuf.get(srcpos + j);
    }
    convert data to destination pixel format
    for each k : 0 <= k < dstintsperpixel {
        store data into dstarr[dstpos + k] = pixel data;
    }
}
Annotations
@Override
convertback to summary
public final void convert(int[] srcarr, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)

Implements com.sun.javafx.image.IntToIntPixelConverter.convert.

Doc from com.sun.javafx.image.IntToIntPixelConverter.convert.

Copies a rectangular region of data from the source array to the destination buffer using the following relationship:

for each xy : 0 <= x,y < w,h {
    int srcpos = y * srcscanints + x * srcintsperpixel + srcoff;
    int dstpos = y * dstscanints + x * dstintsperpixel + dstoff;
    for each j : 0 <= j < srcintsperpixel {
        load data from srcarr[srcpos + j];
    }
    convert data to destination pixel format
    for each k : 0 <= k < dstintsperpixel {
        store data into dstbuf.put(dstpos + k, pixel data);
    }
}
Annotations
@Override
createback to summary
pack-priv static IntToIntPixelConverter create(IntPixelAccessor fmt)
doConvertback to summary
pack-priv abstract void doConvert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)
doConvertback to summary
pack-priv abstract void doConvert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)
getGetterback to summary
public final IntPixelGetter getGetter()

Implements com.sun.javafx.image.PixelConverter.getGetter.

Annotations
@Override
getSetterback to summary
public final IntPixelSetter getSetter()

Implements com.sun.javafx.image.PixelConverter.getSetter.

Annotations
@Override
com.sun.javafx.image.impl back to summary

pack-priv Class BaseIntToIntConverter.IntAnyToSameConverter

extends BaseIntToIntConverter
Class Inheritance

Field Summary

Inherited from com.sun.javafx.image.impl.BaseIntToIntConverter:
gettersetter

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
doConvert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)

Implements abstract com.sun.javafx.image.impl.BaseIntToIntConverter.doConvert.

pack-priv void
doConvert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)

Implements abstract com.sun.javafx.image.impl.BaseIntToIntConverter.doConvert.

Inherited from com.sun.javafx.image.impl.BaseIntToIntConverter:
convertconvertconvertconvertcreategetGettergetSetter

Constructor Detail

IntAnyToSameConverterback to summary
pack-priv IntAnyToSameConverter(IntPixelAccessor fmt)

Method Detail

doConvertback to summary
pack-priv void doConvert(int[] srcarr, int srcoff, int srcscanints, int[] dstarr, int dstoff, int dstscanints, int w, int h)

Implements abstract com.sun.javafx.image.impl.BaseIntToIntConverter.doConvert.

Annotations
@Override
doConvertback to summary
pack-priv void doConvert(IntBuffer srcbuf, int srcoff, int srcscanints, IntBuffer dstbuf, int dstoff, int dstscanints, int w, int h)

Implements abstract com.sun.javafx.image.impl.BaseIntToIntConverter.doConvert.

Annotations
@Override