[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.49.2.24, Wed Dec 10 15:07:42 2003 UTC revision 1.49.2.26, Wed Dec 17 17:07:38 2003 UTC
# Line 205  Line 205 
205          dec->last_mbs = NULL;          dec->last_mbs = NULL;
206    
207          init_timer();          init_timer();
208            init_postproc();
209          init_mpeg_matrix(dec->mpeg_quant_matrices);          init_mpeg_matrix(dec->mpeg_quant_matrices);
210    
211          /* For B-frame support (used to save reference frame's time */          /* For B-frame support (used to save reference frame's time */
# Line 1317  Line 1318 
1318  void decoder_output(DECODER * dec, IMAGE * img, MACROBLOCK * mbs,  void decoder_output(DECODER * dec, IMAGE * img, MACROBLOCK * mbs,
1319                                          xvid_dec_frame_t * frame, xvid_dec_stats_t * stats, int coding_type)                                          xvid_dec_frame_t * frame, xvid_dec_stats_t * stats, int coding_type)
1320  {  {
1321          if (frame->general & (XVID_DEBLOCKY|XVID_DEBLOCKUV))    /* post process */          if (frame->general & (XVID_DEBLOCKY|XVID_DEBLOCKUV) && mbs != NULL)     /* post process */
1322          {          {
1323                  /* note: image is stored to tmp */                  /* note: image is stored to tmp */
1324                  image_copy(&dec->tmp, img, dec->edged_width, dec->height);                  image_copy(&dec->tmp, img, dec->edged_width, dec->height);
1325                  image_deblock(&dec->tmp, dec->edged_width,                  image_postproc(&dec->tmp, dec->edged_width,
1326                                            mbs, dec->mb_width, dec->mb_height, dec->mb_width,                                            mbs, dec->mb_width, dec->mb_height, dec->mb_width,
1327                                            frame->general);                                             frame->general, dec->frames);
1328                  img = &dec->tmp;                  img = &dec->tmp;
1329          }          }
1330    

Legend:
Removed from v.1.49.2.24  
changed lines
  Added in v.1.49.2.26

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