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 |
|
|
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 |
|
|
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 |
|
|