Changeset 1417 in 3DVCSoftware
- Timestamp:
- 14 Dec 2018, 12:34:18 (6 years ago)
- Location:
- branches/HTM-16.3-fixes/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.3-fixes/source/Lib/TLibCommon/TComSlice.cpp
r1413 r1417 3178 3178 assert( getQpBDOffset ( CHANNEL_TYPE_CHROMA ) == (Int) (6* ( getBitDepth( CHANNEL_TYPE_CHROMA ) -8 ) ) ); 3179 3179 3180 #if NH_MV_FIX_CONF_WINDOW 3181 assert( spsConf.getScaledFlag() ); 3180 3182 3181 assert( spsConf.getWindowLeftOffset () == repFormat->getConfWinVpsLeftOffset() ); 3182 assert( spsConf.getWindowRightOffset () == repFormat->getConfWinVpsRightOffset() ); 3183 assert( spsConf.getWindowTopOffset () == repFormat->getConfWinVpsTopOffset() ); 3184 assert( spsConf.getWindowBottomOffset() == repFormat->getConfWinVpsBottomOffset() ); 3183 Int scal = TComSPS::getWinUnitX( getChromaFormatIdc() ) ; 3184 assert( spsConf.getWindowLeftOffset () == repFormat->getConfWinVpsLeftOffset() * scal ); 3185 assert( spsConf.getWindowRightOffset () == repFormat->getConfWinVpsRightOffset() * scal ); 3186 assert( spsConf.getWindowTopOffset () == repFormat->getConfWinVpsTopOffset() * scal ); 3187 assert( spsConf.getWindowBottomOffset() == repFormat->getConfWinVpsBottomOffset() * scal ); 3188 #endif 3185 3189 3186 3190 } … … 3206 3210 spsConf.setWindowTopOffset ( repFormat->getConfWinVpsTopOffset() ); 3207 3211 spsConf.setWindowBottomOffset( repFormat->getConfWinVpsBottomOffset() ); 3212 #if NH_MV_FIX_CONF_WINDOW 3213 // Set conformance window 3214 Int scal = TComSPS::getWinUnitX( getChromaFormatIdc() ) ; 3215 getConformanceWindow().scaleOffsets( scal ); 3216 getVuiParameters()->getDefaultDisplayWindow().scaleOffsets( scal ); 3217 #endif 3208 3218 } 3209 3219 } 3210 3220 3211 3221 3222 #if !NH_MV_FIX_CONF_WINDOW 3212 3223 // Set conformance window 3213 3224 Int scal = TComSPS::getWinUnitX( getChromaFormatIdc() ) ; 3214 3225 getConformanceWindow().scaleOffsets( scal ); 3215 3226 getVuiParameters()->getDefaultDisplayWindow().scaleOffsets( scal ); 3227 #endif 3216 3228 } 3217 3229 -
branches/HTM-16.3-fixes/source/Lib/TLibCommon/TypeDef.h
r1413 r1417 68 68 ///////////////////////////////////////////////////////////////////////////////////////// 69 69 #if NH_MV 70 #define NH_MV_FIX_CONF_WINDOW 1 70 71 // Things that needs to be fixed also in the Specification ... CHECK if this has been done 71 72 #define NH_MV_FIX_NO_REF_PICS_CHECK 1 // !!SPEC!!
Note: See TracChangeset for help on using the changeset viewer.