Changeset 229 in 3DVCSoftware for branches/HTM-5.1-dev1-HHI
- Timestamp:
- 25 Jan 2013, 14:45:24 (12 years ago)
- Location:
- branches/HTM-5.1-dev1-HHI/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.1-dev1-HHI/source/Lib/TLibDecoder/TDecSbac.cpp
r228 r229 763 763 764 764 #if HHI_QTLPC_RAU_OFF_C0160 765 Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR );765 Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA); 766 766 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTLPC()) 767 767 #else … … 810 810 811 811 #if HHI_QTLPC_RAU_OFF_C0160 812 Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR );812 Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA); 813 813 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTLPC()) 814 814 #else -
branches/HTM-5.1-dev1-HHI/source/Lib/TLibEncoder/TEncCu.cpp
r228 r229 459 459 460 460 #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); 462 462 #endif 463 463 … … 1119 1119 if ( !bEarlySkip 1120 1120 #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)) 1122 1122 #endif 1123 1123 ) … … 1130 1130 rpcBestCU->getCbf( 0, TEXT_CHROMA_V ) != 0 1131 1131 #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)) 1133 1133 #endif 1134 1134 ) && !bFullyRenderedSec ) // avoid very complex intra if it is unlikely … … 1139 1139 rpcBestCU->getCbf( 0, TEXT_CHROMA_V ) != 0 1140 1140 #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)) 1142 1142 #endif 1143 1143 ) // avoid very complex intra if it is unlikely -
branches/HTM-5.1-dev1-HHI/source/Lib/TLibEncoder/TEncSbac.cpp
r228 r229 626 626 627 627 #if HHI_QTLPC_RAU_OFF_C0160 628 Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR );628 Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA); 629 629 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTLPC() && pcCU->getPic()->getReduceBitsFlag()) 630 630 #else … … 930 930 931 931 #if HHI_QTLPC_RAU_OFF_C0160 932 Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR );932 Bool rapPic = (pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR || pcCU->getSlice()->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA); 933 933 if(bDepthMapDetect && !bIntraSliceDetect && !rapPic && sps->getUseQTLPC() && pcCU->getPic()->getReduceBitsFlag()) 934 934 #else
Note: See TracChangeset for help on using the changeset viewer.