[svn] / branches / Isibaar / xvidcore / src / utils / mbtransquant.c Repository:
ViewVC logotype

Diff of /branches/Isibaar/xvidcore/src/utils/mbtransquant.c

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

revision 1004, Sat May 3 23:26:55 2003 UTC revision 1005, Sun May 4 15:15:59 2003 UTC
# Line 265  Line 265 
265    
266                  sum = QuantizeInterBlock(&qcoeff[i * 64], &data[i * 64], iQuant, pParam->m_quant_type);                  sum = QuantizeInterBlock(&qcoeff[i * 64], &data[i * 64], iQuant, pParam->m_quant_type);
267    
268                    if(frame->global_flags & XVID_CARTOON_MODE) {
269                            limit *= 3;
270                    }
271    
272                  if (sum >= limit) {                  if (sum >= limit) {
273    
274                          start_timer();                          start_timer();
# Line 346  Line 350 
350    
351                  int sum = QuantizeInterBlock(&qcoeff[i * 64], &data[i * 64], pMB->quant, pParam->m_quant_type);                  int sum = QuantizeInterBlock(&qcoeff[i * 64], &data[i * 64], pMB->quant, pParam->m_quant_type);
352    
353                    if(frame->global_flags & XVID_CARTOON_MODE) {
354                            limit *= 2;
355                    }
356    
357                  if ((sum > 2) || (qcoeff[i*64+1] != 0) || (qcoeff[i*64+8] != 0) ) codedecision = 1;                  if ((sum > 2) || (qcoeff[i*64+1] != 0) || (qcoeff[i*64+8] != 0) ) codedecision = 1;
358                  else {                  else {
359                          if (pMB->mode == MODE_DIRECT || pMB->mode == MODE_DIRECT_NO4V) {                          if (pMB->mode == MODE_DIRECT || pMB->mode == MODE_DIRECT_NO4V) {

Legend:
Removed from v.1004  
changed lines
  Added in v.1005

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