< prev index next >
modules/javafx.graphics/src/main/native-iio/libjpeg7/jdtrans.c
Print this page
*** 1,9 ****
--- 1,10 ----
/*
* jdtrans.c
*
* Copyright (C) 1995-1997, Thomas G. Lane.
+ * Modified 2000-2009 by Guido Vollbeding.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains library routines for transcoding decompression,
* that is, reading raw DCT coefficient arrays from an input JPEG file.
*** 97,106 ****
--- 98,110 ----
transdecode_master_selection (j_decompress_ptr cinfo)
{
/* This is effectively a buffered-image operation. */
cinfo->buffered_image = TRUE;
+ /* Compute output image dimensions and related values. */
+ jpeg_core_output_dimensions(cinfo);
+
/* Entropy decoding: either Huffman or arithmetic coding. */
if (cinfo->arith_code)
ERREXIT(cinfo, JERR_ARITH_NOTIMPL);
else {
jinit_huff_decoder(cinfo);
< prev index next >