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

Diff of /trunk/xvidcore/src/encoder.c

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

revision 966, Wed Apr 2 20:43:56 2003 UTC revision 967, Fri Apr 4 03:16:09 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.96 2003-03-04 10:55:21 syskin Exp $   *  $Id: encoder.c,v 1.97 2003-04-04 03:15:59 Isibaar Exp $
30   *   *
31   ****************************************************************************/   ****************************************************************************/
32    
# Line 752  Line 752 
752                          pResult->ublks = pEnc->current->sStat.ublks;                          pResult->ublks = pEnc->current->sStat.ublks;
753                  }                  }
754    
755                    emms();
756    
757                    if (pFrame->quant == 0) {
758                            RateControlUpdate(&pEnc->rate_control, pEnc->current->quant,
759                                                              pFrame->length, pFrame->intra);
760                    }
761    
762                  if (input_valid)                  if (input_valid)
763                          queue_image(pEnc, pFrame);                          queue_image(pEnc, pFrame);
764    
# Line 794  Line 801 
801                                  pResult->ublks = pEnc->current->sStat.ublks;                                  pResult->ublks = pEnc->current->sStat.ublks;
802                          }                          }
803    
804                            emms();
805    
806                            if (pFrame->quant == 0) {
807                                    RateControlUpdate(&pEnc->rate_control, pEnc->current->quant,
808                                                                      pFrame->length, pFrame->intra);
809                            }
810    
811                          if (input_valid)                          if (input_valid)
812                                  queue_image(pEnc, pFrame);                                  queue_image(pEnc, pFrame);
813    

Legend:
Removed from v.966  
changed lines
  Added in v.967

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