Changeset 1235 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
- Timestamp:
- 13 Jul 2015, 20:38:11 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r1221 r1235 407 407 streamYUV.close(); 408 408 } 409 pcBLPic.destroy();410 409 411 410 #if CONFORMANCE_BITSTREAM_MODE … … 705 704 Int numPicsNotYetDisplayed = 0; 706 705 Int dpbFullness = 0; 707 #if SVC_EXTENSION 708 TComSPS* activeSPS = m_acTDecTop[layerId].getActiveSPS(); 709 #else 710 TComSPS* activeSPS = m_cTDecTop.getActiveSPS(); 711 #endif 706 const TComSPS* activeSPS = &(pcListPic->front()->getPicSym()->getSPS()); 712 707 UInt numReorderPicsHighestTid; 713 708 UInt maxDecPicBufferingHighestTid; … … 781 776 { 782 777 const Window &conf = pcPicTop->getConformanceWindow(); 783 const Window &defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();778 const Window defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window(); 784 779 const Bool isTff = pcPicTop->isTopField(); 785 780 … … 815 810 { 816 811 const Window &conf = pcPicTop->getConformanceWindow(); 817 const Window &defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();812 const Window defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window(); 818 813 const Bool isTff = pcPicTop->isTopField(); 819 814 … … 906 901 { 907 902 const Window &conf = pcPic->getConformanceWindow(); 908 const Window &defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();903 const Window defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window(); 909 904 910 905 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); … … 924 919 { 925 920 const Window &conf = pcPic->getConformanceWindow(); 926 const Window &defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();921 const Window defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window(); 927 922 928 923 m_cTVideoIOYuvReconFile.write( pcPic->getPicYuvRec(), … … 1034 1029 { 1035 1030 const Window &conf = pcPicTop->getConformanceWindow(); 1036 const Window &defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();1031 const Window defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window(); 1037 1032 const Bool isTff = pcPicTop->isTopField(); 1038 1033 … … 1053 1048 { 1054 1049 const Window &conf = pcPicTop->getConformanceWindow(); 1055 const Window &defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window();1050 const Window defDisp = m_respectDefDispWindow ? pcPicTop->getDefDisplayWindow() : Window(); 1056 1051 const Bool isTff = pcPicTop->isTopField(); 1057 1052 m_cTVideoIOYuvReconFile.write( pcPicTop->getPicYuvRec(), pcPicBottom->getPicYuvRec(), … … 1131 1126 { 1132 1127 const Window &conf = pcPic->getConformanceWindow(); 1133 const Window &defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();1128 const Window defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window(); 1134 1129 1135 1130 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); … … 1149 1144 { 1150 1145 const Window &conf = pcPic->getConformanceWindow(); 1151 const Window &defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window();1146 const Window defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window(); 1152 1147 1153 1148 m_cTVideoIOYuvReconFile.write( pcPic->getPicYuvRec(), … … 1613 1608 } 1614 1609 1615 TComVPS *TAppDecTop::findDpbParametersFromVps(std::vector<Int> const &listOfPocs, std::vector<Int> const *listOfPocsInEachLayer, std::vector<Int> const *listOfPocsPositionInEachLayer, DpbStatus &maxDpbLimit)1610 const TComVPS *TAppDecTop::findDpbParametersFromVps(std::vector<Int> const &listOfPocs, std::vector<Int> const *listOfPocsInEachLayer, std::vector<Int> const *listOfPocsPositionInEachLayer, DpbStatus &maxDpbLimit) 1616 1611 { 1617 1612 Int targetOutputLsIdx = getCommonDecoderParams()->getTargetOutputLayerSetIdx(); 1618 TComVPS *vps = NULL;1613 const TComVPS *vps = NULL; 1619 1614 1620 1615 if( targetOutputLsIdx == 0 ) // Only base layer is output 1621 1616 { 1622 TComSPS *sps = NULL;1617 const TComSPS *sps = NULL; 1623 1618 assert( listOfPocsInEachLayer[0].size() != 0 ); 1624 1619 TComList<TComPic*>::iterator iterPic; … … 1704 1699 { 1705 1700 TComPic *pic = *iterPic; 1701 1702 assert( pic->getPicSym() ); 1703 1706 1704 if( !pic->getSlice(0)->isReferenced() && !pic->getOutputMark() ) 1707 1705 { … … 1743 1741 ) 1744 1742 { 1745 TComVPS *vps = NULL;1743 const TComVPS *vps = NULL; 1746 1744 dpbStatus.init(); 1747 1745
Note: See TracChangeset for help on using the changeset viewer.