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

Diff of /trunk/xvidcore/src/decoder.c

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

revision 339, Wed Jul 24 23:09:28 2002 UTC revision 388, Wed Sep 4 03:23:28 2002 UTC
# Line 55  Line 55 
55   *  22.12.2001  lock based interpolation   *  22.12.2001  lock based interpolation
56   *  01.12.2001  inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>   *  01.12.2001  inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>
57   *   *
58   *  $Id: decoder.c,v 1.35 2002-07-24 23:09:28 chl Exp $   *  $Id: decoder.c,v 1.37 2002-09-04 03:23:23 h Exp $
59   *   *
60   *************************************************************************/   *************************************************************************/
61    
# 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.339  
changed lines
  Added in v.388

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