Changeset 816 in 3DVCSoftware for branches/HTM-9.3-dev1-RWTH/source/Lib/TLibEncoder/TEncEntropy.cpp
- Timestamp:
- 3 Feb 2014, 11:35:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev1-RWTH/source/Lib/TLibEncoder/TEncEntropy.cpp
r773 r816 240 240 uiAbsPartIdx = 0; 241 241 } 242 243 #if H_3D_DBBP 244 PartSize eVirtualPartSize = pcCU->getPartitionSize(uiAbsPartIdx); 245 if( pcCU->getDBBPFlag(uiAbsPartIdx) ) 246 { 247 // temporarily change partition size for DBBP blocks 248 pcCU->setPartSizeSubParts(RWTH_DBBP_PACK_MODE, uiAbsPartIdx, uiDepth); 249 } 250 #endif 251 242 252 m_pcEntropyCoderIf->codePartSize( pcCU, uiAbsPartIdx, uiDepth ); 253 254 #if H_3D_DBBP 255 if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE ) 256 { 257 encodeDBBPFlag(pcCU, uiAbsPartIdx, bRD); 258 259 if( pcCU->getDBBPFlag(uiAbsPartIdx) ) 260 { 261 AOF( pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE ); 262 // restore virtual partition size for DBBP blocks 263 pcCU->setPartSizeSubParts(eVirtualPartSize, uiAbsPartIdx, uiDepth); 264 } 265 } 266 #endif 243 267 } 244 268 … … 873 897 #endif 874 898 899 #if H_3D_DBBP 900 Void TEncEntropy::encodeDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 901 { 902 if( bRD ) 903 { 904 uiAbsPartIdx = 0; 905 } 906 m_pcEntropyCoderIf->codeDBBPFlag( pcCU, uiAbsPartIdx ); 907 } 908 #endif 909 875 910 //! \}
Note: See TracChangeset for help on using the changeset viewer.