Changeset 921 in 3DVCSoftware
- Timestamp:
- 16 Apr 2014, 11:34:33 (11 years ago)
- Location:
- branches/HTM-10.2-dev2-MediaTek
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibCommon/ContextTables.h
r884 r921 430 430 431 431 #if H_3D_DBBP 432 #if MTK_DBBP_SIGNALING_H0094 432 433 static const UChar INIT_DBBP_FLAG[3][DBBP_NUM_FLAG_CTX] = 433 434 { 434 { CNU }, 435 { CNU }, 436 { CNU }, 437 }; 438 #endif 439 440 #endif 435 { 161 }, 436 { 161 }, 437 { 161 }, 438 }; 439 #else 440 static const UChar INIT_DBBP_FLAG[3][DBBP_NUM_FLAG_CTX] = 441 { 442 { CNU }, 443 { CNU }, 444 { CNU }, 445 }; 446 #endif 447 #endif 448 449 #endif -
branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibCommon/TypeDef.h
r912 r921 301 301 #define RWTH_DBBP_NO_SPU_H0057 1 302 302 #define SEC_DBBP_FILTERING_H0104 1 303 #define MTK_DBBP_SIGNALING_H0094 1 303 304 #endif 304 305 -
branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibDecoder/TDecEntropy.cpp
r898 r921 139 139 140 140 #if H_3D_DBBP 141 142 #if MTK_DBBP_SIGNALING_H0094 143 if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) ) 144 #else 141 145 if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE ) 146 #endif 142 147 { 143 148 decodeDBBPFlag(pcCU, uiAbsPartIdx, uiDepth); … … 145 150 if( pcCU->getDBBPFlag(uiAbsPartIdx) ) 146 151 { 152 #if !MTK_DBBP_SIGNALING_H0094 147 153 AOF( pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE ); 148 154 #endif 155 149 156 // get collocated depth block 150 157 UInt uiDepthStride = 0; -
branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibDecoder/TDecSbac.cpp
r884 r921 2141 2141 Void TDecSbac::parseDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2142 2142 { 2143 #if !MTK_DBBP_SIGNALING_H0094 2143 2144 PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx ); 2145 #endif 2144 2146 AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) ); 2145 2147 AOF( !pcCU->getSlice()->getIsDepth() ); 2148 #if !MTK_DBBP_SIGNALING_H0094 2146 2149 AOF( ePartSize == RWTH_DBBP_PACK_MODE ); 2150 #endif 2147 2151 2148 2152 UInt uiSymbol = 0; -
branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibEncoder/TEncEntropy.cpp
r884 r921 246 246 247 247 #if H_3D_DBBP 248 249 #if MTK_DBBP_SIGNALING_H0094 250 if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) ) 251 #else 248 252 if( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) && pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE ) 253 #endif 249 254 { 250 255 encodeDBBPFlag(pcCU, uiAbsPartIdx, bRD); … … 252 257 if( pcCU->getDBBPFlag(uiAbsPartIdx) ) 253 258 { 259 #if !MTK_DBBP_SIGNALING_H0094 254 260 AOF( pcCU->getPartitionSize(uiAbsPartIdx) == RWTH_DBBP_PACK_MODE ); 261 #endif 255 262 // restore virtual partition size for DBBP blocks 256 263 pcCU->setPartSizeSubParts(eVirtualPartSize, uiAbsPartIdx, uiDepth); -
branches/HTM-10.2-dev2-MediaTek/source/Lib/TLibEncoder/TEncSbac.cpp
r884 r921 2356 2356 Void TEncSbac::codeDBBPFlag( TComDataCU* pcCU, UInt uiAbsPartIdx ) 2357 2357 { 2358 #if !MTK_DBBP_SIGNALING_H0094 2358 2359 PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx ); 2359 2360 AOF( ePartSize == RWTH_DBBP_PACK_MODE ); 2361 #endif 2360 2362 AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) ); 2361 2363 AOF( !pcCU->getSlice()->getIsDepth() );
Note: See TracChangeset for help on using the changeset viewer.