diff options
author | DRC <dcommander@users.sourceforge.net> | 2010-10-09 19:57:51 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2010-10-09 19:57:51 +0000 |
commit | 49967cdb30edd0479a1719eedc1dace5ba078d3f (patch) | |
tree | 169ddee38f19d49d054222bdb8bb932bb4b749b6 /jdinput.c | |
parent | 10acd811d06d3f1a5743875028d6396ac70df0ef (diff) |
Improve readability and flexibility of compatibility macros
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@241 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jdinput.c')
-rw-r--r-- | jdinput.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -228,7 +228,7 @@ per_scan_setup (j_decompress_ptr cinfo) compptr->MCU_width = 1; compptr->MCU_height = 1; compptr->MCU_blocks = 1; - compptr->MCU_sample_width = _DCT_scaled_size; + compptr->MCU_sample_width = compptr->_DCT_scaled_size; compptr->last_col_width = 1; /* For noninterleaved scans, it is convenient to define last_row_height * as the number of block rows present in the last iMCU row. @@ -264,7 +264,7 @@ per_scan_setup (j_decompress_ptr cinfo) compptr->MCU_width = compptr->h_samp_factor; compptr->MCU_height = compptr->v_samp_factor; compptr->MCU_blocks = compptr->MCU_width * compptr->MCU_height; - compptr->MCU_sample_width = compptr->MCU_width * _DCT_scaled_size; + compptr->MCU_sample_width = compptr->MCU_width * compptr->_DCT_scaled_size; /* Figure number of non-dummy blocks in last MCU column & row */ tmp = (int) (compptr->width_in_blocks % compptr->MCU_width); if (tmp == 0) tmp = compptr->MCU_width; |