Changeset 1077 in SHVCSoftware for branches/SHM-dev/source
- Timestamp:
- 10 Mar 2015, 17:32:41 (10 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r1057 r1077 1491 1491 if( it != listOfPocsInEachLayer[layerId].end() ) // picture found. 1492 1492 { 1493 Int picPosition = std::distance( listOfPocsInEachLayer[layerId].begin(), it );1493 Int picPosition = (Int)std::distance( listOfPocsInEachLayer[layerId].begin(), it ); 1494 1494 Int j; 1495 1495 for(j = 0, iterPic = m_acTDecTop[layerId].getListPic()->begin(); j < listOfPocsPositionInEachLayer[layerId][picPosition]; j++) // Picture to be output … … 1648 1648 if( it != listOfPocsInEachLayer[i].end() ) 1649 1649 { 1650 Int picPosition = std::distance( listOfPocsInEachLayer[i].begin(), it );1650 Int picPosition = (Int)std::distance( listOfPocsInEachLayer[i].begin(), it ); 1651 1651 Int j; 1652 1652 for(j = 0, iterPic = m_acTDecTop[i].getListPic()->begin(); j < listOfPocsPositionInEachLayer[i][picPosition]; j++) // Picture to be output … … 1803 1803 Int targetLsIdx = vps->getOutputLayerSetIdx( getCommonDecoderParams()->getTargetOutputLayerSetIdx() ); 1804 1804 // Update status 1805 dpbStatus.m_numAUsNotDisplayed = listOfPocs.size(); // Number of AUs not displayed1805 dpbStatus.m_numAUsNotDisplayed = (Int)listOfPocs.size(); // Number of AUs not displayed 1806 1806 dpbStatus.m_numLayers = vps->getNumLayersInIdList( targetLsIdx ); 1807 1807 #if FIX_ALIGN_BUMPING … … 1823 1823 #endif 1824 1824 { 1825 dpbStatus.m_numPicsNotDisplayedInLayer[i] = listOfPocsInEachLayer[i].size();1825 dpbStatus.m_numPicsNotDisplayedInLayer[i] = (Int)listOfPocsInEachLayer[i].size(); 1826 1826 #if RESOLUTION_BASED_DPB 1827 1827 dpbStatus.m_numPicsInSubDpb[vps->getSubDpbAssigned(targetLsIdx,i)] += dpbStatus.m_numPicsInLayer[i]; -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1073 r1077 3329 3329 } 3330 3330 } 3331 m_numLayerInIdList.push_back( m_layerSetLayerIdList[i].size());3331 m_numLayerInIdList.push_back((Int)m_layerSetLayerIdList[i].size()); 3332 3332 } 3333 3333 } … … 3591 3591 if( it != m_layerSetLayerIdList[olsIdx].end() ) 3592 3592 { 3593 layerIdc = std::distance( m_layerSetLayerIdList[olsIdx].begin(), it );3593 layerIdc = (Int)std::distance( m_layerSetLayerIdList[olsIdx].begin(), it ); 3594 3594 } 3595 3595 -
branches/SHM-dev/source/Lib/TLibEncoder/SEIwrite.cpp
r1037 r1077 1165 1165 #if NESTING_SEI_EXTENSIBILITY 1166 1166 assert( sei.m_nestedSEIs.size() <= MAX_SEIS_IN_BSP_NESTING ); 1167 WRITE_UVLC( sei.m_nestedSEIs.size(), "num_seis_in_bsp_minus1" );1167 WRITE_UVLC( (UInt)sei.m_nestedSEIs.size(), "num_seis_in_bsp_minus1" ); 1168 1168 #endif 1169 1169 // write nested SEI messages -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1063 r1077 3047 3047 if (m_pcCfg->getCabacZeroWordPaddingEnabled()) 3048 3048 { 3049 std::vector<Char> zeroBytesPadding( numberOfAdditionalCabacZeroBytes, Char(0));3050 for( Int64i=0; i<numberOfAdditionalCabacZeroWords; i++)3049 std::vector<Char> zeroBytesPadding((size_t)numberOfAdditionalCabacZeroBytes, Char(0)); 3050 for(size_t i=0; i<numberOfAdditionalCabacZeroWords; i++) 3051 3051 { 3052 3052 zeroBytesPadding[i*3+2]=3; // 00 00 03 3053 3053 } 3054 accessUnit.back()->m_nalUnitData.write(&(zeroBytesPadding[0]), numberOfAdditionalCabacZeroBytes);3054 accessUnit.back()->m_nalUnitData.write(&(zeroBytesPadding[0]), (size_t)numberOfAdditionalCabacZeroBytes); 3055 3055 printf("Adding %lld bytes of padding\n", numberOfAdditionalCabacZeroWords*3); 3056 3056 } … … 4448 4448 { 4449 4449 strTmp = m_pcCfg->getOverlaySEILanguage()[i]; 4450 nBytes = m_pcCfg->getOverlaySEILanguage()[i].size();4450 nBytes = (Int)m_pcCfg->getOverlaySEILanguage()[i].size(); 4451 4451 assert( nBytes>0 ); 4452 4452 sei->m_overlayLanguage[i] = new UChar[nBytes]; … … 4457 4457 //overlay name 4458 4458 strTmp = m_pcCfg->getOverlaySEIName()[i]; 4459 nBytes = m_pcCfg->getOverlaySEIName()[i].size();4459 nBytes = (Int)m_pcCfg->getOverlaySEIName()[i].size(); 4460 4460 assert( nBytes>0 ); 4461 4461 sei->m_overlayName[i] = new UChar[nBytes]; … … 4472 4472 { 4473 4473 strTmp = m_pcCfg->getOverlaySEIElementName()[i][j]; 4474 nBytes = m_pcCfg->getOverlaySEIElementName()[i][j].size();4474 nBytes = (Int)m_pcCfg->getOverlaySEIElementName()[i][j].size(); 4475 4475 assert( nBytes>0 ); 4476 4476 sei->m_overlayElementName[i][j] = new UChar[nBytes]; -
branches/SHM-dev/source/Lib/TLibVideoIO/TVideoIOYuv.cpp
r1029 r1077 202 202 /* fall back to consuming the input */ 203 203 Char buf[512]; 204 const UIntoffset_mod_bufsize = offset % sizeof(buf);204 const streamoff offset_mod_bufsize = offset % sizeof(buf); 205 205 for (streamoff i = 0; i < offset - offset_mod_bufsize; i += sizeof(buf)) 206 206 {
Note: See TracChangeset for help on using the changeset viewer.