[svn] / branches / dev-api-3 / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/xvidcore/src/decoder.c

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

revision 315, Fri Jul 19 11:15:21 2002 UTC revision 326, Sun Jul 21 23:34:08 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.32 2002-07-19 11:15:21 albeu Exp $   *  $Id: decoder.c,v 1.33 2002-07-21 23:34:07 chl Exp $
59   *   *
60   *************************************************************************/   *************************************************************************/
61    
# Line 1188  Line 1188 
1188  #ifdef BFRAMES_DEC_DEBUG  #ifdef BFRAMES_DEC_DEBUG
1189          BFRAME_DEBUG          BFRAME_DEBUG
1190  #endif  #endif
1191    
1192                          switch (mb->mb_type) {                          switch (mb->mb_type) {
1193                          case MODE_DIRECT:                          case MODE_DIRECT:
1194                                  get_b_motion_vector(dec, bs, x, y, &mv, 1, zeromv);                                  get_b_motion_vector(dec, bs, x, y, &mv, 1, zeromv);
1195    
1196                          case MODE_DIRECT_NONE_MV:                          case MODE_DIRECT_NONE_MV:
1197                                  {                               // Because this file is a C file not C++ so I use '{' to define var                                  {
1198                                          const int64_t TRB = dec->time_pp - dec->time_bp, TRD = dec->time_pp;                                          const int64_t TRB = dec->time_pp - dec->time_bp, TRD = dec->time_pp;
1199                                          int i;                                          int i;
1200    
# Line 1253  Line 1254 
1254                                  break;                                  break;
1255    
1256                          default:                          default:
1257                                  //DEBUG1("Not support B-frame mb_type =", mb->mb_type);                                  DEBUG1("Not support B-frame mb_type =", mb->mb_type);
1258                                  ;                                  ;
1259                          }                          }
1260    
1261                            if ( (x==19) && (y==8) )
1262                            {
1263                                    fprintf(stderr,"D %d   %d    %d %d   %d %d  \n",0, mb->mb_type,
1264                                                    mb->mvs[0].x, mb->mvs[0].y,mb->b_mvs[0].x, mb->b_mvs[0].y );
1265                            }
1266    
1267    
1268    
1269                  }                                               // end of FOR                  }                                               // end of FOR
1270          }          }
1271  #ifdef BFRAMES_DEC_DEBUG  #ifdef BFRAMES_DEC_DEBUG

Legend:
Removed from v.315  
changed lines
  Added in v.326

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