[svn] / branches / dev-api-4 / xvidcore / dshow / src / CXvidDecoder.cpp Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/dshow/src/CXvidDecoder.cpp

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

revision 1314, Wed Jan 21 04:26:21 2004 UTC revision 1334, Mon Jan 26 05:49:42 2004 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: CXvidDecoder.cpp,v 1.1.2.11 2004-01-21 04:26:21 syskin Exp $   * $Id: CXvidDecoder.cpp,v 1.1.2.12 2004-01-26 05:49:42 syskin Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 252  Line 252 
252    
253          // Set the default post-processing settings          // Set the default post-processing settings
254          REG_GET_N("Brightness", PPSettings.nBrightness, 25)          REG_GET_N("Brightness", PPSettings.nBrightness, 25)
255          REG_GET_N("Deblock_Y",  PPSettings.bDeblock_Y, 0)          REG_GET_N("Deblock_Y",  PPSettings.nDeblock_Y, 0)
256          REG_GET_N("Deblock_UV", PPSettings.bDeblock_UV, 0)          REG_GET_N("Deblock_UV", PPSettings.nDeblock_UV, 0)
257          REG_GET_N("Dering",  PPSettings.bDering, 0)          REG_GET_N("Dering",  PPSettings.nDering, 0)
258          REG_GET_N("FilmEffect", PPSettings.bFilmEffect, 0)          REG_GET_N("FilmEffect", PPSettings.nFilmEffect, 0)
259          REG_GET_N("ForceColorspace", PPSettings.nForceColorspace, 0)          REG_GET_N("ForceColorspace", PPSettings.nForceColorspace, 0)
260            REG_GET_N("FlipVideo",  PPSettings.nFlipVideo, 0)
261    
262          RegCloseKey(hKey);          RegCloseKey(hKey);
263    
# Line 704  Line 705 
705          if (pIn->IsDiscontinuity() == S_OK)          if (pIn->IsDiscontinuity() == S_OK)
706                  m_frame.general = XVID_DISCONTINUITY;                  m_frame.general = XVID_DISCONTINUITY;
707    
708          if (PPSettings.bDeblock_Y)          if (PPSettings.nDeblock_Y)
709                  m_frame.general |= XVID_DEBLOCKY;                  m_frame.general |= XVID_DEBLOCKY;
710    
711          if (PPSettings.bDeblock_UV)          if (PPSettings.nDeblock_UV)
712                  m_frame.general |= XVID_DEBLOCKUV;                  m_frame.general |= XVID_DEBLOCKUV;
713  /*  /*
714          if (PPSettings.bDering)          if (PPSettings.nDering)
715                  m_frame.general |= XVID_DERING;                  m_frame.general |= XVID_DERING;
716  */  */
717          if (PPSettings.bFilmEffect)          if (PPSettings.nFilmEffect)
718                  m_frame.general |= XVID_FILMEFFECT;                  m_frame.general |= XVID_FILMEFFECT;
719    
720          m_frame.output.csp &= ~XVID_CSP_VFLIP;          m_frame.output.csp &= ~XVID_CSP_VFLIP;
721          m_frame.output.csp |= rgb_flip^(PPSettings.bFlipVideo ? XVID_CSP_VFLIP : 0);          m_frame.output.csp |= rgb_flip^(PPSettings.nFlipVideo ? XVID_CSP_VFLIP : 0);
722    
723  repeat :  repeat :
724    

Legend:
Removed from v.1314  
changed lines
  Added in v.1334

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