[cvs] / xvidcore / src / encoder.c Repository:
ViewVC logotype

Diff of /xvidcore/src/encoder.c

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

revision 1.102.2.7, Sun Jul 18 12:03:19 2004 UTC revision 1.109, Sun Dec 5 13:01:27 2004 UTC
# Line 1697  Line 1697 
1697                                                                   pParam->height,                                                                   pParam->height,
1698                                                                   pParam->edged_width,                                                                   pParam->edged_width,
1699                                                                   (current->vol_flags & XVID_VOL_QUARTERPEL),                                                                   (current->vol_flags & XVID_VOL_QUARTERPEL),
                                                                  (current->vop_flags & XVID_VOP_REDUCED),  
1700                                                                   current->rounding_type);                                                                   current->rounding_type);
1701    
1702                          stop_comp_timer();                          stop_comp_timer();
# Line 1868  Line 1867 
1867  #endif  #endif
1868          if (current->sStat.kblks + current->sStat.mblks <=          if (current->sStat.kblks + current->sStat.mblks <=
1869                  (pParam->frame_drop_ratio * mb_width * mb_height) / 100 &&                  (pParam->frame_drop_ratio * mb_width * mb_height) / 100 &&
1870                  pEnc->mbParam.max_bframes == 0)                  ( (pEnc->bframenum_head >= pEnc->bframenum_tail) || !(pEnc->mbParam.global_flags & XVID_GLOBAL_CLOSED_GOP)) )
1871          {          {
1872                  current->sStat.kblks = current->sStat.mblks = 0;                  current->sStat.kblks = current->sStat.mblks = 0;
1873                  current->sStat.ublks = mb_width * mb_height;                  current->sStat.ublks = mb_width * mb_height;
# Line 2017  Line 2016 
2016                          if (mb->mode == MODE_NOT_CODED) {                          if (mb->mode == MODE_NOT_CODED) {
2017                                  if (pEnc->mbParam.plugin_flags & XVID_REQORIGINAL) {                                  if (pEnc->mbParam.plugin_flags & XVID_REQORIGINAL) {
2018                                          MBMotionCompensation(mb, x, y, f_ref, NULL, f_ref, NULL, NULL, &frame->image,                                          MBMotionCompensation(mb, x, y, f_ref, NULL, f_ref, NULL, NULL, &frame->image,
2019                                                                                          NULL, 0, 0, pEnc->mbParam.edged_width, 0, 0, 0);                                                                                          NULL, 0, 0, pEnc->mbParam.edged_width, 0, 0);
2020                                  }                                  }
2021    
2022                                  continue;                                  continue;

Legend:
Removed from v.1.102.2.7  
changed lines
  Added in v.1.109

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