Changeset 448 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib
- Timestamp:
- 8 Nov 2013, 06:17:03 (11 years ago)
- Location:
- branches/SHM-4.0-dev/source/Lib
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComDataCU.cpp
r445 r448 4008 4008 #endif 4009 4009 4010 #if SCALED_REF_LAYER_OFFSETS4011 4010 Int leftStartL = this->getSlice()->getSPS()->getScaledRefLayerWindow(refLayerIdc).getWindowLeftOffset(); 4012 4011 Int topStartL = this->getSlice()->getSPS()->getScaledRefLayerWindow(refLayerIdc).getWindowTopOffset(); 4013 4012 Int iBX = ((uiPelX - leftStartL)*g_posScalingFactor[refLayerIdc][0] + (1<<15)) >> 16; 4014 4013 Int iBY = ((uiPelY - topStartL )*g_posScalingFactor[refLayerIdc][1] + (1<<15)) >> 16; 4015 #else4016 Int iBX = (uiPelX*g_posScalingFactor[refLayerIdc][0] + (1<<15)) >> 16;4017 Int iBY = (uiPelY*g_posScalingFactor[refLayerIdc][1] + (1<<15)) >> 16;4018 #endif4019 4014 4020 4015 #if N0139_POSITION_ROUNDING_OFFSET … … 4026 4021 #endif 4027 4022 4028 #if SCALED_REF_LAYER_OFFSETS4029 4023 if ( iBX >= cBaseColPic->getPicYuvRec()->getWidth() || iBY >= cBaseColPic->getPicYuvRec()->getHeight() || 4030 4024 iBX < 0 || iBY < 0 ) 4031 #else4032 if ( iBX >= cBaseColPic->getPicYuvRec()->getWidth() || iBY >= cBaseColPic->getPicYuvRec()->getHeight())4033 #endif4034 4025 { 4035 4026 return NULL; -
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComPrediction.cpp
r442 r448 765 765 766 766 #if SVC_UPSAMPLING 767 #if SCALED_REF_LAYER_OFFSETS768 767 Void TComPrediction::upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window) 769 768 { 770 769 m_cUsf.upsampleBasePic( refLayerIdc, pcUsPic, pcBasePic, pcTempPic, window); 771 770 } 772 #else773 Void TComPrediction::upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic)774 {775 m_cUsf.upsampleBasePic( refLayerIdc, pcUsPic, pcBasePic, pcTempPic);776 }777 #endif778 771 #endif 779 772 //! \} -
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComPrediction.h
r442 r448 120 120 #if SVC_EXTENSION 121 121 #if SVC_UPSAMPLING 122 #if SCALED_REF_LAYER_OFFSETS123 122 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window ); 124 #else125 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic );126 123 #endif 127 #endif 128 #endif 124 #endif //SVC_EXTENSION 129 125 }; 130 126 -
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r446 r448 2167 2167 , m_vuiParametersPresentFlag (false) 2168 2168 , m_vuiParameters () 2169 #if SVC_EXTENSION 2169 2170 #if M0463_VUI_EXT_ILP_REF 2170 2171 , m_interViewMvVertConstraintFlag (false) 2171 2172 , m_numIlpRestrictedRefLayers ( 0 ) 2172 2173 #endif 2173 #if SVC_EXTENSION 2174 , m_layerId(0) 2175 #endif 2176 #if SCALED_REF_LAYER_OFFSETS 2177 , m_numScaledRefLayerOffsets (0) 2178 #endif 2174 , m_layerId ( 0 ) 2175 , m_numScaledRefLayerOffsets ( 0 ) 2179 2176 #if REPN_FORMAT_IN_VPS 2180 2177 , m_updateRepFormatFlag (false) 2181 2178 #endif 2179 #endif //SVC_EXTENSION 2182 2180 { 2183 2181 for ( Int i = 0; i < MAX_TLAYER; i++ ) -
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComSlice.h
r447 r448 1132 1132 TComPTL m_pcPTL; 1133 1133 1134 #if SVC_EXTENSION 1134 1135 #if M0463_VUI_EXT_ILP_REF 1135 1136 Bool m_interViewMvVertConstraintFlag; … … 1140 1141 #endif 1141 1142 1142 #if SVC_EXTENSION1143 1143 UInt m_layerId; 1144 1144 … … 1150 1150 #endif 1151 1151 1152 #endif1153 1152 #if REF_IDX_MFM 1154 1153 #if !M0457_COL_PICTURE_SIGNALING … … 1156 1155 #endif 1157 1156 #endif 1158 #if SCALED_REF_LAYER_OFFSETS1159 1157 UInt m_numScaledRefLayerOffsets; 1160 1158 Window m_scaledRefLayerWindow[MAX_LAYERS]; 1161 #endif1162 1159 #if REPN_FORMAT_IN_VPS 1163 1160 Bool m_updateRepFormatFlag; 1164 1161 #endif 1162 #endif //SVC_EXTENSION 1165 1163 public: 1166 1164 TComSPS(); … … 1323 1321 Void setLayerId(UInt layerId) { m_layerId = layerId; } 1324 1322 UInt getLayerId() { return m_layerId; } 1325 #endif1326 1323 #if REF_IDX_MFM 1327 1324 #if !M0457_COL_PICTURE_SIGNALING … … 1330 1327 #endif 1331 1328 #endif 1332 #if SCALED_REF_LAYER_OFFSETS1333 1329 UInt getNumScaledRefLayerOffsets() { return m_numScaledRefLayerOffsets; } 1334 1330 Void setNumScaledRefLayerOffsets(Int x) { m_numScaledRefLayerOffsets = x; } 1335 1331 Window& getScaledRefLayerWindow( Int x ) { return m_scaledRefLayerWindow[x]; } 1336 #endif1337 1332 #if REPN_FORMAT_IN_VPS 1338 1333 Bool getUpdateRepFormatFlag() { return m_updateRepFormatFlag; } 1339 1334 Void setUpdateRepFormatFlag(Bool x) { m_updateRepFormatFlag = x; } 1340 1335 #endif 1336 #endif //SVC_EXTENSION 1341 1337 }; 1342 1338 -
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r442 r448 97 97 } 98 98 99 #if SCALED_REF_LAYER_OFFSETS100 99 Void TComUpsampleFilter::upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window ) 101 #else102 Void TComUpsampleFilter::upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic )103 #endif104 100 { 105 101 assert ( NTAPS_US_LUMA == 8 ); … … 109 105 110 106 //========== Y component upsampling =========== 111 #if SCALED_REF_LAYER_OFFSETS112 107 const Window &scalEL = window; 113 108 … … 119 114 Int heightEL = pcUsPic->getHeight() - scalEL.getWindowTopOffset() - scalEL.getWindowBottomOffset(); 120 115 Int strideEL = pcUsPic->getStride(); 121 #else 122 const Window &confBL = pcBasePic->getConformanceWindow(); 123 const Window &confEL = pcUsPic->getConformanceWindow(); 124 125 Int widthBL = pcBasePic->getWidth () - confBL.getWindowLeftOffset() - confBL.getWindowRightOffset(); 126 Int heightBL = pcBasePic->getHeight() - confBL.getWindowTopOffset() - confBL.getWindowBottomOffset(); 127 Int strideBL = pcBasePic->getStride(); 128 129 Int widthEL = pcUsPic->getWidth () - confEL.getWindowLeftOffset() - confEL.getWindowRightOffset(); 130 Int heightEL = pcUsPic->getHeight() - confEL.getWindowTopOffset() - confEL.getWindowBottomOffset(); 131 Int strideEL = pcUsPic->getStride(); 132 #endif 116 133 117 Pel* piTempBufY = pcTempPic->getLumaAddr(); 134 118 Pel* piSrcBufY = pcBasePic->getLumaAddr(); … … 238 222 widthBL = pcBasePic->getWidth (); 239 223 heightBL = min<Int>( pcBasePic->getHeight(), heightEL ); 240 #if SCALED_REF_LAYER_OFFSETS 224 241 225 Int leftStartL = scalEL.getWindowLeftOffset(); 242 226 Int rightEndL = pcUsPic->getWidth() - scalEL.getWindowRightOffset(); … … 246 230 Int leftOffset = leftStartL > 0 ? leftStartL : 0; 247 231 #endif 248 #endif249 232 250 233 #if N0214_INTERMEDIATE_BUFFER_16BITS … … 255 238 for( i = 0; i < widthEL; i++ ) 256 239 { 257 #if SCALED_REF_LAYER_OFFSETS258 240 Int x = Clip3( leftStartL, rightEndL - 1, i ); 259 241 refPos16 = (((x - leftStartL)*scaleX + addX) >> shiftXM4) - deltaX; 260 #else261 refPos16 = ((i*scaleX + addX) >> shiftXM4) - deltaX;262 #endif263 242 phase = refPos16 & 15; 264 243 refPos = refPos16 >> 4; … … 293 272 Int iOffset = 1 << (nShift - 1); 294 273 295 #if SCALED_REF_LAYER_OFFSETS296 274 for( j = 0; j < pcTempPic->getHeight(); j++ ) 297 #else 298 for( j = 0; j < heightEL; j++ ) 299 #endif 300 { 301 #if SCALED_REF_LAYER_OFFSETS 275 { 302 276 Int y = Clip3(topStartL, bottomEndL - 1, j); 303 277 refPos16 = ((( y - topStartL )*scaleY + addY) >> shiftYM4) - deltaY; 304 #else305 refPos16 = ((j*scaleY + addY) >> shiftYM4) - deltaY;306 #endif307 278 phase = refPos16 & 15; 308 279 refPos = refPos16 >> 4; … … 310 281 311 282 piSrcY = piTempBufY + (refPos -((NTAPS_US_LUMA>>1) - 1))*strideEL; 312 #if SCALED_REF_LAYER_OFFSETS313 283 #if BUGFIX_RESAMPLE 314 284 Pel* piDstY0 = piDstBufY + j * strideEL; … … 376 346 #endif 377 347 #endif 378 #else 379 piDstY = piDstBufY + j * strideEL; 380 381 for( i = 0; i < widthEL; i++ ) 382 { 383 *piDstY = ClipY( (sumLumaVer(piSrcY, coeff, strideEL) + iOffset) >> (nShift)); 384 piSrcY++; 385 piDstY++; 386 } 387 #endif 388 } 389 390 #if SCALED_REF_LAYER_OFFSETS 348 } 349 391 350 widthBL = pcBasePic->getWidth (); 392 351 heightBL = pcBasePic->getHeight(); … … 394 353 widthEL = pcUsPic->getWidth () - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset(); 395 354 heightEL = pcUsPic->getHeight() - scalEL.getWindowTopOffset() - scalEL.getWindowBottomOffset(); 396 #else397 widthBL = pcBasePic->getWidth () - confBL.getWindowLeftOffset() - confBL.getWindowRightOffset();398 heightBL = pcBasePic->getHeight() - confBL.getWindowTopOffset() - confBL.getWindowBottomOffset();399 400 widthEL = pcUsPic->getWidth () - confEL.getWindowLeftOffset() - confEL.getWindowRightOffset();401 heightEL = pcUsPic->getHeight() - confEL.getWindowTopOffset() - confEL.getWindowBottomOffset();402 #endif403 355 404 356 //========== UV component upsampling =========== … … 412 364 strideBL = pcBasePic->getCStride(); 413 365 strideEL = pcUsPic->getCStride(); 414 #if SCALED_REF_LAYER_OFFSETS 366 415 367 Int leftStartC = scalEL.getWindowLeftOffset() >> 1; 416 368 Int rightEndC = (pcUsPic->getWidth() >> 1) - (scalEL.getWindowRightOffset() >> 1); … … 420 372 leftOffset = leftStartC > 0 ? leftStartC : 0; 421 373 #endif 422 #endif423 374 424 375 shiftX = 16; … … 455 406 for( i = 0; i < widthEL; i++ ) 456 407 { 457 #if SCALED_REF_LAYER_OFFSETS458 408 Int x = Clip3(leftStartC, rightEndC - 1, i); 459 409 refPos16 = (((x - leftStartC)*scaleX + addX) >> shiftXM4) - deltaX; 460 #else461 refPos16 = ((i*scaleX + addX) >> shiftXM4) - deltaX;462 #endif463 410 phase = refPos16 & 15; 464 411 refPos = refPos16 >> 4; … … 498 445 #endif 499 446 500 #if SCALED_REF_LAYER_OFFSETS501 447 for( j = 0; j < pcTempPic->getHeight() >> 1; j++ ) 502 #else 503 for( j = 0; j < heightEL; j++ ) 504 #endif 505 { 506 #if SCALED_REF_LAYER_OFFSETS 448 { 507 449 Int y = Clip3(topStartC, bottomEndC - 1, j); 508 450 refPos16 = (((y - topStartC)*scaleY + addY) >> shiftYM4) - deltaY; 509 #else510 refPos16 = ((j*scaleY + addY) >> shiftYM4) - deltaY;511 #endif512 451 phase = refPos16 & 15; 513 452 refPos = refPos16 >> 4; … … 516 455 piSrcU = piTempBufU + (refPos -((NTAPS_US_CHROMA>>1) - 1))*strideEL; 517 456 piSrcV = piTempBufV + (refPos -((NTAPS_US_CHROMA>>1) - 1))*strideEL; 518 #if SCALED_REF_LAYER_OFFSETS 457 519 458 #if BUGFIX_RESAMPLE 520 459 Pel* piDstU0 = piDstBufU + j*strideEL; … … 608 547 #endif 609 548 #endif 610 #else611 piDstU = piDstBufU + j*strideEL;612 piDstV = piDstBufV + j*strideEL;613 614 for( i = 0; i < widthEL; i++ )615 {616 *piDstU = ClipC( (sumChromaVer(piSrcU, coeff, strideEL) + iOffset) >> (nShift));617 *piDstV = ClipC( (sumChromaVer(piSrcV, coeff, strideEL) + iOffset) >> (nShift));618 piSrcU++;619 piSrcV++;620 piDstU++;621 piDstV++;622 }623 #endif624 549 } 625 550 } -
branches/SHM-4.0-dev/source/Lib/TLibCommon/TComUpsampleFilter.h
r313 r448 43 43 ~TComUpsampleFilter(void); 44 44 45 #if SCALED_REF_LAYER_OFFSETS46 45 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window ); 47 #else48 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic );49 #endif50 46 }; 51 47 -
branches/SHM-4.0-dev/source/Lib/TLibCommon/TypeDef.h
r447 r448 60 60 #define M0463_VUI_EXT_ILP_REF 0 ///< JCTVC-M0463: VUI extension inter-layer dependency offset signalling 61 61 #define SPS_EXTENSION 1 ///< Define sps_extension() syntax structure 62 #define SCALED_REF_LAYER_OFFSETS 1 ///< JCTVC-M0309: Signal scaled reference layer offsets in SPS63 62 #define VERT_MV_CONSTRAINT 1 ///< Vertical MV component constraint flag 64 63 #define SCALABILITY_MASK_E0104 1 ///< JCT3V-E0104: scalability mask for depth -
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 -
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r447 r448 664 664 WRITE_FLAG( 0, "inter_view_mv_vert_constraint_flag" ); 665 665 #endif 666 #if SCALED_REF_LAYER_OFFSETS667 666 if( pcSPS->getLayerId() > 0 ) 668 667 { … … 677 676 } 678 677 } 679 #endif680 678 #if M0463_VUI_EXT_ILP_REF 681 679 //// sps_extension_vui_parameters( ) -
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r446 r448 782 782 #endif 783 783 784 #if SCALED_REF_LAYER_OFFSETS785 784 const Window &scalEL = m_pcEncTop->getScaledRefLayerWindow(refLayerIdc); 786 785 … … 790 789 Int widthEL = pcPic->getPicYuvRec()->getWidth() - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset(); 791 790 Int heightEL = pcPic->getPicYuvRec()->getHeight() - scalEL.getWindowTopOffset() - scalEL.getWindowBottomOffset(); 792 #else 793 const Window &confBL = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getConformanceWindow(); 794 const Window &confEL = pcPic->getPicYuvRec()->getConformanceWindow(); 795 796 Int widthBL = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getWidth () - confBL.getWindowLeftOffset() - confBL.getWindowRightOffset(); 797 Int heightBL = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getHeight() - confBL.getWindowTopOffset() - confBL.getWindowBottomOffset(); 798 799 Int widthEL = pcPic->getPicYuvRec()->getWidth() - confEL.getWindowLeftOffset() - confEL.getWindowRightOffset(); 800 Int heightEL = pcPic->getPicYuvRec()->getHeight() - confEL.getWindowTopOffset() - confEL.getWindowBottomOffset(); 801 #endif 791 802 792 g_mvScalingFactor[refLayerIdc][0] = widthEL == widthBL ? 4096 : Clip3(-4096, 4095, ((widthEL << 8) + (widthBL >> 1)) / widthBL); 803 793 g_mvScalingFactor[refLayerIdc][1] = heightEL == heightBL ? 4096 : Clip3(-4096, 4095, ((heightEL << 8) + (heightBL >> 1)) / heightBL); … … 809 799 if( pcPic->isSpatialEnhLayer(refLayerIdc)) 810 800 { 811 #if SCALED_REF_LAYER_OFFSETS812 801 m_pcPredSearch->upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc), pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(), pcPic->getPicYuvRec(), pcSlice->getSPS()->getScaledRefLayerWindow(refLayerIdc) ); 813 #else814 m_pcPredSearch->upsampleBasePic( refLayerIdc, pcPic->getFullPelBaseRec(refLayerIdc), pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(), pcPic->getPicYuvRec() );815 #endif816 802 } 817 803 else -
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncTop.cpp
r445 r448 88 88 m_bMFMEnabledFlag = false; 89 89 #endif 90 #if SCALED_REF_LAYER_OFFSETS91 90 m_numScaledRefLayerOffsets = 0; 92 #endif93 #endif94 91 #if POC_RESET_FLAG 95 92 m_pocAdjustmentValue = 0; 96 93 #endif 94 #endif //SVC_EXTENSION 97 95 } 98 96 … … 878 876 #if SVC_EXTENSION 879 877 m_cSPS.setLayerId(m_layerId); 880 #endif881 878 #if REF_IDX_MFM 882 879 #if !M0457_COL_PICTURE_SIGNALING … … 884 881 #endif 885 882 #endif 886 #if SCALED_REF_LAYER_OFFSETS887 883 m_cSPS.setNumScaledRefLayerOffsets(m_numScaledRefLayerOffsets); 888 884 for(Int i = 0; i < m_cSPS.getNumScaledRefLayerOffsets(); i++) … … 890 886 m_cSPS.getScaledRefLayerWindow(i) = m_scaledRefLayerWindow[i]; 891 887 } 892 #endif 888 #endif //SVC_EXTENSION 893 889 ProfileTierLevel& profileTierLevel = *m_cSPS.getPTL()->getGeneralPTL(); 894 890 profileTierLevel.setLevelIdc(m_level); -
branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncTop.h
r442 r448 140 140 Int m_ilSampleOnlyPred; 141 141 #endif 142 #if SCALED_REF_LAYER_OFFSETS143 142 UInt m_numScaledRefLayerOffsets; 144 143 Window m_scaledRefLayerWindow[MAX_LAYERS]; 145 #endif146 144 #if POC_RESET_FLAG 147 145 Int m_pocAdjustmentValue; 148 146 #endif 149 #endif 147 #endif //SVC_EXTENSION 150 148 protected: 151 149 Void xGetNewPicBuffer ( TComPic*& rpcPic ); ///< get picture buffer which will be processed … … 209 207 Int getNumPicRcvd () { return m_iNumPicRcvd; } 210 208 Void setNumPicRcvd ( Int num ) { m_iNumPicRcvd = num; } 211 #if SCALED_REF_LAYER_OFFSETS212 209 Void setNumScaledRefLayerOffsets(Int x) { m_numScaledRefLayerOffsets = x; } 213 210 UInt getNumScaledRefLayerOffsets() { return m_numScaledRefLayerOffsets; } 214 211 Window& getScaledRefLayerWindow(Int x) { return m_scaledRefLayerWindow[x]; } 215 #endif 216 #endif 212 #endif //SVC_EXTENSION 217 213 218 214 // -------------------------------------------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.