Changeset 654 in 3DVCSoftware for branches/HTM-8.2-dev0-Cleanup/source/App
- Timestamp:
- 21 Oct 2013, 21:26:44 (11 years ago)
- Location:
- branches/HTM-8.2-dev0-Cleanup/source/App
- Files:
-
- 2 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 *
Note: See TracChangeset for help on using the changeset viewer.