[svn] / trunk / xvidcore / src / bitstream / mbcoding.c Repository:
ViewVC logotype

Annotation of /trunk/xvidcore/src/bitstream/mbcoding.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (view) (download)

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

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