[svn] / branches / release-1_0-branch / xvidcore / src / motion / estimation_rd_based.c Repository:
ViewVC logotype

Diff of /branches/release-1_0-branch/xvidcore/src/motion/estimation_rd_based.c

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

revision 1466, Mon May 31 21:36:23 2004 UTC revision 1467, Fri Jun 4 11:54:42 2004 UTC
# Line 20  Line 20 
20   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
21   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   *   *
23   * $Id: estimation_rd_based.c,v 1.2.2.1 2004-05-03 23:28:29 edgomez Exp $   * $Id: estimation_rd_based.c,v 1.2.2.2 2004-06-04 11:54:42 edgomez Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 128  Line 128 
128          }          }
129    
130          predict_acdc(pMB-(x+mb_width*y), x, y, mb_width, block, qcoeff,          predict_acdc(pMB-(x+mb_width*y), x, y, mb_width, block, qcoeff,
131                                  quant, iDcScaler, predictors, 0, 0);                                  quant, iDcScaler, predictors, 0);
132    
133          direction = pMB->acpred_directions[block];          direction = pMB->acpred_directions[block];
134          pCurrent = pMB->pred_values[block];          pCurrent = pMB->pred_values[block];
135    
136          /* store current coeffs to pred_values[] for future prediction */          /* store current coeffs to pred_values[] for future prediction */
137          pCurrent[0] = qcoeff[0] * iDcScaler;          pCurrent[0] = qcoeff[0] * iDcScaler;
138            pCurrent[0] = CLIP(pCurrent[0], -2048, 2047);
139          for (i = 1; i < 8; i++) {          for (i = 1; i < 8; i++) {
140                  pCurrent[i] = qcoeff[i];                  pCurrent[i] = qcoeff[i];
141                  pCurrent[i + 7] = qcoeff[i * 8];                  pCurrent[i + 7] = qcoeff[i * 8];

Legend:
Removed from v.1466  
changed lines
  Added in v.1467

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