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

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

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

revision 1168, Fri Oct 3 15:49:21 2003 UTC revision 1169, Fri Oct 3 16:57:55 2003 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: mbprediction.c,v 1.13.2.9 2003-10-01 23:23:01 edgomez Exp $   * $Id: mbprediction.c,v 1.13.2.10 2003-10-03 16:57:55 edgomez Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 347  Line 347 
347          qcoeff[0] = qcoeff[0] - predictors[0];          qcoeff[0] = qcoeff[0] - predictors[0];
348    
349          /* calc cost before ac prediction */          /* calc cost before ac prediction */
 #ifdef BIGLUT  
         Z2 = CodeCoeff_CalcBits(qcoeff, intra_table, scan_tables[0], 1);  
 #else  
350          Z2 = CodeCoeffIntra_CalcBits(qcoeff, scan_tables[0]);          Z2 = CodeCoeffIntra_CalcBits(qcoeff, scan_tables[0]);
 #endif  
351    
352          /* apply ac prediction & calc cost*/          /* apply ac prediction & calc cost*/
353          if (direction == 1) {          if (direction == 1) {
# Line 368  Line 364 
364                  }                  }
365          }          }
366    
 #ifdef BIGLUT  
         Z1 = CodeCoeff_CalcBits(qcoeff, intra_table, scan_tables[direction], 1);  
 #else  
367          Z1 = CodeCoeffIntra_CalcBits(qcoeff, scan_tables[direction]);          Z1 = CodeCoeffIntra_CalcBits(qcoeff, scan_tables[direction]);
 #endif  
368    
369          /* undo prediction */          /* undo prediction */
370          if (direction == 1) {          if (direction == 1) {

Legend:
Removed from v.1168  
changed lines
  Added in v.1169

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