APIdia Launch Partner
Top Description Methods
com.sun.javafx.iio.common

public Interface PushbroomScaler

Known Direct Implementers
com.sun.javafx.iio.common.RoughScaler, com.sun.javafx.iio.common.SmoothMinifier
Imports
java.nio.ByteBuffer

An interface describing an implementation of scaling for sources acquired line-by-line as for a pushbroom scanner.

Method Summary

Modifier and TypeMethod and Description
public ByteBuffer

Returns:

The destination buffer.
getDestination
()

Retrieves the destination buffer.

public boolean

Returns:

Whether the destination image is complete.
putSourceScanline
(byte[]
One scanline of source data.
scanline
,
int
The offset into the buffer.
off
)

Push one scanline of source pixels into the scaling engine.

Method Detail

getDestinationback to summary
public ByteBuffer getDestination()

Retrieves the destination buffer.

Returns:ByteBuffer

The destination buffer.

putSourceScanlineback to summary
public boolean putSourceScanline(byte[] scanline, int off)

Push one scanline of source pixels into the scaling engine.

Parameters
scanline:byte[]

One scanline of source data.

off:int

The offset into the buffer.

Returns:boolean

Whether the destination image is complete.

Exceptions
IllegalArgumentException:
if off < 0.