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

Diff of /xvidcore/src/encoder.c

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

revision 1.95.2.38, Thu Aug 7 15:41:33 2003 UTC revision 1.95.2.39, Fri Aug 22 16:11:58 2003 UTC
# Line 1568  Line 1568 
1568    
1569                                  current->sStat.kblks++;                                  current->sStat.kblks++;
1570    
1571                                    if (pEnc->current->vop_flags & XVID_VOP_GREYSCALE)
1572                                    {       pMB->cbp &= 0x3C;               /* keep only bits 5-2 */
1573                                            qcoeff[4*64+0]=0;               /* zero, because for INTRA MBs DC value is saved */
1574                                            qcoeff[5*64+0]=0;
1575                                    }
1576                                  MBCoding(current, pMB, qcoeff, bs, &current->sStat);                                  MBCoding(current, pMB, qcoeff, bs, &current->sStat);
1577                                  stop_coding_timer();                                  stop_coding_timer();
1578                                  continue;                                  continue;
# Line 1894  Line 1899 
1899                                  }                                  }
1900                          }                          }
1901    
1902  #ifdef BFRAMES_DEC_DEBUG                          /* keep only bits 5-2 -- Chroma blocks will just be skipped by the
1903          BFRAME_DEBUG                           * coding function for BFrames, that's why we don't zero teh DC
1904  #endif                           * coeffs */
1905                            if ((frame->vop_flags & XVID_VOP_GREYSCALE))
1906                                    mb->cbp &= 0x3C;
1907    
1908                          start_timer();                          start_timer();
1909                          MBCodingBVOP(mb, qcoeff, frame->fcode, frame->bcode, bs,                          MBCodingBVOP(mb, qcoeff, frame->fcode, frame->bcode, bs,
1910                                                   &frame->sStat, direction);                                                   &frame->sStat, direction);

Legend:
Removed from v.1.95.2.38  
changed lines
  Added in v.1.95.2.39

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