line |
true |
false |
branch |
81
|
8 |
20 |
if (ilimit > src->channels) |
83
|
0 |
28 |
if (outchan > MAXCHANNELS) { |
88
|
25 |
3 |
if (src->type == i_direct_type) { |
92
|
18 |
7 |
if (is_channel_copy(src, coeff, outchan, inchan, &info)) { |
96
|
4 |
3 |
#code src->bits <= i_8_bits |
101
|
435 |
4 |
for (y = 0; y < src->ysize; ++y) { |
|
180 |
3 |
for (y = 0; y < src->ysize; ++y) { |
103
|
57530 |
435 |
for (x = 0; x < src->xsize; ++x) { |
|
23000 |
180 |
for (x = 0; x < src->xsize; ++x) { |
104
|
57530 |
57530 |
for (j = 0; j < outchan; ++j) { |
|
23000 |
23000 |
for (j = 0; j < outchan; ++j) { |
106
|
172590 |
57530 |
for (i = 0; i < ilimit; ++i) { |
|
69000 |
23000 |
for (i = 0; i < ilimit; ++i) { |
109
|
0 |
57530 |
if (i < inchan) { |
|
100 |
22900 |
if (i < inchan) { |
113
|
57530 |
57530 |
for (j = 0; j < outchan; ++j) { |
|
23000 |
23000 |
for (j = 0; j < outchan; ++j) { |
114
|
0 |
57530 |
if (work[j] < 0) |
|
0 |
23000 |
if (work[j] < 0) |
116
|
0 |
57530 |
else if (work[j] >= IM_SAMPLE_MAX) |
|
0 |
23000 |
else if (work[j] >= IM_SAMPLE_MAX) |
135
|
3 |
0 |
im = im_img_pal_new(aIMCTX, src->xsize, src->ysize, outchan, |
139
|
3 |
0 |
count = i_colorcount(src); |
140
|
3 |
0 |
outcount = i_colorcount(im); |
143
|
3 |
0 |
i_getcolors(src, 0, colors, count); |
144
|
6 |
3 |
for (index = 0; index < count; ++index) { |
145
|
19 |
6 |
for (j = 0; j < outchan; ++j) { |
147
|
33 |
19 |
for (i = 0; i < ilimit; ++i) { |
150
|
7 |
12 |
if (i < inchan) { |
154
|
19 |
6 |
for (j = 0; j < outchan; ++j) { |
155
|
0 |
19 |
if (work[j] < 0) |
157
|
6 |
13 |
else if (work[j] >= 255) |
163
|
0 |
3 |
if (count < outcount) { |
164
|
0 |
0 |
i_setcolors(im, 0, colors, count); |
167
|
3 |
0 |
i_setcolors(im, 0, colors, outcount); |
168
|
3 |
0 |
i_addcolors(im, colors, count-outcount); |
175
|
321 |
3 |
for (y = 0; y < im->ysize; ++y) { |
176
|
321 |
0 |
i_gpal(src, 0, im->xsize, y, vals); |
177
|
321 |
0 |
i_ppal(im, 0, im->xsize, y, vals); |
203
|
57 |
25 |
for (j = 0; j < outchan; ++j) { |
208
|
57 |
18 |
for (j = 0; j < outchan; ++j) { |
209
|
117 |
50 |
for (i = 0; i < ilimit; ++i) { |
210
|
43 |
74 |
if (coeff[i+inchan*j] == 1.0) { |
211
|
0 |
43 |
if (srcchan[j] != -1) { |
217
|
7 |
67 |
else if (coeff[i+inchan*j]) { |
222
|
16 |
34 |
if (i < inchan) { |
223
|
5 |
11 |
if (coeff[i+inchan*j] == 1.0) { |
224
|
0 |
5 |
if (srcchan[j] != -1) { |
230
|
0 |
11 |
else if (coeff[i+inchan*j]) { |
239
|
50 |
18 |
for (j = 0; j < outchan; ++j) { |
240
|
43 |
7 |
if (srcchan[j] != -1) { |
245
|
5 |
2 |
else if (onechan[j]) { |
283
|
13 |
5 |
#code src->bits <= i_8_bits |
290
|
1131 |
13 |
for (y = 0; y < src->ysize; ++y) { |
|
400 |
5 |
for (y = 0; y < src->ysize; ++y) { |
295
|
185706 |
1131 |
for (x = 0; x < src->xsize; ++x) { |
|
63400 |
400 |
for (x = 0; x < src->xsize; ++x) { |
296
|
313082 |
185706 |
for (i = 0; i < info->copy_count; ++i) { |
|
25200 |
63400 |
for (i = 0; i < info->copy_count; ++i) { |
299
|
149060 |
185706 |
for (i = 0; i < info->one_count; ++i) { |
|
40000 |
63400 |
for (i = 0; i < info->one_count; ++i) { |
302
|
0 |
185706 |
for (i = 0; i < info->zero_count; ++i) { |
|
80000 |
63400 |
for (i = 0; i < info->zero_count; ++i) { |