[cvs] / xvidcore / dshow / src / CXvidDecoder.cpp Repository:
ViewVC logotype

Diff of /xvidcore/dshow/src/CXvidDecoder.cpp

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

revision 1.1.2.11, Wed Jan 21 04:26:21 2004 UTC revision 1.1.2.12, Mon Jan 26 05:49:42 2004 UTC
# 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.1.1.2.11  
changed lines
  Added in v.1.1.2.12

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