Changeset 99 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibCommon
- Timestamp:
- 25 Mar 2013, 18:29:05 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComPic.cpp
r97 r99 736 736 } 737 737 } 738 memset( pcCUDes->getPartitionSize(), SIZE_2Nx2N, sizeof( char)*numPartitions);738 memset( pcCUDes->getPartitionSize(), SIZE_2Nx2N, sizeof(Char)*numPartitions); 739 739 } 740 740 } -
branches/HM-10.0-dev-SHM/source/Lib/TLibCommon/TComSlice.cpp
r97 r99 2155 2155 { 2156 2156 RefPicList refPicList = RefPicList( refList ); 2157 2158 //initialize reference POC of ILP 2159 for(Int refIdx = 0; refIdx < MAX_NUM_REF; refIdx++) 2157 2158 //set reference POC of ILP 2159 ilpPic[0]->getSlice(0)->setNumRefIdx(refPicList, pcRefPicBL->getSlice(0)->getNumRefIdx(refPicList)); 2160 assert(ilpPic[0]->getSlice(0)->getNumRefIdx(refPicList) >= 0); 2161 assert(ilpPic[0]->getSlice(0)->getNumRefIdx(refPicList) <= MAX_NUM_REF); 2162 2163 //initialize reference POC of ILP 2164 for(Int refIdx = 0; refIdx < pcRefPicBL->getSlice(0)->getNumRefIdx(refPicList); refIdx++) 2165 { 2166 ilpPic[0]->getSlice(0)->setRefPOC(pcRefPicBL->getSlice(0)->getRefPOC(refPicList, refIdx), refPicList, refIdx); 2167 ilpPic[0]->getSlice(0)->setRefPic(pcRefPicBL->getSlice(0)->getRefPic(refPicList, refIdx), refPicList, refIdx); 2168 } 2169 2170 for(Int refIdx = pcRefPicBL->getSlice(0)->getNumRefIdx(refPicList); refIdx < MAX_NUM_REF; refIdx++) 2160 2171 { 2161 2172 ilpPic[0]->getSlice(0)->setRefPOC(0, refPicList, refIdx); 2162 2173 ilpPic[0]->getSlice(0)->setRefPic(NULL, refPicList, refIdx); 2163 2174 } 2164 2165 //set reference POC of ILP2166 ilpPic[0]->getSlice(0)->setNumRefIdx(refPicList, pcRefPicBL->getSlice(0)->getNumRefIdx(refPicList));2167 assert(ilpPic[0]->getSlice(0)->getNumRefIdx(refPicList) <= MAX_NUM_REF);2168 2169 for(Int refIdx = 0; refIdx < pcRefPicBL->getSlice(0)->getNumRefIdx(refPicList); refIdx++)2170 {2171 ilpPic[0]->getSlice(0)->setRefPOC(pcRefPicBL->getSlice(0)->getRefPOC(refPicList, refIdx), refPicList, refIdx);2172 ilpPic[0]->getSlice(0)->setRefPic(pcRefPicBL->getSlice(0)->getRefPic(refPicList, refIdx), refPicList, refIdx);2173 }2174 2175 } 2175 2176 return;
Note: See TracChangeset for help on using the changeset viewer.