[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.39, Sun Sep 22 17:01:36 2002 UTC revision 1.40, Tue Sep 24 21:56:27 2002 UTC
# Line 1337  Line 1337 
1337                  decoder_pframe(dec, &bs, rounding, quant, fcode_forward,                  decoder_pframe(dec, &bs, rounding, quant, fcode_forward,
1338                                             intra_dc_threshold);                                             intra_dc_threshold);
1339  #ifdef BFRAMES_DEC  #ifdef BFRAMES_DEC
1340                  DEBUG1("P_VOP  Time=", dec->time);                  DPRINTF(DPRINTF_DEBUG, "P_VOP  Time=%d", dec->time);
1341  #endif  #endif
1342                  break;                  break;
1343    
1344          case I_VOP:          case I_VOP:
1345                  decoder_iframe(dec, &bs, quant, intra_dc_threshold);                  decoder_iframe(dec, &bs, quant, intra_dc_threshold);
1346  #ifdef BFRAMES_DEC  #ifdef BFRAMES_DEC
1347                  DEBUG1("I_VOP  Time=", dec->time);                  DPRINTF(DPRINTF_DEBUG, "I_VOP  Time=%d", dec->time);
1348  #endif  #endif
1349                  break;                  break;
1350    
1351          case B_VOP:          case B_VOP:
1352  #ifdef BFRAMES_DEC  #ifdef BFRAMES_DEC
1353                  if (dec->time_pp > dec->time_bp) {                  if (dec->time_pp > dec->time_bp) {
1354                          DEBUG1("B_VOP  Time=", dec->time);                          DPRINTF(DPRINTF_DEBUG, "B_VOP  Time=%d", dec->time);
1355                          decoder_bframe(dec, &bs, quant, fcode_forward, fcode_backward);                          decoder_bframe(dec, &bs, quant, fcode_forward, fcode_backward);
1356                  } else {                  } else {
1357                          DEBUG("broken B-frame!");                          DPRINTF(DPRINTF_DEBUG, "Broken B_VOP");
1358                  }                  }
1359  #else  #else
1360                  image_copy(&dec->cur, &dec->refn[0], dec->edged_width, dec->height);                  image_copy(&dec->cur, &dec->refn[0], dec->edged_width, dec->height);
# Line 1372  Line 1372 
1372    
1373  #ifdef BFRAMES_DEC_DEBUG  #ifdef BFRAMES_DEC_DEBUG
1374          if (frame->length != BitstreamPos(&bs) / 8){          if (frame->length != BitstreamPos(&bs) / 8){
1375                  DEBUG2("InLen/UseLen",frame->length, BitstreamPos(&bs) / 8);                  DPRINTF(DPRINTF_DEBUG, "InLen: %d / UseLen: %d", frame->length, BitstreamPos(&bs) / 8);
1376          }          }
1377  #endif  #endif
1378          frame->length = BitstreamPos(&bs) / 8;          frame->length = BitstreamPos(&bs) / 8;

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

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