mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 03:55:28 -04:00
Use a static import.
This commit is contained in:
parent
b34b26e08c
commit
f1f98bb4a4
@ -61,6 +61,8 @@ import java.util.ArrayList;
|
|||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import static com.twelvemonkeys.imageio.plugins.webp.lossless.VP8LDecoder.copyIntoRasterWithParams;
|
||||||
|
|
||||||
import static java.lang.Math.max;
|
import static java.lang.Math.max;
|
||||||
import static java.lang.Math.min;
|
import static java.lang.Math.min;
|
||||||
|
|
||||||
@ -560,7 +562,7 @@ final class WebPImageReader extends ImageReaderBase {
|
|||||||
|
|
||||||
// Copy into destination raster
|
// Copy into destination raster
|
||||||
WritableRaster dstRaster = destination.getAlphaRaster();
|
WritableRaster dstRaster = destination.getAlphaRaster();
|
||||||
VP8LDecoder.copyIntoRasterWithParams(alphaRaster, dstRaster, param);
|
copyIntoRasterWithParams(alphaRaster, dstRaster, param);
|
||||||
}
|
}
|
||||||
|
|
||||||
private int getPredictorAlpha(WritableRaster alphaRaster, int filtering, int y, int x) {
|
private int getPredictorAlpha(WritableRaster alphaRaster, int filtering, int y, int x) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user