- Timestamp:
- 23 May 2013, 20:46:20 (11 years ago)
- Location:
- trunk/source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source
- Property svn:mergeinfo changed
/branches/SHM-2.0avc-dev/source (added) merged: 218-220,222-223
- Property svn:mergeinfo changed
-
trunk/source/Lib/TLibCommon/CommonDef.h
r206 r229 56 56 // ==================================================================================================================== 57 57 58 #define NV_VERSION " 2.0" ///< Current software version58 #define NV_VERSION "trunk" ///< Current software version 59 59 60 60 // ==================================================================================================================== -
trunk/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r191 r229 209 209 210 210 #endif 211 211 212 if( widthEL == widthBL && heightEL == heightBL ) 213 { 214 piSrcY = piSrcBufY - scalEL.getWindowLeftOffset() - scalEL.getWindowTopOffset() * strideEL; 215 piDstY = piDstBufY; 216 for( i = 0; i < heightEL; i++ ) 217 { 218 memcpy( piDstY, piSrcY, sizeof(Pel) * widthBL ); 219 piSrcY += strideBL; 220 piDstY += strideEL; 221 } 222 223 widthEL >>= 1; 224 heightEL >>= 1; 225 226 widthBL >>= 1; 227 heightBL >>= 1; 228 229 strideBL = pcBasePic->getCStride(); 230 strideEL = pcUsPic->getCStride(); 231 232 piSrcU = piSrcBufU - ( scalEL.getWindowLeftOffset() >> 1 ) - ( scalEL.getWindowTopOffset() >> 1 ) * strideEL; 233 piSrcV = piSrcBufV - ( scalEL.getWindowLeftOffset() >> 1 ) - ( scalEL.getWindowTopOffset() >> 1 ) * strideEL; 234 235 piDstU = piDstBufU; 236 piDstV = piDstBufV; 237 238 for( i = 0; i < heightEL; i++ ) 239 { 240 memcpy( piDstU, piSrcU, sizeof(Pel) * widthBL ); 241 memcpy( piDstV, piSrcV, sizeof(Pel) * widthBL ); 242 piSrcU += strideBL; 243 piSrcV += strideBL; 244 piDstU += strideEL; 245 piDstV += strideEL; 246 } 247 } 248 else 249 { 212 250 #if PHASE_DERIVATION_IN_INTEGER 213 251 Int refPos16 = 0; … … 245 283 #endif 246 284 247 assert ( widthEL == 2*widthBL || 2*widthEL == 3*widthBL );248 assert ( heightEL == 2*heightBL || 2*heightEL == 3*heightBL );285 assert ( widthEL == widthBL || widthEL == 2*widthBL || 2*widthEL == 3*widthBL ); 286 assert ( heightEL == heightBL || heightEL == 2*heightBL || 2*heightEL == 3*heightBL ); 249 287 250 288 #if JCTVC_L0178 … … 345 383 #endif 346 384 #if ILP_DECODED_PICTURE 347 widthBL = pcBasePic->getWidth ();348 heightBL = pcBasePic->getHeight();349 350 385 widthEL = pcUsPic->getWidth (); 351 386 heightEL = pcUsPic->getHeight(); 387 388 widthBL = pcBasePic->getWidth (); 389 heightBL = min<Int>( pcBasePic->getHeight(), heightEL ); 352 390 #endif 353 391 #if SCALED_REF_LAYER_OFFSETS … … 503 541 504 542 #if ILP_DECODED_PICTURE 505 widthBL = pcBasePic->getWidth () >> 1;506 heightBL = pcBasePic->getHeight() >> 1;507 508 543 widthEL = pcUsPic->getWidth () >> 1; 509 544 heightEL = pcUsPic->getHeight() >> 1; 545 546 widthBL = pcBasePic->getWidth () >> 1; 547 heightBL = min<Int>( pcBasePic->getHeight(), heightEL ); 510 548 #endif 511 549 … … 720 758 } 721 759 #endif 760 } 722 761 } 723 762 #endif //SVC_EXTENSION -
trunk/source/Lib/TLibDecoder/TDecTop.cpp
r200 r229 787 787 #if REF_IDX_FRAMEWORK 788 788 if (m_layerId == 0) 789 #elif INTRA_BL 790 if( m_layerId > 0 ) 791 { 792 pcSlice->setRefPicList( m_cListPic ); 793 } 794 else 789 795 #endif 790 796 #if FIX1071
Note: See TracChangeset for help on using the changeset viewer.