[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.35, Wed Jul 24 23:09:28 2002 UTC revision 1.37, Wed Sep 4 03:23:23 2002 UTC
# Line 653  Line 653 
653                                  mb->quant = quant;                                  mb->quant = quant;
654    
655                                  if (dec->interlacing) {                                  if (dec->interlacing) {
656                                            if (cbp || intra) {
657                                          mb->field_dct = BitstreamGetBit(bs);                                          mb->field_dct = BitstreamGetBit(bs);
658                                          DEBUG1("decp: field_dct: ", mb->field_dct);                                          DEBUG1("decp: field_dct: ", mb->field_dct);
659                                            }
660    
661                                          if (mb->mode == MODE_INTER || mb->mode == MODE_INTER_Q) {                                          if (mb->mode == MODE_INTER || mb->mode == MODE_INTER_Q) {
662                                                  mb->field_pred = BitstreamGetBit(bs);                                                  mb->field_pred = BitstreamGetBit(bs);
# Line 1377  Line 1379 
1379    
1380  #ifdef BFRAMES_DEC  #ifdef BFRAMES_DEC
1381          // test if no B_VOP          // test if no B_VOP
1382          if (dec->low_delay) {          if (dec->low_delay || dec->frames == 0) {
1383  #endif  #endif
1384          image_output(&dec->cur, dec->width, dec->height, dec->edged_width,          image_output(&dec->cur, dec->width, dec->height, dec->edged_width,
1385                                           frame->image, frame->stride, frame->colorspace);                                           frame->image, frame->stride, frame->colorspace);
1386    
1387  #ifdef BFRAMES_DEC  #ifdef BFRAMES_DEC
1388          } else {          } else {
1389                  if (dec->frames >= 0) {                  if (dec->frames >= 1) {
1390                          start_timer();                          start_timer();
1391                          if ((vop_type == I_VOP || vop_type == P_VOP)) {                          if ((vop_type == I_VOP || vop_type == P_VOP)) {
1392                                  image_output(&dec->refn[0], dec->width, dec->height,                                  image_output(&dec->refn[0], dec->width, dec->height,

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.37

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