Changeset 1012 in SHVCSoftware
- Timestamp:
- 4 Feb 2015, 00:25:57 (10 years ago)
- Location:
- branches/SHM-upgrade/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1006 r1012 4009 4009 READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" ); 4010 4010 vps->setCrossLayerIrapAlignFlag(uiCode); 4011 #endif 4012 #if O0223_PICTURE_TYPES_ALIGN_FLAG 4013 } 4014 else 4015 { 4016 vps->setCrossLayerIrapAlignFlag(true); 4017 } 4018 #endif 4011 4019 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 4012 if( uiCode ) 4013 { 4014 READ_FLAG( uiCode, "all_layers_idr_aligned_flag" ); 4015 vps->setCrossLayerAlignedIdrOnlyFlag(uiCode); 4016 } 4017 #endif 4018 #endif 4019 #if O0223_PICTURE_TYPES_ALIGN_FLAG 4020 } 4021 else 4022 { 4023 vps->setCrossLayerIrapAlignFlag(true); 4020 if( uiCode ) 4021 { 4022 READ_FLAG( uiCode, "all_layers_idr_aligned_flag" ); 4023 vps->setCrossLayerAlignedIdrOnlyFlag(uiCode); 4024 4024 } 4025 4025 #endif … … 4199 4199 { 4200 4200 #if VPS_FIX_TO_MATCH_SPEC 4201 4202 #else 4203 4201 for( i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++ ) 4202 #else 4203 for (i = 0; i < vps->getMaxLayers(); i++) 4204 4204 #endif 4205 4205 { -
branches/SHM-upgrade/source/Lib/TLibEncoder/TEncCavlc.cpp
r1010 r1012 2839 2839 #if IRAP_ALIGN_FLAG_IN_VPS_VUI 2840 2840 WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag"); 2841 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG2842 if(vps->getCrossLayerIrapAlignFlag())2843 {2844 WRITE_FLAG(vps->getCrossLayerAlignedIdrOnlyFlag(), "all_layers_idr_aligned_flag");2845 }2846 #endif2847 2841 #endif 2848 2842 #if O0223_PICTURE_TYPES_ALIGN_FLAG 2849 2843 } 2850 #endif 2844 else 2845 { 2846 vps->setCrossLayerIrapAlignFlag(vps->getVpsVuiPresentFlag()); // When not present, the value of cross_layer_irap_aligned_flag is inferred to be equal to vps_vui_present_flag 2847 } 2848 #endif 2849 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 2850 if(vps->getCrossLayerIrapAlignFlag()) 2851 { 2852 WRITE_FLAG(vps->getCrossLayerAlignedIdrOnlyFlag(), "all_layers_idr_aligned_flag"); 2853 } 2854 #endif 2855 2851 2856 WRITE_FLAG( vps->getBitRatePresentVpsFlag(), "bit_rate_present_vps_flag" ); 2852 2857 WRITE_FLAG( vps->getPicRatePresentVpsFlag(), "pic_rate_present_vps_flag" );
Note: See TracChangeset for help on using the changeset viewer.