Examples of copyDataToRaster()


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();
        }
    }

    final boolean INTERLEAVED3OPT = true;
View Full Code Here

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

            break;
        }
        if (dst.needsClamping()) {
            dst.clampDataArrays();
        }
        dst.copyDataToRaster();
    }

    private void byteAbsolute(int numBands,
                              int dstWidth,
                              int dstHeight,
View Full Code Here

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

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

        // Make sure that the output data is copied to the destination.
        dstAccessor.copyDataToRaster();
    }

    private void computeRectDouble(RasterAccessor srcAccessor,
                                   RasterAccessor dstAccessor,
                                   int numRows,
View Full Code Here

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

        // 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 (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 (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

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 now that we're done with it.
        if (dstAccessor.isDataCopy()) {
            dstAccessor.clampDataArrays();
            dstAccessor.copyDataToRaster();
        }
    }


    private void preComputePositionsInt(Rectangle destRect,
View Full Code Here

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

            break;
        default:
            throw new RuntimeException(JaiI18N.getString("OrderedDitherOpImage1"));
        }

        dst.copyDataToRaster();
    }

    /**
     * Computes a <code>Rectangle</code> of data for byte imagery.
     */
 
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
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.