Home | History | Annotate | Download | only in turbojpeg

Lines Matching defs:dstImage

455    * @param dstImage {@link YUVImage} instance that will receive the YUV planar
465 public void decompressToYUV(YUVImage dstImage, int flags)
469 if (dstImage == null || flags < 0)
471 int scaledWidth = getScaledWidth(dstImage.getWidth(),
472 dstImage.getHeight());
473 int scaledHeight = getScaledHeight(dstImage.getWidth(),
474 dstImage.getHeight());
475 if (scaledWidth != dstImage.getWidth() ||
476 scaledHeight != dstImage.getHeight())
478 if (jpegSubsamp != dstImage.getSubsamp())
481 decompressToYUV(jpegBuf, jpegBufSize, dstImage.getPlanes(),
482 dstImage.getOffsets(), dstImage.getWidth(),
483 dstImage.getStrides(), dstImage.getHeight(), flags);
491 YUVImage dstImage = new YUVImage(dstBuf, jpegWidth, 4, jpegHeight,
493 decompressToYUV(dstImage, flags);
612 YUVImage dstImage = new YUVImage(jpegWidth, 4, jpegHeight, jpegSubsamp);
613 decompressToYUV(dstImage, flags);
614 return dstImage.getBuf();
703 * @param dstImage a <code>BufferedImage</code> instance that will receive
714 public void decompress(BufferedImage dstImage, int flags)
716 if (dstImage == null || flags < 0)
718 dstImage.getWidth();
719 int desiredHeight = dstImage.getHeight();
737 switch(dstImage.getType()) {
767 WritableRaster wr = dstImage.getRaster();
770 (SinglePixelPackedSampleModel)dstImage.getSampleModel();
787 (ComponentSampleModel)dstImage.getSampleModel();