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

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

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

revision 570, Sun Sep 29 15:56:21 2002 UTC revision 573, Mon Sep 30 14:16:02 2002 UTC
# Line 39  Line 39 
39   *             MinChen <chenm001@163.com>   *             MinChen <chenm001@163.com>
40   *  14.04.2002 added FrameCodeB()   *  14.04.2002 added FrameCodeB()
41   *   *
42   *  $Id: encoder.c,v 1.76.2.6 2002-09-29 15:56:21 chl Exp $   *  $Id: encoder.c,v 1.76.2.8 2002-09-30 14:16:02 chl Exp $
43   *   *
44   ****************************************************************************/   ****************************************************************************/
45    
# Line 411  Line 411 
411          pEnc->queue_size = 0;          pEnc->queue_size = 0;
412    
413          pEnc->mbParam.m_stamp = 0;          pEnc->mbParam.m_stamp = 0;
414  ;  
415          pEnc->m_framenum = 0;          pEnc->m_framenum = 0;
416            pEnc->current->stamp = 0;
417            pEnc->reference->stamp = 0;
418    
419          pParam->handle = (void *) pEnc;          pParam->handle = (void *) pEnc;
420    
# Line 1110  Line 1112 
1112          pEnc->current->motion_flags = pFrame->motion;          pEnc->current->motion_flags = pFrame->motion;
1113          pEnc->mbParam.hint = &pFrame->hint;          pEnc->mbParam.hint = &pFrame->hint;
1114    
1115            inc_frame_num(pEnc);
1116    
1117          /* disable alternate scan flag if interlacing is not enabled */          /* disable alternate scan flag if interlacing is not enabled */
1118          if ((pEnc->current->global_flags & XVID_ALTERNATESCAN) &&          if ((pEnc->current->global_flags & XVID_ALTERNATESCAN) &&
1119                  !(pEnc->current->global_flags & XVID_INTERLACING))                  !(pEnc->current->global_flags & XVID_INTERLACING))
# Line 1244  Line 1248 
1248          DEBUG(temp);          DEBUG(temp);
1249  #endif  #endif
1250    
         inc_frame_num(pEnc);  
1251          pEnc->iFrameNum++;          pEnc->iFrameNum++;
1252    
1253          stop_global_timer();          stop_global_timer();

Legend:
Removed from v.570  
changed lines
  Added in v.573

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