Ticket #179: fix179.patch

File fix179.patch, 897 bytes (added by hao, 11 years ago)
  • source/Lib/TLibCommon/TypeDef.h

     
    192192#define FAST_UDI_USE_MPM 1
    193193#define SONY_SIG_CTX 1
    194194#define SNY_DQP                          1           ///< syntax change of dQP (JCT-VC D258)
     195#define FIX_TICKET179 1
    195196
    196197#define TI_ALF_MAX_VSIZE_7 1
    197198
  • source/Lib/TLibEncoder/TEncCu.cpp

     
    319319  {
    320320    if ( pcCU->isSkipped( 0 ) && pcCU->getDepth( 0 ) == 0 )
    321321    {
     322#if FIX_TICKET179
     323      pcCU->setQPSubParts( pcCU->getSlice()->getSliceQp(), 0, 0 );
     324#endif
    322325    }
    323326    else if ( pcCU->getdQPFlag())// non-skip
    324327    {