Changeset 654 in 3DVCSoftware
- Timestamp:
- 21 Oct 2013, 21:26:44 (11 years ago)
- Location:
- branches/HTM-8.2-dev0-Cleanup/source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.2-dev0-Cleanup/source/App/TAppDecoder/TAppDecTop.cpp
r651 r654 739 739 { 740 740 // write to file 741 #if H_MV 742 if ( m_pchReconFiles[decIdx] ) 743 #else 741 744 if ( m_pchReconFile ) 745 #endif 742 746 { 743 747 const Window &conf = pcPic->getConformanceWindow(); -
branches/HTM-8.2-dev0-Cleanup/source/App/TAppEncoder/TAppEncTop.cpp
r651 r654 1067 1067 Int i; 1068 1068 #if H_MV 1069 if( iNumEncoded > 0 )1070 {1071 TComList<TComPicYuv*>::iterator iterPicYuvRec = m_picYuvRec[layerId]->end();1069 if( iNumEncoded > 0 ) 1070 { 1071 TComList<TComPicYuv*>::iterator iterPicYuvRec = m_picYuvRec[layerId]->end(); 1072 1072 #else 1073 1073 TComList<TComPicYuv*>::iterator iterPicYuvRec = m_cListPicYuvRec.end(); 1074 1074 list<AccessUnit>::const_iterator iterBitstream = accessUnits.begin(); 1075 1075 #endif 1076 1076 1077 1077 for ( i = 0; i < iNumEncoded; i++ ) 1078 1078 { 1079 1079 --iterPicYuvRec; 1080 1080 } 1081 1081 1082 1082 for ( i = 0; i < iNumEncoded/2; i++ ) 1083 1083 { 1084 1084 TComPicYuv* pcPicYuvRecTop = *(iterPicYuvRec++); 1085 1085 TComPicYuv* pcPicYuvRecBottom = *(iterPicYuvRec++); 1086 1086 1087 1087 #if H_MV 1088 1088 if (m_pchReconFileList[layerId]) … … 1091 1091 } 1092 1092 } 1093 } 1094 1093 1095 if( ! accessUnits.empty() ) 1094 1096 { … … 1109 1111 const vector<UInt>& statsTop = writeAnnexB(bitstreamFile, auTop); 1110 1112 rateStatsAccum(auTop, statsTop); 1111 1113 1112 1114 const AccessUnit& auBottom = *(iterBitstream++); 1113 1115 const vector<UInt>& statsBottom = writeAnnexB(bitstreamFile, auBottom); … … 1120 1122 Int i; 1121 1123 #if H_MV 1122 if( iNumEncoded > 0 )1123 {1124 TComList<TComPicYuv*>::iterator iterPicYuvRec = m_picYuvRec[layerId]->end();1124 if( iNumEncoded > 0 ) 1125 { 1126 TComList<TComPicYuv*>::iterator iterPicYuvRec = m_picYuvRec[layerId]->end(); 1125 1127 #else 1126 1128 TComList<TComPicYuv*>::iterator iterPicYuvRec = m_cListPicYuvRec.end(); 1127 1129 list<AccessUnit>::const_iterator iterBitstream = accessUnits.begin(); 1128 1130 #endif 1129 1131 1130 1132 for ( i = 0; i < iNumEncoded; i++ ) 1131 1133 { 1132 1134 --iterPicYuvRec; 1133 1135 } 1134 1136 1135 1137 for ( i = 0; i < iNumEncoded; i++ ) 1136 1138 { … … 1140 1142 { 1141 1143 m_acTVideoIOYuvReconFileList[layerId]->write( pcPicYuvRec, m_confLeft, m_confRight, m_confTop, m_confBottom ); 1142 } 1144 } 1143 1145 } 1144 1146 } … … 1157 1159 m_cTVideoIOYuvReconFile.write( pcPicYuvRec, m_confLeft, m_confRight, m_confTop, m_confBottom ); 1158 1160 } 1159 1161 1160 1162 const AccessUnit& au = *(iterBitstream++); 1161 1163 const vector<UInt>& stats = writeAnnexB(bitstreamFile, au); 1162 rateStatsAccum(au, stats); 1163 #endif 1164 } 1165 } 1166 } 1164 rateStatsAccum(au, stats); 1165 } 1166 #endif 1167 } 1168 } 1169 1167 1170 /** 1168 1171 * -
branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibEncoder/TEncCu.cpp
r653 r654 1004 1004 #endif 1005 1005 // do normal intra modes 1006 #if H_3D_DIM_ENC 1007 if (( rpcBestCU->getSlice()->getIsDepth() && rpcBestCU->getSlice()->isIRAP() ) ) 1008 { 1009 #endif 1010 1006 1011 1007 // speedup for inter frames 1012 1008 if( rpcBestCU->getSlice()->getSliceType() == I_SLICE || … … 1060 1056 } 1061 1057 } 1062 #if H_3D_DIM_ENC1063 }1064 #endif1065 1058 // test PCM 1066 1059 if(pcPic->getSlice(0)->getSPS()->getUsePCM() -
branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibEncoder/TEncTop.cpp
r653 r654 1220 1220 } 1221 1221 } 1222 #if H_MV1223 }1224 #endif1225 1222 if(POCCurr == 1 && slice->getPic()->isField()) 1226 1223 { … … 1230 1227 slice->setRPS(getSPS()->getRPSList()->getReferencePictureSet(slice->getRPSidx())); 1231 1228 slice->getRPS()->setNumberOfPictures(slice->getRPS()->getNumberOfNegativePictures()+slice->getRPS()->getNumberOfPositivePictures()); 1229 #if H_MV 1230 } 1231 #endif 1232 1232 1233 } 1233 1234
Note: See TracChangeset for help on using the changeset viewer.