[svn] / branches / dev-api-3 / xvidcore / src / encoder.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/xvidcore/src/encoder.c

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

revision 701, Mon Dec 9 10:47:05 2002 UTC revision 702, Tue Dec 10 11:13:50 2002 UTC
# Line 39  Line 39 
39   *             MinChen <chenm001@163.com>   *             MinChen <chenm001@163.com>
40   *  14.04.2002 added FrameCodeB()   *  14.04.2002 added FrameCodeB()
41   *   *
42   *  $Id: encoder.c,v 1.76.2.26 2002-12-09 10:47:05 suxen_drol Exp $   *  $Id: encoder.c,v 1.76.2.27 2002-12-10 11:13:50 suxen_drol Exp $
43   *   *
44   ****************************************************************************/   ****************************************************************************/
45    
# Line 1590  Line 1590 
1590                          stop_coding_timer();                          stop_coding_timer();
1591                  }                  }
1592    
1593            if ((pEnc->current->global_flags & XVID_REDUCED))
1594            {
1595                    image_deblock_rrv(&pEnc->current->image, pEnc->mbParam.edged_width,
1596                            pEnc->current->mbs, mb_width, mb_height, pEnc->mbParam.mb_width);
1597            }
1598          emms();          emms();
1599    
1600          *pBits = BitstreamPos(bs) - *pBits;          *pBits = BitstreamPos(bs) - *pBits;
# Line 1632  Line 1637 
1637    
1638          if ((pEnc->current->global_flags & XVID_REDUCED))          if ((pEnc->current->global_flags & XVID_REDUCED))
1639          {          {
1640                  // mb_width = (pEnc->mbParam.width + 31) / 32;                  mb_width = (pEnc->mbParam.width + 31) / 32;
1641                  // mb_height = (pEnc->mbParam.height + 31) / 32;                  mb_height = (pEnc->mbParam.height + 31) / 32;
   
                 /* XXX: reduced resoltion not yet supported */  
                 pEnc->current->global_flags &= ~XVID_REDUCED;  
1642          }          }
1643    
1644    
# Line 1834  Line 1836 
1836                  }                  }
1837          }          }
1838    
1839            if ((pEnc->current->global_flags & XVID_REDUCED))
1840            {
1841                    image_deblock_rrv(&pEnc->current->image, pEnc->mbParam.edged_width,
1842                            pEnc->current->mbs, mb_width, mb_height, pEnc->mbParam.mb_width);
1843            }
1844    
1845          emms();          emms();
1846    
1847          if (pEnc->current->global_flags & XVID_HINTEDME_GET) {          if (pEnc->current->global_flags & XVID_HINTEDME_GET) {
# Line 1902  Line 1910 
1910          }          }
1911          */          */
1912    
1913    
1914          *pBits = BitstreamPos(bs) - *pBits;          *pBits = BitstreamPos(bs) - *pBits;
1915    
1916          return 0;                                       // inter          return 0;                                       // inter

Legend:
Removed from v.701  
changed lines
  Added in v.702

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