annotate OrthancFramework/Resources/Patches/dcmtk-3.6.7-visual-studio.patch @ 5533:72511fbd1605

Added MaximumPatientCount in /system
author Alain Mazy <am@osimis.io>
date Mon, 19 Feb 2024 18:21:10 +0100
parents a342e561c29d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5075
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jccoefct.c dcmtk-3.6.7/dcmjpeg/libijg12/jccoefct.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jccoefct.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jccoefct.c 2022-08-16 12:21:34.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 @@ -343,7 +343,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 METHODDEF(boolean)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 - (void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 + //(void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 j_lossy_c_ptr lossyc = (j_lossy_c_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 c_coef_ptr coef = (c_coef_ptr) lossyc->coef_private;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 JDIMENSION MCU_col_num; /* index of current MCU within row */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jcdiffct.c dcmtk-3.6.7/dcmjpeg/libijg12/jcdiffct.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jcdiffct.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jcdiffct.c 2022-08-16 12:21:20.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 @@ -302,7 +302,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 METHODDEF(boolean)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 - (void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 + //(void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 j_lossless_c_ptr losslsc = (j_lossless_c_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 c_diff_ptr diff = (c_diff_ptr) losslsc->diff_private;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 /* JDIMENSION MCU_col_num; */ /* index of current MCU within row */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jcpred.c dcmtk-3.6.7/dcmjpeg/libijg12/jcpred.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jcpred.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jcpred.c 2022-08-16 12:21:04.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 @@ -213,7 +213,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 const JSAMPROW input_buf, JSAMPROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 JDIFFROW diff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 - (void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 + //(void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 DIFFERENCE_1D(INITIAL_PREDICTORx);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36 /*
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jctrans.c dcmtk-3.6.7/dcmjpeg/libijg12/jctrans.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jctrans.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jctrans.c 2022-08-16 12:20:36.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 @@ -267,7 +267,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41 METHODDEF(boolean)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 - (void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 + //(void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
46 j_lossy_c_ptr lossyc = (j_lossy_c_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
47 c_coef_ptr coef = (c_coef_ptr) lossyc->coef_private;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48 JDIMENSION MCU_col_num; /* index of current MCU within row */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdmerge.c dcmtk-3.6.7/dcmjpeg/libijg12/jdmerge.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdmerge.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jdmerge.c 2022-08-16 12:20:14.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 @@ -148,7 +148,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54 /* 2:1 vertical sampling case: may need a spare row. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
55 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
56 - (void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
57 + //(void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
58 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
59 JSAMPROW work_ptrs[2];
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
60 JDIMENSION num_rows; /* number of rows returned to caller */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
61 @@ -198,8 +198,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
62 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
63 /* 1:1 vertical sampling case: much easier, never need a spare row. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
64 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
65 - (void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
66 - (void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
67 + //(void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
68 + //(void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
69 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
70
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
71 /* Just do the upsampling. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
72 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdpostct.c dcmtk-3.6.7/dcmjpeg/libijg12/jdpostct.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
73 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdpostct.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
74 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jdpostct.c 2022-08-16 12:19:54.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
75 @@ -161,8 +161,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
76 JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
77 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
78 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
79 - (void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
80 - (void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
81 + //(void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
82 + //(void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
83 my_post_ptr post = (my_post_ptr) cinfo->post;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
84 JDIMENSION old_next_row, num_rows;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
85
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
86 @@ -207,9 +207,9 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
87 JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
88 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
89 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
90 - (void) input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
91 - (void) in_row_group_ctr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
92 - (void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
93 + //(void) input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
94 + //(void) in_row_group_ctr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
95 + //(void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
96
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
97 my_post_ptr post = (my_post_ptr) cinfo->post;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
98 JDIMENSION num_rows, max_rows;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
99 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdpred.c dcmtk-3.6.7/dcmjpeg/libijg12/jdpred.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
100 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdpred.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
101 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jdpred.c 2022-08-16 12:19:22.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
102 @@ -101,8 +101,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
103 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
104 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
105 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
106 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
107 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
108 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
109 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
110 UNDIFFERENCE_1D(INITIAL_PREDICTOR2);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
111 }
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
112
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
113 @@ -111,8 +111,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
114 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
115 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
116 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
117 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
118 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
119 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
120 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
121 UNDIFFERENCE_2D(PREDICTOR2);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
122 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
123 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
124 @@ -123,8 +123,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
125 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
126 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
127 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
128 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
129 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
130 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
131 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
132 UNDIFFERENCE_2D(PREDICTOR3);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
133 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
134 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
135 @@ -135,8 +135,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
136 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
137 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
138 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
139 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
140 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
141 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
142 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
143 UNDIFFERENCE_2D(PREDICTOR4);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
144 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
145 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
146 @@ -147,8 +147,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
147 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
148 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
149 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
150 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
151 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
152 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
153 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
154 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
155 UNDIFFERENCE_2D(PREDICTOR5);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
156 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
157 @@ -160,8 +160,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
158 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
159 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
160 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
161 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
162 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
163 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
164 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
165 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
166 UNDIFFERENCE_2D(PREDICTOR6);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
167 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
168 @@ -173,8 +173,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
169 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
170 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
171 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
172 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
173 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
174 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
175 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
176 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
177 UNDIFFERENCE_2D(PREDICTOR7);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
178 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
179 @@ -195,7 +195,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
180 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
181 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
182
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
183 - (void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
184 + //(void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
185 j_lossless_d_ptr losslsd = (j_lossless_d_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
186
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
187 UNDIFFERENCE_1D(INITIAL_PREDICTORx);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
188 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdsample.c dcmtk-3.6.7/dcmjpeg/libijg12/jdsample.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
189 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdsample.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
190 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jdsample.c 2022-08-16 12:18:32.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
191 @@ -92,7 +92,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
192 JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
193 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
194 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
195 - (void)in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
196 + //(void)in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
197 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
198 int ci;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
199 jpeg_component_info * compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
200 @@ -239,7 +239,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
201 h2v1_upsample (j_decompress_ptr cinfo, jpeg_component_info * compptr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
202 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
203 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
204 - (void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
205 + //(void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
206 JSAMPARRAY output_data = *output_data_ptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
207 register JSAMPROW inptr, outptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
208 register JSAMPLE invalue;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
209 @@ -268,7 +268,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
210 h2v2_upsample (j_decompress_ptr cinfo, jpeg_component_info * compptr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
211 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
212 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
213 - (void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
214 + //(void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
215 JSAMPARRAY output_data = *output_data_ptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
216 register JSAMPROW inptr, outptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
217 register JSAMPLE invalue;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
218 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdscale.c dcmtk-3.6.7/dcmjpeg/libijg12/jdscale.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
219 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jdscale.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
220 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jdscale.c 2022-08-16 12:18:02.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
221 @@ -67,7 +67,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
222 const JDIFFROW diff_buf, JSAMPROW output_buf,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
223 JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
224 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
225 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
226 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
227 unsigned int xindex;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
228
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
229 for (xindex = 0; xindex < width; xindex++)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
230 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jquant1.c dcmtk-3.6.7/dcmjpeg/libijg12/jquant1.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
231 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jquant1.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
232 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jquant1.c 2022-08-16 12:17:44.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
233 @@ -744,7 +744,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
234 METHODDEF(void)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
235 start_pass_1_quant (j_decompress_ptr cinfo, boolean is_pre_scan)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
236 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
237 - (void) is_pre_scan;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
238 + //(void) is_pre_scan;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
239 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
240 size_t arraysize;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
241 int i;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
242 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg12/jquant2.c dcmtk-3.6.7/dcmjpeg/libijg12/jquant2.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
243 --- dcmtk-3.6.7.orig/dcmjpeg/libijg12/jquant2.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
244 +++ dcmtk-3.6.7/dcmjpeg/libijg12/jquant2.c 2022-08-16 12:17:30.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
245 @@ -224,7 +224,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
246 prescan_quantize (j_decompress_ptr cinfo, JSAMPARRAY input_buf,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
247 JSAMPARRAY output_buf, int num_rows)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
248 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
249 - (void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
250 + //(void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
251 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
252 register JSAMPROW ptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
253 register histptr histp;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
254 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jccoefct.c dcmtk-3.6.7/dcmjpeg/libijg16/jccoefct.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
255 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jccoefct.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
256 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jccoefct.c 2022-08-16 12:17:02.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
257 @@ -343,7 +343,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
258 METHODDEF(boolean)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
259 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
260 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
261 - (void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
262 + //(void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
263 j_lossy_c_ptr lossyc = (j_lossy_c_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
264 c_coef_ptr coef = (c_coef_ptr) lossyc->coef_private;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
265 JDIMENSION MCU_col_num; /* index of current MCU within row */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
266 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jcdiffct.c dcmtk-3.6.7/dcmjpeg/libijg16/jcdiffct.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
267 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jcdiffct.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
268 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jcdiffct.c 2022-08-16 12:14:16.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
269 @@ -302,7 +302,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
270 METHODDEF(boolean)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
271 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
272 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
273 - (void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
274 + //(void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
275 j_lossless_c_ptr losslsc = (j_lossless_c_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
276 c_diff_ptr diff = (c_diff_ptr) losslsc->diff_private;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
277 /* JDIMENSION MCU_col_num; */ /* index of current MCU within row */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
278 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jcpred.c dcmtk-3.6.7/dcmjpeg/libijg16/jcpred.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
279 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jcpred.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
280 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jcpred.c 2022-08-16 12:14:00.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
281 @@ -213,7 +213,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
282 const JSAMPROW input_buf, JSAMPROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
283 JDIFFROW diff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
284 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
285 - (void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
286 + //(void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
287 DIFFERENCE_1D(INITIAL_PREDICTORx);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
288
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
289 /*
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
290 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jctrans.c dcmtk-3.6.7/dcmjpeg/libijg16/jctrans.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
291 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jctrans.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
292 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jctrans.c 2022-08-16 12:13:42.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
293 @@ -267,7 +267,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
294 METHODDEF(boolean)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
295 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
296 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
297 - (void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
298 + //(void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
299 j_lossy_c_ptr lossyc = (j_lossy_c_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
300 c_coef_ptr coef = (c_coef_ptr) lossyc->coef_private;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
301 JDIMENSION MCU_col_num; /* index of current MCU within row */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
302 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdmerge.c dcmtk-3.6.7/dcmjpeg/libijg16/jdmerge.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
303 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdmerge.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
304 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jdmerge.c 2022-08-16 12:13:18.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
305 @@ -171,7 +171,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
306 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
307 /* 2:1 vertical sampling case: may need a spare row. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
308 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
309 - (void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
310 + //(void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
311 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
312 JSAMPROW work_ptrs[2];
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
313 JDIMENSION num_rows; /* number of rows returned to caller */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
314 @@ -221,8 +221,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
315 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
316 /* 1:1 vertical sampling case: much easier, never need a spare row. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
317 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
318 - (void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
319 - (void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
320 + //(void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
321 + //(void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
322 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
323
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
324 /* Just do the upsampling. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
325 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdpostct.c dcmtk-3.6.7/dcmjpeg/libijg16/jdpostct.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
326 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdpostct.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
327 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jdpostct.c 2022-08-16 12:12:54.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
328 @@ -161,8 +161,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
329 JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
330 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
331 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
332 - (void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
333 - (void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
334 + //(void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
335 + //(void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
336 my_post_ptr post = (my_post_ptr) cinfo->post;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
337 JDIMENSION old_next_row, num_rows;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
338
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
339 @@ -207,9 +207,9 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
340 JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
341 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
342 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
343 - (void) input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
344 - (void) in_row_group_ctr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
345 - (void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
346 + //(void) input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
347 + //(void) in_row_group_ctr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
348 + //(void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
349 my_post_ptr post = (my_post_ptr) cinfo->post;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
350 JDIMENSION num_rows, max_rows;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
351
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
352 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdpred.c dcmtk-3.6.7/dcmjpeg/libijg16/jdpred.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
353 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdpred.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
354 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jdpred.c 2022-08-16 12:12:26.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
355 @@ -101,8 +101,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
356 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
357 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
358 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
359 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
360 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
361 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
362 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
363 UNDIFFERENCE_1D(INITIAL_PREDICTOR2);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
364 }
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
365
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
366 @@ -111,8 +111,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
367 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
368 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
369 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
370 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
371 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
372 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
373 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
374 UNDIFFERENCE_2D(PREDICTOR2);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
375 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
376 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
377 @@ -123,8 +123,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
378 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
379 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
380 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
381 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
382 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
383 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
384 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
385 UNDIFFERENCE_2D(PREDICTOR3);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
386 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
387 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
388 @@ -135,8 +135,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
389 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
390 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
391 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
392 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
393 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
394 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
395 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
396 UNDIFFERENCE_2D(PREDICTOR4A);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
397 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
398 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
399 @@ -147,8 +147,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
400 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
401 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
402 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
403 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
404 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
405 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
406 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
407 UNDIFFERENCE_2D(PREDICTOR4);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
408 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
409 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
410 @@ -159,8 +159,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
411 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
412 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
413 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
414 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
415 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
416 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
417 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
418 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
419 UNDIFFERENCE_2D(PREDICTOR5);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
420 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
421 @@ -172,8 +172,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
422 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
423 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
424 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
425 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
426 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
427 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
428 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
429 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
430 UNDIFFERENCE_2D(PREDICTOR5A);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
431 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
432 @@ -185,8 +185,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
433 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
434 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
435 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
436 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
437 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
438 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
439 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
440 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
441 UNDIFFERENCE_2D(PREDICTOR6);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
442 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
443 @@ -198,8 +198,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
444 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
445 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
446 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
447 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
448 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
449 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
450 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
451 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
452 UNDIFFERENCE_2D(PREDICTOR6A);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
453 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
454 @@ -211,8 +211,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
455 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
456 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
457 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
458 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
459 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
460 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
461 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
462 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
463 UNDIFFERENCE_2D(PREDICTOR7);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
464 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
465 @@ -224,8 +224,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
466 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
467 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
468 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
469 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
470 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
471 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
472 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
473 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
474 UNDIFFERENCE_2D(PREDICTOR7A);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
475 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
476 @@ -245,7 +245,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
477 const JDIFFROW diff_buf, JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
478 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
479 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
480 - (void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
481 + //(void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
482 j_lossless_d_ptr losslsd = (j_lossless_d_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
483
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
484 UNDIFFERENCE_1D(INITIAL_PREDICTORx);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
485 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdsample.c dcmtk-3.6.7/dcmjpeg/libijg16/jdsample.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
486 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdsample.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
487 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jdsample.c 2022-08-16 12:10:32.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
488 @@ -92,7 +92,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
489 JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
490 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
491 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
492 - (void)in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
493 + //(void)in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
494 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
495 int ci;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
496 jpeg_component_info * compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
497 @@ -239,7 +239,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
498 h2v1_upsample (j_decompress_ptr cinfo, jpeg_component_info * compptr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
499 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
500 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
501 - (void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
502 + //(void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
503 JSAMPARRAY output_data = *output_data_ptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
504 register JSAMPROW inptr, outptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
505 register JSAMPLE invalue;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
506 @@ -268,7 +268,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
507 h2v2_upsample (j_decompress_ptr cinfo, jpeg_component_info * compptr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
508 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
509 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
510 - (void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
511 + //(void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
512 JSAMPARRAY output_data = *output_data_ptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
513 register JSAMPROW inptr, outptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
514 register JSAMPLE invalue;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
515 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdscale.c dcmtk-3.6.7/dcmjpeg/libijg16/jdscale.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
516 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jdscale.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
517 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jdscale.c 2022-08-16 12:04:18.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
518 @@ -67,8 +67,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
519 const JDIFFROW diff_buf, JSAMPROW output_buf,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
520 JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
521 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
522 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
523 unsigned int xindex;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
524 + (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
525
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
526 for (xindex = 0; xindex < width; xindex++)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
527 output_buf[xindex] = (JSAMPLE) diff_buf[xindex];
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
528 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jquant1.c dcmtk-3.6.7/dcmjpeg/libijg16/jquant1.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
529 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jquant1.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
530 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jquant1.c 2022-08-16 12:03:56.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
531 @@ -744,10 +744,10 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
532 METHODDEF(void)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
533 start_pass_1_quant (j_decompress_ptr cinfo, boolean is_pre_scan)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
534 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
535 - (void) is_pre_scan;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
536 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
537 size_t arraysize;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
538 int i;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
539 + (void) is_pre_scan;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
540
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
541 /* Install my colormap. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
542 cinfo->colormap = cquantize->sv_colormap;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
543 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg16/jquant2.c dcmtk-3.6.7/dcmjpeg/libijg16/jquant2.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
544 --- dcmtk-3.6.7.orig/dcmjpeg/libijg16/jquant2.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
545 +++ dcmtk-3.6.7/dcmjpeg/libijg16/jquant2.c 2022-08-16 12:03:14.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
546 @@ -224,7 +224,6 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
547 prescan_quantize (j_decompress_ptr cinfo, JSAMPARRAY input_buf,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
548 JSAMPARRAY output_buf, int num_rows)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
549 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
550 - (void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
551 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
552 register JSAMPROW ptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
553 register histptr histp;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
554 @@ -232,6 +231,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
555 int row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
556 JDIMENSION col;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
557 JDIMENSION width = cinfo->output_width;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
558 + (void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
559
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
560 for (row = 0; row < num_rows; row++) {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
561 ptr = input_buf[row];
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
562 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jccoefct.c dcmtk-3.6.7/dcmjpeg/libijg8/jccoefct.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
563 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jccoefct.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
564 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jccoefct.c 2022-08-16 12:27:04.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
565 @@ -343,7 +343,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
566 METHODDEF(boolean)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
567 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
568 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
569 - (void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
570 + //(void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
571 j_lossy_c_ptr lossyc = (j_lossy_c_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
572 c_coef_ptr coef = (c_coef_ptr) lossyc->coef_private;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
573 JDIMENSION MCU_col_num; /* index of current MCU within row */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
574 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jcdiffct.c dcmtk-3.6.7/dcmjpeg/libijg8/jcdiffct.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
575 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jcdiffct.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
576 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jcdiffct.c 2022-08-16 12:26:48.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
577 @@ -302,7 +302,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
578 METHODDEF(boolean)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
579 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
580 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
581 - (void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
582 + //(void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
583 j_lossless_c_ptr losslsc = (j_lossless_c_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
584 c_diff_ptr diff = (c_diff_ptr) losslsc->diff_private;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
585 /* JDIMENSION MCU_col_num; */ /* index of current MCU within row */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
586 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jcpred.c dcmtk-3.6.7/dcmjpeg/libijg8/jcpred.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
587 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jcpred.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
588 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jcpred.c 2022-08-16 12:26:32.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
589 @@ -213,7 +213,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
590 const JSAMPROW input_buf, JSAMPROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
591 JDIFFROW diff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
592 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
593 - (void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
594 + //(void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
595 DIFFERENCE_1D(INITIAL_PREDICTORx);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
596
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
597 /*
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
598 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jctrans.c dcmtk-3.6.7/dcmjpeg/libijg8/jctrans.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
599 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jctrans.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
600 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jctrans.c 2022-08-16 12:25:56.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
601 @@ -267,7 +267,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
602 METHODDEF(boolean)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
603 compress_output (j_compress_ptr cinfo, JSAMPIMAGE input_buf)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
604 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
605 - (void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
606 + //(void)input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
607 j_lossy_c_ptr lossyc = (j_lossy_c_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
608 c_coef_ptr coef = (c_coef_ptr) lossyc->coef_private;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
609 JDIMENSION MCU_col_num; /* index of current MCU within row */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
610 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdmerge.c dcmtk-3.6.7/dcmjpeg/libijg8/jdmerge.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
611 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdmerge.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
612 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jdmerge.c 2022-08-16 12:25:36.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
613 @@ -148,7 +148,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
614 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
615 /* 2:1 vertical sampling case: may need a spare row. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
616 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
617 - (void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
618 + //(void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
619 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
620 JSAMPROW work_ptrs[2];
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
621 JDIMENSION num_rows; /* number of rows returned to caller */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
622 @@ -198,8 +198,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
623 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
624 /* 1:1 vertical sampling case: much easier, never need a spare row. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
625 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
626 - (void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
627 - (void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
628 + //(void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
629 + //(void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
630 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
631
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
632 /* Just do the upsampling. */
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
633 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdpostct.c dcmtk-3.6.7/dcmjpeg/libijg8/jdpostct.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
634 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdpostct.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
635 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jdpostct.c 2022-08-16 12:25:12.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
636 @@ -161,8 +161,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
637 JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
638 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
639 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
640 - (void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
641 - (void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
642 + //(void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
643 + //(void) out_rows_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
644 my_post_ptr post = (my_post_ptr) cinfo->post;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
645 JDIMENSION old_next_row, num_rows;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
646
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
647 @@ -207,9 +207,9 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
648 JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
649 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
650 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
651 - (void) input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
652 - (void) in_row_group_ctr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
653 - (void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
654 + //(void) input_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
655 + //(void) in_row_group_ctr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
656 + //(void) in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
657 my_post_ptr post = (my_post_ptr) cinfo->post;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
658 JDIMENSION num_rows, max_rows;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
659
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
660 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdpred.c dcmtk-3.6.7/dcmjpeg/libijg8/jdpred.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
661 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdpred.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
662 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jdpred.c 2022-08-16 12:23:34.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
663 @@ -101,8 +101,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
664 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
665 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
666 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
667 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
668 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
669 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
670 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
671 UNDIFFERENCE_1D(INITIAL_PREDICTOR2);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
672 }
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
673
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
674 @@ -111,8 +111,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
675 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
676 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
677 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
678 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
679 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
680 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
681 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
682 UNDIFFERENCE_2D(PREDICTOR2);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
683 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
684 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
685 @@ -123,8 +123,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
686 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
687 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
688 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
689 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
690 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
691 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
692 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
693 UNDIFFERENCE_2D(PREDICTOR3);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
694 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
695 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
696 @@ -135,8 +135,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
697 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
698 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
699 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
700 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
701 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
702 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
703 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
704 UNDIFFERENCE_2D(PREDICTOR4);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
705 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
706 JPEG_UNUSED(Rb);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
707 @@ -147,8 +147,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
708 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
709 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
710 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
711 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
712 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
713 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
714 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
715 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
716 UNDIFFERENCE_2D(PREDICTOR5);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
717 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
718 @@ -160,8 +160,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
719 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
720 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
721 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
722 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
723 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
724 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
725 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
726 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
727 UNDIFFERENCE_2D(PREDICTOR6);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
728 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
729 @@ -173,8 +173,8 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
730 const JDIFFROW diff_buf, const JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
731 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
732 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
733 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
734 - (void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
735 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
736 + //(void)comp_index;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
737 SHIFT_TEMPS
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
738 UNDIFFERENCE_2D(PREDICTOR7);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
739 JPEG_UNUSED(Rc);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
740 @@ -194,7 +194,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
741 const JDIFFROW diff_buf, JDIFFROW prev_row,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
742 JDIFFROW undiff_buf, JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
743 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
744 - (void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
745 + //(void)prev_row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
746 j_lossless_d_ptr losslsd = (j_lossless_d_ptr) cinfo->codec;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
747
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
748 UNDIFFERENCE_1D(INITIAL_PREDICTORx);
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
749 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdsample.c dcmtk-3.6.7/dcmjpeg/libijg8/jdsample.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
750 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdsample.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
751 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jdsample.c 2022-08-16 12:22:36.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
752 @@ -92,7 +92,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
753 JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
754 JDIMENSION out_rows_avail)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
755 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
756 - (void)in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
757 + //(void)in_row_groups_avail;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
758 my_upsample_ptr upsample = (my_upsample_ptr) cinfo->upsample;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
759 int ci;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
760 jpeg_component_info * compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
761 @@ -239,7 +239,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
762 h2v1_upsample (j_decompress_ptr cinfo, jpeg_component_info * compptr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
763 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
764 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
765 - (void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
766 + //(void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
767 JSAMPARRAY output_data = *output_data_ptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
768 register JSAMPROW inptr, outptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
769 register JSAMPLE invalue;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
770 @@ -268,7 +268,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
771 h2v2_upsample (j_decompress_ptr cinfo, jpeg_component_info * compptr,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
772 JSAMPARRAY input_data, JSAMPARRAY * output_data_ptr)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
773 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
774 - (void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
775 + //(void)compptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
776 JSAMPARRAY output_data = *output_data_ptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
777 register JSAMPROW inptr, outptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
778 register JSAMPLE invalue;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
779 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdscale.c dcmtk-3.6.7/dcmjpeg/libijg8/jdscale.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
780 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jdscale.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
781 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jdscale.c 2022-08-16 12:22:06.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
782 @@ -67,7 +67,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
783 const JDIFFROW diff_buf, JSAMPROW output_buf,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
784 JDIMENSION width)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
785 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
786 - (void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
787 + //(void)cinfo;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
788 unsigned int xindex;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
789
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
790 for (xindex = 0; xindex < width; xindex++)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
791 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jquant1.c dcmtk-3.6.7/dcmjpeg/libijg8/jquant1.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
792 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jquant1.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
793 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jquant1.c 2022-08-16 12:21:50.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
794 @@ -744,7 +744,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
795 METHODDEF(void)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
796 start_pass_1_quant (j_decompress_ptr cinfo, boolean is_pre_scan)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
797 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
798 - (void) is_pre_scan;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
799 + //(void) is_pre_scan;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
800 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
801 size_t arraysize;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
802 int i;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
803 diff -urEb dcmtk-3.6.7.orig/dcmjpeg/libijg8/jquant2.c dcmtk-3.6.7/dcmjpeg/libijg8/jquant2.c
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
804 --- dcmtk-3.6.7.orig/dcmjpeg/libijg8/jquant2.c 2022-04-28 15:47:25.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
805 +++ dcmtk-3.6.7/dcmjpeg/libijg8/jquant2.c 2022-08-16 12:03:36.000000000 +0200
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
806 @@ -224,7 +224,6 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
807 prescan_quantize (j_decompress_ptr cinfo, JSAMPARRAY input_buf,
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
808 JSAMPARRAY output_buf, int num_rows)
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
809 {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
810 - (void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
811 my_cquantize_ptr cquantize = (my_cquantize_ptr) cinfo->cquantize;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
812 register JSAMPROW ptr;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
813 register histptr histp;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
814 @@ -232,6 +231,7 @@
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
815 int row;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
816 JDIMENSION col;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
817 JDIMENSION width = cinfo->output_width;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
818 + (void) output_buf;
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
819
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
820 for (row = 0; row < num_rows; row++) {
a342e561c29d fix MSVC2008 build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
821 ptr = input_buf[row];