[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 680, Wed Nov 27 11:50:33 2002 UTC revision 688, Thu Nov 28 14:45:21 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.22 2002-11-27 11:50:33 suxen_drol Exp $   *  $Id: encoder.c,v 1.76.2.23 2002-11-28 14:45:21 syskin Exp $
43   *   *
44   ****************************************************************************/   ****************************************************************************/
45    
# Line 926  Line 926 
926          /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%          /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
927           * ivop/pvop/bvop selection           * ivop/pvop/bvop selection
928           * %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */           * %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% */
929            pEnc->iFrameNum++;
930    
931          if (pEnc->iFrameNum == 0 || pFrame->intra == 1 || pEnc->bframenum_dx50bvop >= 0 ||          if (pEnc->iFrameNum == 0 || pFrame->intra == 1 || pEnc->bframenum_dx50bvop >= 0 ||
932                  (pFrame->intra < 0 && pEnc->iMaxKeyInterval > 0 &&                  (pFrame->intra < 0 && pEnc->iMaxKeyInterval > 0 &&
# Line 1063  Line 1064 
1064                  goto bvop_loop;                  goto bvop_loop;
1065          }          }
1066    
         pEnc->iFrameNum++;  
   
1067          BitstreamPad(&bs);          BitstreamPad(&bs);
1068          pFrame->length = BitstreamLength(&bs);          pFrame->length = BitstreamLength(&bs);
1069    

Legend:
Removed from v.680  
changed lines
  Added in v.688

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