Examples of copyDataToRaster()


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

                srcPixelOffset += srcPixelStride;
                dstPixelOffset += dstPixelStride;
            }
        }

        d.copyDataToRaster();

        return dst;
    }

    static final int clamp(int in, int maxVal) {
View Full Code Here

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

        }

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

    private void computeRectByte(RasterAccessor src1,
                                 RasterAccessor src2,
                                 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();
        }
    }

    // The native bilateral filter implementation bilateralFilterChroma()
    // crashes intermittently on Linux, so use bilateralFilterLuma()
View Full Code Here

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

        }

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

    private static int softLightBlendPixelsIntensity(int front, int back, short intensityTable[]) {
        int m = front * back / c;
        int s = c - (c - front) * (c - back) / c;
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();
        }
    }

    protected void ushortLoop(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()

            break;
        }

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

    private void computeRectByte(RasterAccessor src, RasterAccessor dst) {
        int sLineStride = src.getScanlineStride();
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();
        }
    }

    protected void ushortLoop(RasterAccessor src, RasterAccessor dst) {
        int swidth = src.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 no that we're done with it.
        if (dstAccessor.isDataCopy()) {
            dstAccessor.clampDataArrays();
            dstAccessor.copyDataToRaster();
        }
    }

    protected void ushortLoop(RasterAccessor src, RasterAccessor dst) {
        int width = src.getWidth();
View Full Code Here

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

        }

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

    private void computeRectByte(RasterAccessor src1,
                                 RasterAccessor src2,
                                 RasterAccessor dst) {
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.