Changeset 49 in SHVCSoftware
- Timestamp:
- 25 Feb 2013, 21:01:18 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-1.1-dev/source/Lib/TLibCommon/TComPic.cpp
r47 r49 624 624 #endif 625 625 626 UInt uiNumPartitions = 1<<(g_uiMaxCUDepth<<1); 627 UInt uiWidthMinPU = g_uiMaxCUWidth/(1<<g_uiMaxCUDepth); 628 UInt uiHeightMinPU = g_uiMaxCUHeight/(1<<g_uiMaxCUDepth); 629 Int unitNum = max (1, (Int)((16/uiWidthMinPU)*(16/uiHeightMinPU)) ); 630 626 631 for(UInt cuIdx = 0; cuIdx < getPicSym()->getNumberOfCUsInFrame(); cuIdx++) //each LCU 627 632 { 628 UInt uiNumPartitions = 1<<(g_uiMaxCUDepth<<1);629 630 633 TComDataCU* pcCUDes = getCU(cuIdx); 631 632 UInt uiWidthMinPU = g_uiMaxCUWidth/(1<<g_uiMaxCUDepth);633 UInt uiHeightMinPU = g_uiMaxCUHeight/(1<<g_uiMaxCUDepth);634 Int unitNum = max (1, (Int)((16/uiWidthMinPU)*(16/uiHeightMinPU)) );635 634 636 635 for(UInt uiAbsPartIdx = 0; uiAbsPartIdx < uiNumPartitions; uiAbsPartIdx+=unitNum ) //each 16x16 unit
Note: See TracChangeset for help on using the changeset viewer.