Changeset 704 in SHVCSoftware for branches/SHM-6-dev
- Timestamp:
- 19 Apr 2014, 06:07:35 (11 years ago)
- Location:
- branches/SHM-6-dev/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppDecoder/TAppDecTop.cpp
r702 r704 702 702 } 703 703 #endif 704 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE704 #if REPN_FORMAT_IN_VPS 705 705 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); 706 706 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc ); … … 818 818 #endif 819 819 820 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE820 #if REPN_FORMAT_IN_VPS 821 821 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); 822 822 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc ); … … 934 934 } 935 935 #endif 936 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE936 #if REPN_FORMAT_IN_VPS 937 937 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); 938 938 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc ); … … 1052 1052 } 1053 1053 #endif 1054 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE1054 #if REPN_FORMAT_IN_VPS 1055 1055 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); 1056 1056 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc ); … … 1160 1160 const Window &defDisp = m_respectDefDispWindow ? pic->getDefDisplayWindow() : Window(); 1161 1161 Int xScal = 1, yScal = 1; 1162 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE1162 #if REPN_FORMAT_IN_VPS 1163 1163 UInt chromaFormatIdc = pic->getSlice(0)->getChromaFormatIdc(); 1164 1164 xScal = TComSPS::getWinUnitX( chromaFormatIdc ); -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r688 r704 658 658 { 659 659 Window &conf = pcSPS->getConformanceWindow(); 660 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE660 #if REPN_FORMAT_IN_VPS 661 661 READ_UVLC( uiCode, "conf_win_left_offset" ); conf.setWindowLeftOffset ( uiCode ); 662 662 READ_UVLC( uiCode, "conf_win_right_offset" ); conf.setWindowRightOffset ( uiCode ); -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp
r703 r704 1556 1556 Int heightBL = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getHeight(); 1557 1557 #if Q0200_CONFORMANCE_BL_SIZE 1558 const Window &confBL = pcSlice->getBaseColPic(refLayerIdc)->getConformanceWindow(); 1558 Window &confBL = pcSlice->getBaseColPic(refLayerIdc)->getConformanceWindow(); 1559 #if REPN_FORMAT_IN_VPS 1560 UInt chromaFormatIdc = pcSlice->getBaseColPic(refLayerIdc)->getSlice(0)->getChromaFormatIdc(); 1561 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ); 1562 Int yScal = TComSPS::getWinUnitY( chromaFormatIdc ); 1563 confBL.setWindowBottomOffset(confBL.getWindowBottomOffset()*yScal); 1564 confBL.setWindowTopOffset(confBL.getWindowTopOffset()*yScal); 1565 confBL.setWindowLeftOffset(confBL.getWindowLeftOffset()*xScal); 1566 confBL.setWindowRightOffset(confBL.getWindowRightOffset()*xScal); 1567 #endif 1559 1568 widthBL -= confBL.getWindowLeftOffset() + confBL.getWindowRightOffset(); 1560 1569 heightBL -= confBL.getWindowTopOffset() + confBL.getWindowBottomOffset(); … … 1619 1628 } 1620 1629 pcSlice->setFullPelBaseRec ( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc) ); 1630 #if REPN_FORMAT_IN_VPS && Q0200_CONFORMANCE_BL_SIZE 1631 confBL.setWindowBottomOffset(confBL.getWindowBottomOffset()/yScal); 1632 confBL.setWindowTopOffset(confBL.getWindowTopOffset()/yScal); 1633 confBL.setWindowLeftOffset(confBL.getWindowLeftOffset()/xScal); 1634 confBL.setWindowRightOffset(confBL.getWindowRightOffset()/xScal); 1635 #endif 1621 1636 #endif 1622 1637 }
Note: See TracChangeset for help on using the changeset viewer.