- Timestamp:
- 18 Apr 2014, 03:38:04 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TComPrediction.cpp
r688 r693 768 768 #if O0215_PHASE_ALIGNMENT 769 769 #if O0194_JOINT_US_BITSHIFT 770 Void TComPrediction::upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window 771 #if Q0200_CONFORMANCE_BL_SIZE 772 , const Window confBL 773 #endif 774 , Bool phaseAlignFlag ) 775 { 776 m_cUsf.upsampleBasePic( currSlice, refLayerIdc, pcUsPic, pcBasePic, pcTempPic, window 777 #if Q0200_CONFORMANCE_BL_SIZE 778 , confBL 779 #endif 780 , phaseAlignFlag ); 770 Void TComPrediction::upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ) 771 { 772 m_cUsf.upsampleBasePic( currSlice, refLayerIdc, pcUsPic, pcBasePic, pcTempPic, window, phaseAlignFlag ); 781 773 } 782 774 #else -
branches/SHM-6-dev/source/Lib/TLibCommon/TComPrediction.h
r688 r693 121 121 #if O0215_PHASE_ALIGNMENT 122 122 #if O0194_JOINT_US_BITSHIFT 123 Void upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window 124 #if Q0200_CONFORMANCE_BL_SIZE 125 , const Window confBL 126 #endif 127 , Bool phaseAlignFlag ); 123 Void upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ); 128 124 #else 129 125 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ); -
branches/SHM-6-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r688 r693 99 99 #if O0215_PHASE_ALIGNMENT 100 100 #if O0194_JOINT_US_BITSHIFT 101 Void TComUpsampleFilter::upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window 102 #if Q0200_CONFORMANCE_BL_SIZE 103 , const Window confBL 104 #endif 105 , bool phaseAlignFlag ) 101 Void TComUpsampleFilter::upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, bool phaseAlignFlag ) 106 102 #else 107 103 Void TComUpsampleFilter::upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, bool phaseAlignFlag ) … … 131 127 Int strideEL = pcUsPic->getStride(); 132 128 #if Q0200_CONFORMANCE_BL_SIZE 129 const Window &confBL = currSlice->getBaseColPic(refLayerIdc)->getConformanceWindow(); 133 130 widthBL-= (confBL.getWindowLeftOffset()+confBL.getWindowRightOffset()); 134 131 heightBL-=(confBL.getWindowBottomOffset()+confBL.getWindowTopOffset()); -
branches/SHM-6-dev/source/Lib/TLibCommon/TComUpsampleFilter.h
r688 r693 45 45 #if O0215_PHASE_ALIGNMENT 46 46 #if O0194_JOINT_US_BITSHIFT 47 Void upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window 48 #if Q0200_CONFORMANCE_BL_SIZE 49 , const Window confBL 50 #endif 51 , Bool phaseAlignFlag ); 47 Void upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ); 52 48 #else 53 49 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ); -
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r690 r693 49 49 #define O0137_MAX_LAYERID 1 ///< JCTVC-O0137, JCTVC-O0200, JCTVC-O0223: restrict nuh_layer_id and vps_max_layers_minus1 50 50 51 #define Q0200_CONFORMANCE_BL_SIZE 0///< JCTVC-Q0200; use conformance picture size in re-sampling processs51 #define Q0200_CONFORMANCE_BL_SIZE 1 ///< JCTVC-Q0200; use conformance picture size in re-sampling processs 52 52 #define P0312_VERT_PHASE_ADJ 1 ///< JCTVC-P0312: vertical phase adjustment in re-sampling process (BoG report) 53 53 #if P0312_VERT_PHASE_ADJ -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp
r691 r693 1541 1541 Int widthBL = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getWidth(); 1542 1542 Int heightBL = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getHeight(); 1543 1543 #if Q0200_CONFORMANCE_BL_SIZE 1544 const Window &confBL = pcSlice->getBaseColPic(refLayerIdc)->getConformanceWindow(); 1545 widthBL -= (confBL.getWindowLeftOffset()+confBL.getWindowRightOffset()); 1546 heightBL -= (confBL.getWindowTopOffset()+confBL.getWindowBottomOffset()); 1547 #endif 1544 1548 Int widthEL = pcPic->getPicYuvRec()->getWidth() - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset(); 1545 1549 Int heightEL = pcPic->getPicYuvRec()->getHeight() - scalEL.getWindowTopOffset() - scalEL.getWindowBottomOffset(); -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r684 r693 943 943 Int widthBL = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getWidth(); 944 944 Int heightBL = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getHeight(); 945 945 #if Q0200_CONFORMANCE_BL_SIZE 946 const Window &confBL = pcSlice->getBaseColPic(refLayerIdc)->getConformanceWindow(); 947 widthBL -= (confBL.getWindowLeftOffset()+confBL.getWindowRightOffset()); 948 heightBL -= (confBL.getWindowTopOffset()+confBL.getWindowBottomOffset()); 949 #endif 946 950 Int widthEL = pcPic->getPicYuvRec()->getWidth() - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset(); 947 951 Int heightEL = pcPic->getPicYuvRec()->getHeight() - scalEL.getWindowTopOffset() - scalEL.getWindowBottomOffset();
Note: See TracChangeset for help on using the changeset viewer.