Changeset 1011 in SHVCSoftware
- Timestamp:
- 3 Feb 2015, 23:44:40 (10 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1004 r1011 1234 1234 #endif 1235 1235 m_acTEncTop[layer].init(isFieldCoding); 1236 #if P0182_VPS_VUI_PS_FLAG1237 m_acTEncTop[layer].getVPS()->setSPSId(layer, m_acTEncTop[layer].getSPS()->getSPSId());1238 m_acTEncTop[layer].getVPS()->setPPSId(layer, m_acTEncTop[layer].getPPS()->getPPSId());1239 #endif1240 1236 } 1241 1237 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1005 r1011 2589 2589 READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" ); 2590 2590 vps->setCrossLayerIrapAlignFlag(uiCode); 2591 #endif 2592 #if O0223_PICTURE_TYPES_ALIGN_FLAG 2593 } 2594 else 2595 { 2596 vps->setCrossLayerIrapAlignFlag(true); 2597 } 2598 #endif 2591 2599 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 2592 if( uiCode ) 2593 { 2594 READ_FLAG( uiCode, "all_layers_idr_aligned_flag" ); 2595 vps->setCrossLayerAlignedIdrOnlyFlag(uiCode); 2596 } 2597 #endif 2598 #endif 2599 #if O0223_PICTURE_TYPES_ALIGN_FLAG 2600 } 2601 else 2602 { 2603 vps->setCrossLayerIrapAlignFlag(true); 2600 if( uiCode ) 2601 { 2602 READ_FLAG( uiCode, "all_layers_idr_aligned_flag" ); 2603 vps->setCrossLayerAlignedIdrOnlyFlag(uiCode); 2604 2604 } 2605 2605 #endif … … 2779 2779 { 2780 2780 #if VPS_FIX_TO_MATCH_SPEC 2781 2782 #else 2783 2781 for( i = vps->getBaseLayerInternalFlag() ? 0 : 1; i < vps->getMaxLayers(); i++ ) 2782 #else 2783 for (i = 0; i < vps->getMaxLayers(); i++) 2784 2784 #endif 2785 2785 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1009 r1011 1821 1821 #if IRAP_ALIGN_FLAG_IN_VPS_VUI 1822 1822 WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag"); 1823 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG1824 if(vps->getCrossLayerIrapAlignFlag())1825 {1826 WRITE_FLAG(vps->getCrossLayerAlignedIdrOnlyFlag(), "all_layers_idr_aligned_flag");1827 }1828 #endif1829 1823 #endif 1830 1824 #if O0223_PICTURE_TYPES_ALIGN_FLAG 1831 1825 } 1832 #endif 1826 else 1827 { 1828 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 1829 } 1830 #endif 1831 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 1832 if(vps->getCrossLayerIrapAlignFlag()) 1833 { 1834 WRITE_FLAG(vps->getCrossLayerAlignedIdrOnlyFlag(), "all_layers_idr_aligned_flag"); 1835 } 1836 #endif 1837 1833 1838 WRITE_FLAG( vps->getBitRatePresentVpsFlag(), "bit_rate_present_vps_flag" ); 1834 1839 WRITE_FLAG( vps->getPicRatePresentVpsFlag(), "pic_rate_present_vps_flag" ); … … 1916 1921 for (i = 0; i < vps->getMaxLayers(); i++) 1917 1922 #endif 1918 for(i = 0; i < vps->getMaxLayers(); i++)1919 1923 { 1920 1924 WRITE_FLAG( vps->getTilesInUseFlag(i) ? 1 : 0 , "tiles_in_use_flag[ i ]" );
Note: See TracChangeset for help on using the changeset viewer.