Changeset 448 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibDecoder
- Timestamp:
- 8 Nov 2013, 06:17:03 (11 years ago)
- Location:
- branches/SHM-4.0-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r447 r448 835 835 assert( uiCode == 0 ); 836 836 #endif 837 #if SCALED_REF_LAYER_OFFSETS838 837 if( pcSPS->getLayerId() > 0 ) 839 838 { … … 849 848 } 850 849 } 851 #endif852 850 #if M0463_VUI_EXT_ILP_REF 853 851 //// sps_extension_vui_parameters( ) -
branches/SHM-4.0-dev/source/Lib/TLibDecoder/TDecTop.cpp
r446 r448 1159 1159 #endif 1160 1160 1161 #if SCALED_REF_LAYER_OFFSETS1162 1161 const Window &scalEL = pcSlice->getSPS()->getScaledRefLayerWindow(refLayerIdc); 1163 1162 … … 1167 1166 Int widthEL = pcPic->getPicYuvRec()->getWidth() - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset(); 1168 1167 Int heightEL = pcPic->getPicYuvRec()->getHeight() - scalEL.getWindowTopOffset() - scalEL.getWindowBottomOffset(); 1169 #else 1170 const Window &confBL = pcSlice->getBaseColPic()->getPicYuvRec()->getConformanceWindow(); 1171 const Window &confEL = pcPic->getPicYuvRec()->getConformanceWindow(); 1172 1173 Int widthBL = pcSlice->getBaseColPic()->getPicYuvRec()->getWidth () - confBL.getWindowLeftOffset() - confBL.getWindowRightOffset(); 1174 Int heightBL = pcSlice->getBaseColPic()->getPicYuvRec()->getHeight() - confBL.getWindowTopOffset() - confBL.getWindowBottomOffset(); 1175 1176 Int widthEL = pcPic->getPicYuvRec()->getWidth() - confEL.getWindowLeftOffset() - confEL.getWindowRightOffset(); 1177 Int heightEL = pcPic->getPicYuvRec()->getHeight() - confEL.getWindowTopOffset() - confEL.getWindowBottomOffset(); 1178 #endif 1168 1179 1169 g_mvScalingFactor[refLayerIdc][0] = widthEL == widthBL ? 4096 : Clip3(-4096, 4095, ((widthEL << 8) + (widthBL >> 1)) / widthBL); 1180 1170 g_mvScalingFactor[refLayerIdc][1] = heightEL == heightBL ? 4096 : Clip3(-4096, 4095, ((heightEL << 8) + (heightBL >> 1)) / heightBL); … … 1186 1176 if( pcPic->isSpatialEnhLayer(refLayerIdc) ) 1187 1177 { 1188 #if SCALED_REF_LAYER_OFFSETS1189 1178 m_cPrediction.upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc), pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(), pcPic->getPicYuvRec(), pcSlice->getSPS()->getScaledRefLayerWindow(refLayerIdc) ); 1190 #else1191 m_cPrediction.upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc), pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(), pcPic->getPicYuvRec() );1192 #endif1193 1179 } 1194 1180 else … … 1268 1254 #endif 1269 1255 #endif 1270 1271 #endif //SVC_EXTENSION 1272 1256 1273 1257 #if N0147_IRAP_ALIGN_FLAG 1274 1258 if( m_layerId > 0 && pcSlice->getVPS()->getCrossLayerIrapAlignFlag()) … … 1285 1269 } 1286 1270 #endif 1271 #endif //SVC_EXTENSION 1287 1272 1288 1273 // For generalized B
Note: See TracChangeset for help on using the changeset viewer.