[cvs] / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /xvidcore/src/decoder.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.73, Tue Sep 13 12:12:15 2005 UTC revision 1.75, Tue Nov 22 10:23:01 2005 UTC
# Line 316  Line 316 
316      stop_iquant_timer();      stop_iquant_timer();
317    
318      start_timer();      start_timer();
319      idct(&data[i * 64]);      idct((short * const)&data[i * 64]);
320      stop_idct_timer();      stop_idct_timer();
321    
322    }    }
# Line 406  Line 406 
406    
407        /* iDCT */        /* iDCT */
408        start_timer();        start_timer();
409        idct(&data[0]);        idct((short * const)&data[0]);
410        stop_idct_timer();        stop_idct_timer();
411    
412        /* Add this residual to the predicted block */        /* Add this residual to the predicted block */
# Line 1359  Line 1359 
1359        MACROBLOCK *mb = &dec->mbs[y * dec->mb_width + x];        MACROBLOCK *mb = &dec->mbs[y * dec->mb_width + x];
1360        MACROBLOCK *last_mb = &dec->last_mbs[y * dec->mb_width + x];        MACROBLOCK *last_mb = &dec->last_mbs[y * dec->mb_width + x];
1361        const int fcode_max = (fcode_forward>fcode_backward) ? fcode_forward : fcode_backward;        const int fcode_max = (fcode_forward>fcode_backward) ? fcode_forward : fcode_backward;
1362        uint32_t intra_dc_threshold; /* fake variable */        int intra_dc_threshold; /* fake variable */
1363    
1364        if (check_resync_marker(bs, fcode_max  - 1)) {        if (check_resync_marker(bs, fcode_max  - 1)) {
1365          int bound = read_video_packet_header(bs, dec, fcode_max - 1, &quant,          int bound = read_video_packet_header(bs, dec, fcode_max - 1, &quant,
# Line 1485  Line 1485 
1485  }  }
1486    
1487  /* perform post processing if necessary, and output the image */  /* perform post processing if necessary, and output the image */
1488  void decoder_output(DECODER * dec, IMAGE * img, MACROBLOCK * mbs,  static void decoder_output(DECODER * dec, IMAGE * img, MACROBLOCK * mbs,
1489            xvid_dec_frame_t * frame, xvid_dec_stats_t * stats,            xvid_dec_frame_t * frame, xvid_dec_stats_t * stats,
1490            int coding_type, int quant)            int coding_type, int quant)
1491  {  {

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.75

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