Ignore:
Timestamp:
25 Jan 2013, 14:45:24 (11 years ago)
Author:
hhi-htm
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-5.1-dev1-HHI/source/Lib/TLibEncoder/TEncCu.cpp

    r228 r229  
    459459
    460460#if HHI_QTLPC_RAU_OFF_C0160
    461   Bool rapPic     = (rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR);
     461  Bool rapPic     = (rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA);
    462462#endif
    463463
     
    11191119      if ( !bEarlySkip
    11201120#if HHI_DEPTH_INTRA_SEARCH_RAU_C0160
    1121         || ((rpcBestCU->getSlice()->getIsDepth() == true) && (rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR))
     1121        || ((rpcBestCU->getSlice()->getIsDepth() == true) && (rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA))
    11221122#endif
    11231123        )
     
    11301130          rpcBestCU->getCbf( 0, TEXT_CHROMA_V ) != 0
    11311131#if HHI_DEPTH_INTRA_SEARCH_RAU_C0160
    1132           || ((rpcBestCU->getSlice()->getIsDepth() == true) && (rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR))
     1132          || ((rpcBestCU->getSlice()->getIsDepth() == true) && (rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA))
    11331133#endif           
    11341134          ) && !bFullyRenderedSec ) // avoid very complex intra if it is unlikely
     
    11391139          rpcBestCU->getCbf( 0, TEXT_CHROMA_V ) != 0     
    11401140#if HHI_DEPTH_INTRA_SEARCH_RAU_C0160
    1141           || ((rpcBestCU->getSlice()->getIsDepth() == true) && (rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR))
     1141          || ((rpcBestCU->getSlice()->getIsDepth() == true) && (rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || rpcBestCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA))
    11421142#endif     
    11431143          ) // avoid very complex intra if it is unlikely
Note: See TracChangeset for help on using the changeset viewer.