Changeset 943 in SHVCSoftware
- Timestamp:
- 30 Dec 2014, 22:51:40 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r942 r943 4100 4100 for (Int i = 0; i < maxNumSubLayersMinus1; i++) 4101 4101 { 4102 #if MULTIPLE_PTL_SUPPORT 4103 READ_FLAG( uiCode, "sub_layer_profile_present_flag[i]" ); rpcPTL->setSubLayerProfilePresentFlag(i, uiCode); 4104 #else 4102 4105 if(profilePresentFlag) 4103 4106 { 4104 4107 READ_FLAG( uiCode, "sub_layer_profile_present_flag[i]" ); rpcPTL->setSubLayerProfilePresentFlag(i, uiCode); 4105 4108 } 4109 #endif 4106 4110 READ_FLAG( uiCode, "sub_layer_level_present_flag[i]" ); rpcPTL->setSubLayerLevelPresentFlag (i, uiCode); 4107 4111 } … … 4118 4122 for(Int i = 0; i < maxNumSubLayersMinus1; i++) 4119 4123 { 4124 #if MULTIPLE_PTL_SUPPORT 4125 if( rpcPTL->getSubLayerProfilePresentFlag(i) ) 4126 #else 4120 4127 if( profilePresentFlag && rpcPTL->getSubLayerProfilePresentFlag(i) ) 4128 #endif 4121 4129 { 4122 4130 parseProfileTier(rpcPTL->getSubLayerPTL(i)); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r942 r943 2586 2586 for (Int i = 0; i < maxNumSubLayersMinus1; i++) 2587 2587 { 2588 #if MULTIPLE_PTL_SUPPORT 2589 WRITE_FLAG( pcPTL->getSubLayerProfilePresentFlag(i), "sub_layer_profile_present_flag[i]" ); 2590 #else 2588 2591 if(profilePresentFlag) 2589 2592 { 2590 2593 WRITE_FLAG( pcPTL->getSubLayerProfilePresentFlag(i), "sub_layer_profile_present_flag[i]" ); 2591 2594 } 2595 #endif 2592 2596 2593 2597 WRITE_FLAG( pcPTL->getSubLayerLevelPresentFlag(i), "sub_layer_level_present_flag[i]" ); … … 2604 2608 for(Int i = 0; i < maxNumSubLayersMinus1; i++) 2605 2609 { 2610 #if MULTIPLE_PTL_SUPPORT 2611 if( pcPTL->getSubLayerProfilePresentFlag(i) ) 2612 #else 2606 2613 if( profilePresentFlag && pcPTL->getSubLayerProfilePresentFlag(i) ) 2614 #endif 2607 2615 { 2608 2616 codeProfileTier(pcPTL->getSubLayerPTL(i)); // sub_layer_...
Note: See TracChangeset for help on using the changeset viewer.