Changeset 1290 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon/TComChromaFormat.h
- Timestamp:
- 18 Jul 2015, 01:59:29 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComChromaFormat.h
r1287 r1290 127 127 //returns the part index of the luma region that is co-located with the specified chroma region 128 128 129 static inline UInt getChromasCorrespondingPULumaIdx(const UInt lumaZOrderIdxInCtu, const ChromaFormat chFmt) 130 { 131 return enable4ChromaPUsInIntraNxNCU(chFmt) ? lumaZOrderIdxInCtu : lumaZOrderIdxInCtu & (~((1<<(2*g_uiAddCUDepth))-1)); //(lumaZOrderIdxInCtu/numParts)*numParts; 129 static inline UInt 130 getChromasCorrespondingPULumaIdx(const UInt lumaZOrderIdxInCtu, 131 const ChromaFormat chFmt, 132 const Int partsPerMinCU // 1<<(2*(sps->getMaxTotalCUDepth() - sps->getLog2DiffMaxMinCodingBlockSize())) 133 ) 134 { 135 return enable4ChromaPUsInIntraNxNCU(chFmt) ? lumaZOrderIdxInCtu : lumaZOrderIdxInCtu & (~(partsPerMinCU-1)); 132 136 } 133 137
Note: See TracChangeset for help on using the changeset viewer.