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

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

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

revision 924, Sat Mar 15 17:03:17 2003 UTC revision 925, Sat Mar 15 17:06:53 2003 UTC
# Line 26  Line 26 
26   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
27   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
28   *   *
29   *  $Id: encoder.c,v 1.95.2.7 2003-03-15 17:03:17 suxen_drol Exp $   *  $Id: encoder.c,v 1.95.2.8 2003-03-15 17:06:53 suxen_drol Exp $
30   *   *
31   ****************************************************************************/   ****************************************************************************/
32    
# Line 1119  Line 1119 
1119    
1120                  // place this frame back on the encoding-queue (head)                  // place this frame back on the encoding-queue (head)
1121                  // we will deal with it next time                  // we will deal with it next time
1122            dec_frame_num(pEnc);
1123            pEnc->iFrameNum--;
1124    
1125                  pEnc->queue_head = (pEnc->queue_head + (pEnc->mbParam.max_bframes+1) - 1) % (pEnc->mbParam.max_bframes+1);                  pEnc->queue_head = (pEnc->queue_head + (pEnc->mbParam.max_bframes+1) - 1) % (pEnc->mbParam.max_bframes+1);
1126          pEnc->queue_size++;          pEnc->queue_size++;
1127                  image_swap(&pEnc->current->image, &pEnc->queue[pEnc->queue_head].image);                  image_swap(&pEnc->current->image, &pEnc->queue[pEnc->queue_head].image);
1128    
         dec_frame_num(pEnc);  
         pEnc->iFrameNum--;  
   
1129                  // grab the last frame from the bframe-queue                  // grab the last frame from the bframe-queue
1130    
1131                  pEnc->bframenum_tail--;                  pEnc->bframenum_tail--;

Legend:
Removed from v.924  
changed lines
  Added in v.925

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