Examples of copyDataToRaster()


Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

        case DataBuffer.TYPE_DOUBLE:
            computeRectDouble(src, dst);
            break;
        }

        dst.copyDataToRaster();
    }

    private void computeRectByte(RasterAccessor src,
                                 RasterAccessor dst) {
        int dstWidth = dst.getWidth();
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

        // If the RasterAccessor object set up a temporary buffer for the
        // op to write to, tell the RasterAccessor to write that data
        // to the raster, that we're done with it.
        if (dstAccessor.isDataCopy()) {
            dstAccessor.clampDataArrays();
            dstAccessor.copyDataToRaster();
        }
    }

    private void byteLoop(RasterAccessor src,
                          Rectangle destRect,
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

            break;
        }

        if (dst.isDataCopy()) {
            dst.clampDataArrays();
            dst.copyDataToRaster();
        }
    }

    private void byteLoop(int width, int height, int bands,
                          int srcPixelStride, int srcLineStride,
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

        // If the RasterAccessor object set up a temporary buffer for the
        // op to write to, tell the RasterAccessor to write that data
        // to the raster no that we're done with it.
        if (dstAccessor.isDataCopy()) {
            dstAccessor.clampDataArrays();
            dstAccessor.copyDataToRaster();
        }
    }

    private void byteLoop(RasterAccessor src, Rectangle destRect,
        RasterAccessor dst, int xpos[], int ypos[],
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

                    dstLineStride, dstPixelStride,
                    dstBandOffsets, d.getIntDataArrays());
            break;
        }
 
        d.copyDataToRaster();
    }

    private void byteLoop(int dstNumBands, int dstWidth, int dstHeight,
                          int src1LineStride, int src1PixelStride,
                          int[] src1BandOffsets, byte[][] src1Data,
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

        // If the RasterAccessor object set up a temporary buffer for the
        // op to write to, tell the RasterAccessor to write that data
        // to the raster no that we're done with it.
        if (dstAccessor.isDataCopy()) {
            dstAccessor.clampDataArrays();
            dstAccessor.copyDataToRaster();
        }
    }

    private void byteLoop(RasterAccessor src, RasterAccessor dst) {
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

        // If the RasterAccessor object set up a temporary buffer for the
        // op to write to, tell the RasterAccessor to write that data
        // to the raster no that we're done with it.
        if (dstAccessor.isDataCopy()) {
            dstAccessor.clampDataArrays();
            dstAccessor.copyDataToRaster();
        }
    }
    private void byteLoop(RasterAccessor src, RasterAccessor dst) {
        int dwidth    = dst.getWidth();
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

        // If the RasterAccessor object set up a temporary buffer for the
        // op to write to, tell the RasterAccessor to write that data
        // to the raster, that we're done with it.
        if (dstAccessor.isDataCopy()) {
            dstAccessor.clampDataArrays();
            dstAccessor.copyDataToRaster();
        }
    }

    private void byteLoop(RasterAccessor src,
                          Rectangle destRect,
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

                    dstLineStride, dstPixelStride,
                    dstBandOffsets, dst.getIntDataArrays());
            break;
        }
 
        dst.copyDataToRaster();
    }

    private void byteLoop(int dstNumBands, int dstWidth, int dstHeight,
                          int srcLineStride, int srcPixelStride,
                          int[] srcBandOffsets, byte[][] srcData,
View Full Code Here

Examples of com.lightcrafts.mediax.jai.RasterAccessor.copyDataToRaster()

        if (d.needsClamping()) {
            d.clampDataArrays();
        }

        d.copyDataToRaster();
    }

    private void byteLoop(int dstNumBands, int dstWidth, int dstHeight,
                          int src1LineStride, int src1PixelStride,
                          int[] src1BandOffsets, byte[][] src1Data,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.