[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 4, Fri Mar 8 19:17:46 2002 UTC revision 13, Sat Mar 9 14:58:50 2002 UTC
# Line 219  Line 219 
219          uint16_t quant_type = 0;          uint16_t quant_type = 0;
220          uint16_t write_vol_header = 0;          uint16_t write_vol_header = 0;
221    
     IMAGE *pCurrent = &(pEnc->sCurrent);  
   
222          start_global_timer();          start_global_timer();
223    
224      ENC_CHECK(pEnc);      ENC_CHECK(pEnc);
# Line 358  Line 356 
356      int16_t dct_codes[6][64];      int16_t dct_codes[6][64];
357      int16_t qcoeff[6][64];      int16_t qcoeff[6][64];
358      uint16_t x, y;      uint16_t x, y;
     IMAGE *pCurrent = &pEnc->sCurrent;  
359    
360      pEnc->iFrameNum = 0;      pEnc->iFrameNum = 0;
361      pEnc->mbParam.rounding_type = 1;      pEnc->mbParam.rounding_type = 1;
# Line 382  Line 379 
379    
380                          CodeIntraMB(pEnc, pMB);                          CodeIntraMB(pEnc, pMB);
381    
382                          MBTransQuantIntra(&pEnc->mbParam, x, y, dct_codes, qcoeff, pCurrent);                          MBTransQuantIntra(&pEnc->mbParam, x, y, dct_codes, qcoeff, &pEnc->sCurrent);
383    
384                          start_timer();                          start_timer();
385                          MBPrediction(&pEnc->mbParam, x, y, pEnc->mbParam.mb_width, qcoeff, pEnc->pMBs);                          MBPrediction(&pEnc->mbParam, x, y, pEnc->mbParam.mb_width, qcoeff, pEnc->pMBs);

Legend:
Removed from v.4  
changed lines
  Added in v.13

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