[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.76.2.44, Sat Feb 15 05:57:14 2003 UTC revision 1.91, Sat Feb 15 15:22:17 2003 UTC
# Line 631  Line 631 
631                  return;                  return;
632          stop_conv_timer();          stop_conv_timer();
633    
         if ((pFrame->general & XVID_CHROMAOPT)) {  
                 image_chroma_optimize(&pEnc->queue[pEnc->queue_tail],  
                         pEnc->mbParam.width, pEnc->mbParam.height, pEnc->mbParam.edged_width);  
         }  
   
634          pEnc->queue_size++;          pEnc->queue_size++;
635          pEnc->queue_tail =  (pEnc->queue_tail + 1) % pEnc->mbParam.max_bframes;          pEnc->queue_tail =  (pEnc->queue_tail + 1) % pEnc->mbParam.max_bframes;
636  }  }
# Line 855  Line 850 
850                  }                  }
851                  stop_conv_timer();                  stop_conv_timer();
852    
                 if ((pFrame->general & XVID_CHROMAOPT)) {  
                         image_chroma_optimize(&pEnc->current->image,  
                                 pEnc->mbParam.width, pEnc->mbParam.height, pEnc->mbParam.edged_width);  
                 }  
   
853                  // queue input frame, and dequue next image                  // queue input frame, and dequue next image
854                  if (pEnc->queue_size > 0)                  if (pEnc->queue_size > 0)
855                  {                  {
# Line 1248  Line 1238 
1238                  return XVID_ERR_FORMAT;                  return XVID_ERR_FORMAT;
1239          stop_conv_timer();          stop_conv_timer();
1240    
         if ((pFrame->general & XVID_CHROMAOPT)) {  
                 image_chroma_optimize(&pEnc->current->image,  
                         pEnc->mbParam.width, pEnc->mbParam.height, pEnc->mbParam.edged_width);  
         }  
   
1241          if (pFrame->general & XVID_EXTRASTATS)          if (pFrame->general & XVID_EXTRASTATS)
1242          {       image_copy(&pEnc->sOriginal, &pEnc->current->image,          {       image_copy(&pEnc->sOriginal, &pEnc->current->image,
1243                                     pEnc->mbParam.edged_width, pEnc->mbParam.height);                                     pEnc->mbParam.edged_width, pEnc->mbParam.height);

Legend:
Removed from v.1.76.2.44  
changed lines
  Added in v.1.91

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