diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-02-01 15:45:39 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-02-01 15:45:39 +0100 |
commit | 35244064bbb2a853fb5c08898e8a74a7ec489aaa (patch) | |
tree | e9b7ccb8b46174301ccf106807ea2fcd640350e5 /test/monniaux/jpeg-6b/jcprepct.c | |
parent | 8ae9063a94fbf3756bb2b1d596f35b81e3e608eb (diff) | |
download | compcert-kvx-35244064bbb2a853fb5c08898e8a74a7ec489aaa.tar.gz compcert-kvx-35244064bbb2a853fb5c08898e8a74a7ec489aaa.zip |
block tail calls etc.
Diffstat (limited to 'test/monniaux/jpeg-6b/jcprepct.c')
-rw-r--r-- | test/monniaux/jpeg-6b/jcprepct.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/monniaux/jpeg-6b/jcprepct.c b/test/monniaux/jpeg-6b/jcprepct.c index 85892e21..fa93333d 100644 --- a/test/monniaux/jpeg-6b/jcprepct.c +++ b/test/monniaux/jpeg-6b/jcprepct.c @@ -288,8 +288,8 @@ create_context_buffer (j_compress_ptr cinfo) */ true_buffer = (*cinfo->mem->alloc_sarray) ((j_common_ptr) cinfo, JPOOL_IMAGE, - (JDIMENSION) DIVISION(((long) compptr->width_in_blocks * DCTSIZE * - cinfo->max_h_samp_factor), compptr->h_samp_factor), + (JDIMENSION) (((long) compptr->width_in_blocks * DCTSIZE * + cinfo->max_h_samp_factor) / compptr->h_samp_factor), (JDIMENSION) (3 * rgroup_height)); /* Copy true buffer row pointers into the middle of the fake row array */ MEMCOPY(fake_buffer + rgroup_height, true_buffer, @@ -346,8 +346,8 @@ jinit_c_prep_controller (j_compress_ptr cinfo, boolean need_full_buffer) ci++, compptr++) { prep->color_buf[ci] = (*cinfo->mem->alloc_sarray) ((j_common_ptr) cinfo, JPOOL_IMAGE, - (JDIMENSION) DIVISION(((long) compptr->width_in_blocks * DCTSIZE * - cinfo->max_h_samp_factor), compptr->h_samp_factor), + (JDIMENSION) (((long) compptr->width_in_blocks * DCTSIZE * + cinfo->max_h_samp_factor) / compptr->h_samp_factor), (JDIMENSION) cinfo->max_v_samp_factor); } } |