[svn] / branches / dev-api-4 / xvidcore / src / bitstream / mbcoding.c Repository:
ViewVC logotype

Annotation of /branches/dev-api-4/xvidcore/src/bitstream/mbcoding.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 35 - (view) (download)
Original Path: trunk/xvidcore/src/bitstream/mbcoding.c

1 : Isibaar 3 #include "../portab.h"
2 :     #include "bitstream.h"
3 :     #include "zigzag.h"
4 :     #include "vlc_codes.h"
5 :    
6 :     #include "../utils/mbfunctions.h"
7 :    
8 : edgomez 17 #include <stdlib.h> /* malloc, free */
9 :    
10 : Isibaar 3 #define ESCAPE 7167
11 :     #define ABS(X) (((X)>0)?(X):-(X))
12 :     #define CLIP(X,A) (X > A) ? (A) : (X)
13 :    
14 :     static VLC *DCT3D[2];
15 :    
16 :     VLC *intra_table, *inter_table;
17 :     static short clip_table[4096];
18 :    
19 :     void create_vlc_tables(void)
20 :     {
21 :     int32_t k, l, i, intra, last;
22 :     VLC *vlc[2];
23 :     VLC **coeff_ptr;
24 :     VLC *vlc1, *vlc2;
25 :    
26 :     VLC *DCT3Dintra;
27 :     VLC *DCT3Dinter;
28 :    
29 :     DCT3Dintra = (VLC *) malloc(sizeof(VLC) * 4096);
30 :     DCT3Dinter = (VLC *) malloc(sizeof(VLC) * 4096);
31 :    
32 :     vlc1 = DCT3Dintra;
33 :     vlc2 = DCT3Dinter;
34 :    
35 :     vlc[0] = intra_table = (VLC *) malloc(128 * 511 * sizeof(VLC));
36 :     vlc[1] = inter_table = (VLC *) malloc(128 * 511 * sizeof(VLC));
37 :    
38 :     // initialize the clipping table
39 :     for(i = -2048; i < 2048; i++) {
40 :     clip_table[i + 2048] = i;
41 :     if(i < -255)
42 :     clip_table[i + 2048] = -255;
43 :     if(i > 255)
44 :     clip_table[i + 2048] = 255;
45 :     }
46 :    
47 :     // generate intra/inter vlc lookup table
48 :     for(i = 0; i < 4; i++) {
49 :     intra = i % 2;
50 :     last = i >> 1;
51 :    
52 :     coeff_ptr = coeff_vlc[last + (intra << 1)];
53 :    
54 :     for(k = -255; k < 256; k++) { // level
55 :     char *max_level_ptr = max_level[last + (intra << 1)];
56 :     char *max_run_ptr = max_run[last + (intra << 1)];
57 :    
58 :     for(l = 0; l < 64; l++) { // run
59 : Isibaar 35 int32_t level = k;
60 :     uint32_t run = l;
61 : Isibaar 3
62 :     if(abs(level) <= max_level_ptr[run] && run <= max_run_ptr[abs(level)]) {
63 :    
64 :     if(level > 0) {
65 :     vlc[intra]->code = (coeff_ptr[run][level - 1].code) << 1;
66 :     vlc[intra]->len = coeff_ptr[run][level - 1].len + 1;
67 :     }
68 :     else if(level < 0) {
69 :     vlc[intra]->code = ((coeff_ptr[run][-level - 1].code) << 1) + 1;
70 :     vlc[intra]->len = coeff_ptr[run][-level - 1].len + 1;
71 :     }
72 :     else {
73 :     vlc[intra]->code = 0;
74 :     vlc[intra]->len = 0;
75 :     }
76 :     } else {
77 :     if(level > 0)
78 :     level -= max_level_ptr[run];
79 :     else
80 :     level += max_level_ptr[run];
81 :    
82 :     if(abs(level) <= max_level_ptr[run] &&
83 :     run <= max_run_ptr[abs(level)]) {
84 :    
85 :     if(level > 0) {
86 :     vlc[intra]->code = (0x06 << (coeff_ptr[run][level - 1].len + 1)) |
87 :     (coeff_ptr[run][level - 1].code << 1);
88 :     vlc[intra]->len = (coeff_ptr[run][level - 1].len + 1) + 8;
89 :     }
90 :     else if(level < 0) {
91 :     vlc[intra]->code = (0x06 << (coeff_ptr[run][-level - 1].len + 1)) |
92 :     ((coeff_ptr[run][-level - 1].code << 1) + 1);
93 :     vlc[intra]->len = (coeff_ptr[run][-level - 1].len + 1) + 8;
94 :     }
95 :     else {
96 :     vlc[intra]->code = 0x06;
97 :     vlc[intra]->len = 8;
98 :     }
99 :     } else {
100 :     if(level > 0)
101 :     level += max_level_ptr[run];
102 :     else
103 :     level -= max_level_ptr[run];
104 : Isibaar 35
105 : Isibaar 3 run -= max_run_ptr[abs(level)] + 1;
106 : Isibaar 28
107 : Isibaar 3 if(abs(level) <= max_level_ptr[run] &&
108 :     run <= max_run_ptr[abs(level)]) {
109 :    
110 :     if(level > 0) {
111 :     vlc[intra]->code = (0x0e << (coeff_ptr[run][level - 1].len + 1)) |
112 :     (coeff_ptr[run][level - 1].code << 1);
113 :     vlc[intra]->len = (coeff_ptr[run][level - 1].len + 1) + 9;
114 :     }
115 :     else if(level < 0) {
116 :     vlc[intra]->code = (0x0e << (coeff_ptr[run][-level - 1].len + 1)) |
117 :     ((coeff_ptr[run][-level - 1].code << 1) + 1);
118 :     vlc[intra]->len = (coeff_ptr[run][-level - 1].len + 1) + 9;
119 :     }
120 :     else {
121 :     vlc[intra]->code = 0x0e;
122 :     vlc[intra]->len = 9;
123 :     }
124 :     } else {
125 :     if(level != 0)
126 :     run += max_run_ptr[abs(level)] + 1;
127 :     else
128 :     run++;
129 :    
130 :     vlc[intra]->code = (uint32_t) ((0x1e + last) << 20) |
131 :     (l << 14) | (1 << 13) | ((k & 0xfff) << 1) | 1;
132 :    
133 :     vlc[intra]->len = 30;
134 :     }
135 :     }
136 :     }
137 :     vlc[intra]++;
138 :     }
139 :     }
140 :     }
141 :     intra_table += 64*255; // center vlc tables
142 :     inter_table += 64*255; // center vlc tables
143 :    
144 :     for(i = 0; i < 4096; i++) {
145 :     if(i >= 512) {
146 :     *vlc1 = DCT3Dtab3[(i >> 5) - 16];
147 :     *vlc2 = DCT3Dtab0[(i >> 5) - 16];
148 :     }
149 :     else if(i >= 128) {
150 :     *vlc1 = DCT3Dtab4[(i >> 2) - 32];
151 :     *vlc2 = DCT3Dtab1[(i >> 2) - 32];
152 :     }
153 :     else if(i >= 8) {
154 :     *vlc1 = DCT3Dtab5[i - 8];
155 :     *vlc2 = DCT3Dtab2[i - 8];
156 :     }
157 :     else {
158 :     *vlc1 = ERRtab[i];
159 :     *vlc2 = ERRtab[i];
160 :     }
161 :    
162 :     vlc1++;
163 :     vlc2++;
164 :     }
165 :     DCT3D[0] = DCT3Dinter;
166 :     DCT3D[1] = DCT3Dintra;
167 :    
168 :     }
169 :    
170 :     void destroy_vlc_tables(void) {
171 :    
172 :     if(intra_table != NULL && inter_table != NULL) {
173 :     intra_table -= 64*255; // uncenter vlc tables
174 :     inter_table -= 64*255; // uncenter vlc tables
175 :    
176 :     free(intra_table);
177 :     free(inter_table);
178 :     }
179 :    
180 :     if(DCT3D[0] != NULL && DCT3D[1] != NULL) {
181 :     free(DCT3D[0]);
182 :     free(DCT3D[1]);
183 :     }
184 :    
185 :     }
186 :    
187 :     static __inline void CodeVector(Bitstream *bs, int16_t value, int16_t f_code, Statistics *pStat)
188 :     {
189 :     const int scale_factor = 1 << (f_code - 1);
190 :     const int cmp = scale_factor << 5;
191 :    
192 :     if(value < (-1 * cmp))
193 :     value += 64 * scale_factor;
194 :    
195 :     if(value > (cmp - 1))
196 :     value -= 64 * scale_factor;
197 :    
198 :     pStat->iMvSum += value * value;
199 :     pStat->iMvCount++;
200 :    
201 :     if (value == 0)
202 :     BitstreamPutBits(bs, mb_motion_table[32].code, mb_motion_table[32].len);
203 :     else {
204 :     uint16_t length, code, mv_res, sign;
205 :    
206 :     length = 16 << f_code;
207 :     f_code--;
208 :    
209 :     sign = (value < 0);
210 :    
211 :     if(value >= length)
212 :     value -= 2 * length;
213 :     else if(value < -length)
214 :     value += 2 * length;
215 :    
216 :     if(sign)
217 :     value = -value;
218 :    
219 :     value--;
220 :     mv_res = value & ((1 << f_code) - 1);
221 :     code = ((value - mv_res) >> f_code) + 1;
222 :    
223 :     if(sign)
224 :     code = -code;
225 :    
226 :     code += 32;
227 :     BitstreamPutBits(bs, mb_motion_table[code].code, mb_motion_table[code].len);
228 :    
229 :     if(f_code)
230 :     BitstreamPutBits(bs, mv_res, f_code);
231 :     }
232 :     }
233 :    
234 :    
235 :     static __inline void CodeCoeff(Bitstream *bs, int16_t qcoeff[64], VLC *table,
236 :     const uint16_t *zigzag, uint16_t intra) {
237 :     uint32_t j, last;
238 :     short v;
239 :     VLC *vlc;
240 :    
241 :     j = intra;
242 :     last = 1 + intra;
243 :    
244 :     while((v = qcoeff[zigzag[j++]]) == 0);
245 :    
246 :     do {
247 :     // count zeroes
248 :     vlc = table + (clip_table[2048+v] << 6) + j - last;
249 :     last = j + 1;
250 :     while(j < 64 && (v = qcoeff[zigzag[j++]]) == 0);
251 :    
252 :     // write code
253 :     if(j != 64) {
254 :     BitstreamPutBits(bs, vlc->code, vlc->len);
255 :     } else {
256 :     vlc += 64*511;
257 :     BitstreamPutBits(bs, vlc->code, vlc->len);
258 :     break;
259 :     }
260 :     } while(1);
261 :     }
262 :    
263 :    
264 :     static void CodeBlockIntra(const MBParam * pParam, const MACROBLOCK *pMB,
265 :     int16_t qcoeff[][64], Bitstream * bs, Statistics * pStat)
266 :     {
267 :     uint32_t i, mcbpc, cbpy, bits;
268 :    
269 :     cbpy = pMB->cbp >> 2;
270 :    
271 :     // write mcbpc
272 : Isibaar 28 if(pParam->coding_type == I_VOP) {
273 :     mcbpc = ((pMB->mode >> 1) & 3) | ((pMB->cbp & 3) << 2);
274 :     BitstreamPutBits(bs, mcbpc_intra_tab[mcbpc].code, mcbpc_intra_tab[mcbpc].len);
275 :     }
276 :     else {
277 :     mcbpc = (pMB->mode & 7) | ((pMB->cbp & 3) << 3);
278 :     BitstreamPutBits(bs, mcbpc_inter_tab[mcbpc].code, mcbpc_inter_tab[mcbpc].len);
279 :     }
280 : Isibaar 3
281 :     // ac prediction flag
282 :     if(pMB->acpred_directions[0])
283 :     BitstreamPutBits(bs, 1, 1);
284 :     else
285 :     BitstreamPutBits(bs, 0, 1);
286 :    
287 :     // write cbpy
288 :     BitstreamPutBits (bs, cbpy_tab[cbpy].code, cbpy_tab[cbpy].len);
289 :    
290 :     // write dquant
291 :     if(pMB->mode == MODE_INTRA_Q)
292 :     BitstreamPutBits(bs, pMB->dquant, 2);
293 :    
294 :     // code block coeffs
295 :     for(i = 0; i < 6; i++)
296 :     {
297 :     if(i < 4)
298 :     BitstreamPutBits(bs, dcy_tab[qcoeff[i][0] + 255].code,
299 :     dcy_tab[qcoeff[i][0] + 255].len);
300 :     else
301 :     BitstreamPutBits(bs, dcc_tab[qcoeff[i][0] + 255].code,
302 :     dcc_tab[qcoeff[i][0] + 255].len);
303 :    
304 :     if(pMB->cbp & (1 << (5 - i)))
305 :     {
306 :     bits = BitstreamPos(bs);
307 :    
308 :     CodeCoeff(bs, qcoeff[i], intra_table, scan_tables[pMB->acpred_directions[i]], 1);
309 :    
310 :     bits = BitstreamPos(bs) - bits;
311 :     pStat->iTextBits += bits;
312 :     }
313 :     }
314 :     }
315 :    
316 :    
317 :     static void CodeBlockInter(const MBParam * pParam, const MACROBLOCK *pMB,
318 :     int16_t qcoeff[][64], Bitstream * bs, Statistics * pStat)
319 :     {
320 :     int32_t i;
321 :     uint32_t bits, mcbpc, cbpy;
322 :    
323 : Isibaar 28 mcbpc = (pMB->mode & 7) | ((pMB->cbp & 3) << 3);
324 : Isibaar 3 cbpy = 15 - (pMB->cbp >> 2);
325 :    
326 :     // write mcbpc
327 : Isibaar 28 BitstreamPutBits(bs, mcbpc_inter_tab[mcbpc].code, mcbpc_inter_tab[mcbpc].len);
328 : Isibaar 3
329 :     // write cbpy
330 :     BitstreamPutBits(bs, cbpy_tab[cbpy].code, cbpy_tab[cbpy].len);
331 :    
332 :     // write dquant
333 :     if(pMB->mode == MODE_INTER_Q)
334 :     BitstreamPutBits(bs, pMB->dquant, 2);
335 :    
336 :     // code motion vector(s)
337 :     for(i = 0; i < (pMB->mode == MODE_INTER4V ? 4 : 1); i++)
338 :     {
339 :     CodeVector(bs, pMB->pmvs[i].x, pParam->fixed_code, pStat);
340 :     CodeVector(bs, pMB->pmvs[i].y, pParam->fixed_code, pStat);
341 :     }
342 :    
343 :     bits = BitstreamPos(bs);
344 :    
345 :     // code block coeffs
346 :     for(i = 0; i < 6; i++)
347 :     if(pMB->cbp & (1 << (5 - i)))
348 :     CodeCoeff(bs, qcoeff[i], inter_table, scan_tables[0], 0);
349 :    
350 :     bits = BitstreamPos(bs) - bits;
351 :     pStat->iTextBits += bits;
352 :     }
353 :    
354 :    
355 :     void MBCoding(const MBParam * pParam, MACROBLOCK *pMB,
356 :     int16_t qcoeff[][64],
357 :     Bitstream * bs, Statistics * pStat)
358 :     {
359 :     int intra = (pMB->mode == MODE_INTRA || pMB->mode == MODE_INTRA_Q);
360 :    
361 :     if(pParam->coding_type == P_VOP) {
362 :     if(pMB->cbp == 0 && pMB->mode == MODE_INTER &&
363 :     pMB->mvs[0].x == 0 && pMB->mvs[0].y == 0)
364 :     {
365 :     BitstreamPutBit(bs, 1); // not_coded
366 :     return;
367 :     }
368 :     else
369 :     BitstreamPutBit(bs, 0); // coded
370 :     }
371 :    
372 :     if(intra)
373 :     CodeBlockIntra(pParam, pMB, qcoeff, bs, pStat);
374 :     else
375 :     CodeBlockInter(pParam, pMB, qcoeff, bs, pStat);
376 :     }
377 :    
378 :    
379 :     /***************************************************************
380 : edgomez 15 * decoding stuff starts here *
381 :     ***************************************************************/
382 : Isibaar 3
383 :     int get_mcbpc_intra(Bitstream * bs)
384 :     {
385 :     uint32_t index;
386 :    
387 :     while((index = BitstreamShowBits(bs, 9)) == 1)
388 :     BitstreamSkip(bs, 9);
389 :    
390 :     index >>= 3;
391 :    
392 :     BitstreamSkip(bs, mcbpc_intra_table[index].len);
393 :     return mcbpc_intra_table[index].code;
394 :     }
395 :    
396 :     int get_mcbpc_inter(Bitstream * bs)
397 :     {
398 :     uint32_t index;
399 :    
400 :     while((index = CLIP(BitstreamShowBits(bs, 9), 256)) == 1)
401 :     BitstreamSkip(bs, 9);
402 :    
403 :     BitstreamSkip(bs, mcbpc_inter_table[index].len);
404 :     return mcbpc_inter_table[index].code;
405 :     }
406 :    
407 :     int get_cbpy(Bitstream * bs, int intra)
408 :     {
409 :     int cbpy;
410 :     uint32_t index = BitstreamShowBits(bs, 6);
411 :    
412 :     BitstreamSkip(bs, cbpy_table[index].len);
413 :     cbpy = cbpy_table[index].code;
414 :    
415 :     if(!intra)
416 :     cbpy = 15 - cbpy;
417 :    
418 :     return cbpy;
419 :     }
420 :    
421 :     int get_mv_data(Bitstream * bs)
422 :     {
423 :     uint32_t index;
424 :    
425 :     if(BitstreamGetBit(bs))
426 :     return 0;
427 :    
428 :     index = BitstreamShowBits(bs, 12);
429 :    
430 :     if(index >= 512)
431 :     {
432 :     index = (index >> 8) - 2;
433 :     BitstreamSkip(bs, TMNMVtab0[index].len);
434 :     return TMNMVtab0[index].code;
435 :     }
436 :    
437 :     if(index >= 128)
438 :     {
439 :     index = (index >> 2) - 32;
440 :     BitstreamSkip(bs, TMNMVtab1[index].len);
441 :     return TMNMVtab1[index].code;
442 :     }
443 :    
444 :     index -= 4;
445 :    
446 :     BitstreamSkip(bs, TMNMVtab2[index].len);
447 :     return TMNMVtab2[index].code;
448 :     }
449 :    
450 :     int get_mv(Bitstream * bs, int fcode)
451 :     {
452 :     int data;
453 :     int res;
454 :     int mv;
455 :     int scale_fac = 1 << (fcode - 1);
456 :    
457 :     data = get_mv_data(bs);
458 :    
459 :     if(scale_fac == 1 || data == 0)
460 :     return data;
461 :    
462 :     res = BitstreamGetBits(bs, fcode - 1);
463 :     mv = ((ABS(data) - 1) * scale_fac) + res + 1;
464 :    
465 :     return data < 0 ? -mv : mv;
466 :     }
467 :    
468 :     int get_dc_dif(Bitstream * bs, uint32_t dc_size)
469 :     {
470 :     int code = BitstreamGetBits(bs, dc_size);
471 :     int msb = code >> (dc_size - 1);
472 :    
473 :     if(msb == 0)
474 :     return (-1 * (code^((1 << dc_size) - 1)));
475 :    
476 :     return code;
477 :     }
478 :    
479 :     int get_dc_size_lum(Bitstream * bs)
480 :     {
481 :     int code, i;
482 :     code = BitstreamShowBits(bs, 11);
483 :    
484 :     for(i = 11; i > 3; i--) {
485 :     if(code == 1) {
486 :     BitstreamSkip(bs, i);
487 :     return i + 1;
488 :     }
489 :     code >>= 1;
490 :     }
491 :    
492 :     BitstreamSkip(bs, dc_lum_tab[code].len);
493 :     return dc_lum_tab[code].code;
494 :     }
495 :    
496 :    
497 :     int get_dc_size_chrom(Bitstream * bs)
498 :     {
499 :     uint32_t code, i;
500 :     code = BitstreamShowBits(bs, 12);
501 :    
502 :     for(i = 12; i > 2; i--) {
503 :     if(code == 1) {
504 :     BitstreamSkip(bs, i);
505 :     return i;
506 :     }
507 :     code >>= 1;
508 :     }
509 :    
510 :     return 3 - BitstreamGetBits(bs, 2);
511 :     }
512 :    
513 :     int get_coeff(Bitstream * bs, int *run, int *last, int intra, int short_video_header)
514 :     {
515 :     uint32_t mode;
516 :     const VLC *tab;
517 :     int32_t level;
518 :    
519 :     if(short_video_header) // inter-VLCs will be used for both intra and inter blocks
520 :     intra = 0;
521 :    
522 :     tab = &DCT3D[intra][BitstreamShowBits(bs, 12)];
523 :    
524 :     if(tab->code == -1)
525 :     goto error;
526 :    
527 :     BitstreamSkip(bs, tab->len);
528 :    
529 :     if(tab->code != ESCAPE) {
530 :     if(!intra)
531 :     {
532 :     *run = (tab->code >> 4) & 255;
533 :     level = tab->code & 15;
534 :     *last = (tab->code >> 12) & 1;
535 :     }
536 :     else
537 :     {
538 :     *run = (tab->code >> 8) & 255;
539 :     level = tab->code & 255;
540 :     *last = (tab->code >> 16) & 1;
541 :     }
542 :     return BitstreamGetBit(bs) ? -level : level;
543 :     }
544 :    
545 :     if(short_video_header)
546 :     {
547 :     // escape mode 4 - H.263 type, only used if short_video_header = 1
548 :     *last = BitstreamGetBit(bs);
549 :     *run = BitstreamGetBits(bs, 6);
550 :     level = BitstreamGetBits(bs, 8);
551 :    
552 :     if (level == 0 || level == 128)
553 :     DEBUG1("Illegal LEVEL for ESCAPE mode 4:", level);
554 :    
555 :     return (level >= 128 ? -(256 - level) : level);
556 :     }
557 :    
558 :     mode = BitstreamShowBits(bs, 2);
559 :    
560 :     if(mode < 3) {
561 :     BitstreamSkip(bs, (mode == 2) ? 2 : 1);
562 :    
563 :     tab = &DCT3D[intra][BitstreamShowBits(bs, 12)];
564 :     if (tab->code == -1)
565 :     goto error;
566 :    
567 :     BitstreamSkip(bs, tab->len);
568 :    
569 :     if (!intra) {
570 :     *run = (tab->code >> 4) & 255;
571 :     level = tab->code & 15;
572 :     *last = (tab->code >> 12) & 1;
573 :     }
574 :     else
575 :     {
576 :     *run = (tab->code >> 8) & 255;
577 :     level = tab->code & 255;
578 :     *last = (tab->code >> 16) & 1;
579 :     }
580 :    
581 :     if(mode < 2) // first escape mode, level is offset
582 :     level += max_level[*last + (!intra<<1)][*run]; // need to add back the max level
583 :     else if(mode == 2) // second escape mode, run is offset
584 :     *run += max_run[*last + (!intra<<1)][level] + 1;
585 :    
586 :     return BitstreamGetBit(bs) ? -level : level;
587 :     }
588 :    
589 :     // third escape mode - fixed length codes
590 :     BitstreamSkip(bs, 2);
591 :     *last = BitstreamGetBits(bs, 1);
592 :     *run = BitstreamGetBits(bs, 6);
593 :     BitstreamSkip(bs, 1); // marker
594 :     level = BitstreamGetBits(bs, 12);
595 :     BitstreamSkip(bs, 1); // marker
596 :    
597 :     return (level & 0x800) ? (level | (-1 ^ 0xfff)) : level;
598 :    
599 :     error:
600 :     *run = VLC_ERROR;
601 :     return 0;
602 :     }
603 :    
604 :    
605 :     void get_intra_block(Bitstream * bs, int16_t * block, int direction, int coeff)
606 :     {
607 :     const uint16_t * scan = scan_tables[ direction ];
608 :     int level;
609 :     int run;
610 :     int last;
611 :    
612 :     do
613 :     {
614 :     level = get_coeff(bs, &run, &last, 1, 0);
615 :     if (run == -1)
616 :     {
617 :     DEBUG("fatal: invalid run");
618 :     break;
619 :     }
620 :     coeff += run;
621 :     block[ scan[coeff] ] = level;
622 :     if (level < -127 || level > 127)
623 :     {
624 :     DEBUG1("warning: intra_overflow", level);
625 :     }
626 :     coeff++;
627 :     } while (!last);
628 :     }
629 :    
630 :     void get_inter_block(Bitstream * bs, int16_t * block)
631 :     {
632 :     const uint16_t * scan = scan_tables[0];
633 :     int p;
634 :     int level;
635 :     int run;
636 :     int last;
637 :    
638 :     p = 0;
639 :     do
640 :     {
641 :     level = get_coeff(bs, &run, &last, 0, 0);
642 :     if (run == -1)
643 :     {
644 :     DEBUG("fatal: invalid run");
645 :     break;
646 :     }
647 :     p += run;
648 :     block[ scan[p] ] = level;
649 :     if (level < -127 || level > 127)
650 :     {
651 :     DEBUG1("warning: inter_overflow", level);
652 :     }
653 :     p++;
654 :     } while (!last);
655 :     }

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4