Changeset 857 in 3DVCSoftware for branches/HTM-10.0-dev0/source
- Timestamp:
- 22 Feb 2014, 00:50:21 (11 years ago)
- Location:
- branches/HTM-10.0-dev0/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.0-dev0/source/Lib/TLibCommon/TComSlice.cpp
r854 r857 1752 1752 1753 1753 m_avcBaseLayerFlag = false; 1754 #if !H_MV_HLS7_GEN 1754 #if H_MV_HLS_7_VPS_P0307_23 1755 m_vpsNonVuiExtensionLength = 0; 1756 #else 1755 1757 m_vpsVuiOffset = 0; 1756 1758 #endif -
branches/HTM-10.0-dev0/source/Lib/TLibCommon/TComSlice.h
r854 r857 768 768 /// VPS EXTENSION SYNTAX ELEMENTS 769 769 Bool m_avcBaseLayerFlag; 770 #if !H_MV_HLS7_GEN 770 #if H_MV_HLS_7_VPS_P0307_23 771 Int m_vpsNonVuiExtensionLength; 772 #else 771 773 Int m_vpsVuiOffset; 772 774 #endif … … 829 831 #if H_MV_HLS7_GEN 830 832 Int m_directDependencyType [MAX_NUM_LAYERS] [MAX_NUM_LAYERS]; 831 Int m_vpsNonVuiExtensionLength;832 833 #endif 833 834 Bool m_vpsVuiPresentFlag; … … 973 974 Bool getAvcBaseLayerFlag() { return m_avcBaseLayerFlag; } 974 975 975 #if !H_MV_HLS7_GEN 976 #if H_MV_HLS_7_VPS_P0307_23 977 Void setVpsNonVuiExtensionLength( Int val ) { m_vpsNonVuiExtensionLength = val; } 978 Int getVpsNonVuiExtensionLength( ) { return m_vpsNonVuiExtensionLength; } 979 #else 976 980 Void setVpsVuiOffset( Int val ) { m_vpsVuiOffset = val; } 977 981 Int getVpsVuiOffset( ) { return m_vpsVuiOffset; } … … 1140 1144 Void setDirectDependencyType( Int depLayeridInVps, Int refLayeridInVps, Int val) { m_directDependencyType[ depLayeridInVps ][ refLayeridInVps ] = val; } 1141 1145 Int getDirectDependencyType( Int depLayeridInVps, Int refLayeridInVps) { return m_directDependencyType[ depLayeridInVps ][ refLayeridInVps ]; } 1142 1143 #if H_MV_HLS7_GEN1144 Void setVpsNonVuiExtensionLength( Int val ) { m_vpsNonVuiExtensionLength = val; }1145 Int getVpsNonVuiExtensionLength( ) { return m_vpsNonVuiExtensionLength; }1146 #endif1147 1146 1148 1147 Void setVpsVuiPresentFlag( Bool flag ) { m_vpsVuiPresentFlag = flag; } -
branches/HTM-10.0-dev0/source/Lib/TLibCommon/TypeDef.h
r856 r857 336 336 // #define H_MV_HLS_7_SEI_P0133_28 0 // (SEI/P0133/Recovery point SEI) #28 Decision: Adopt change to recover point semantics only (-v3) 337 337 #define H_MV_HLS_7_VPS_P0125_24 1 // (VPS/P0125/VPS extension offset ) #24 Decision: Keep it as a reserved FFFF value. 338 // #define H_MV_HLS_7_VPS_P0307_23 0// (VPS/P0307/VPS VUI extension) #23 Decision: Adopt modification in P0307.338 #define H_MV_HLS_7_VPS_P0307_23 1 // (VPS/P0307/VPS VUI extension) #23 Decision: Adopt modification in P0307. 339 339 // #define H_MV_HLS_7_POC_P0041_3 0 // (POC/P0041/POC reset) #3 It was remarked that we should require each non-IRAP picture that has discardable_flag equal to 1 to have NUT value indicating that it is a sub-layer non-reference picture. This was agreed. Decision: Adopt (with constraint for discardable_flag as described above) 340 340 // #define H_MV_HLS_7_POC_P0041_FIXES 0 // (POC/P0041/Fixes) For each non-IRAP picture that has discardable_flag equal to 1 to have NUT value indicating that it is a sub-layer non-reference picture. -
branches/HTM-10.0-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r856 r857 1211 1211 UInt uiCode; 1212 1212 READ_FLAG( uiCode, "avc_base_layer_flag" ); pcVPS->setAvcBaseLayerFlag( uiCode == 1 ? true : false ); 1213 #if !H_MV_HLS7_GEN 1213 1214 #if !H_MV_HLS_7_VPS_P0307_23 1214 1215 READ_FLAG( uiCode, "vps_vui_present_flag" ); pcVPS->setVpsVuiPresentFlag( uiCode == 1 ); 1215 1216 if ( pcVPS->getVpsVuiPresentFlag() ) … … 1526 1527 } 1527 1528 1528 #if H_MV_HLS 7_GEN1529 #if H_MV_HLS_7_VPS_P0307_23 1529 1530 READ_UVLC( uiCode, "vps_non_vui_extension_length" ); pcVPS->setVpsNonVuiExtensionLength( uiCode ); 1530 for ( Int i = 1; i < pcVPS->getVpsNonVuiExtensionLength(); i++ )1531 for ( Int i = 1; i <= pcVPS->getVpsNonVuiExtensionLength(); i++ ) 1531 1532 { 1532 1533 READ_CODE( 8, uiCode, "vps_non_vui_extension_data_byte" ); 1533 1534 } 1534 READ_FLAG( uiCode, "vps_vui_present_flag" ); pcVPS->setVpsVuiPresentFlag( uiCode == 1 ); if ( pcVPS->getVpsVuiPresentFlag() )1535 READ_FLAG( uiCode, "vps_vui_present_flag" ); pcVPS->setVpsVuiPresentFlag( uiCode == 1 ); 1535 1536 #endif 1536 1537 #if !H_MV_HLS_7_RESERVED_FLAGS -
branches/HTM-10.0-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp
r856 r857 1017 1017 { 1018 1018 WRITE_FLAG( pcVPS->getAvcBaseLayerFlag() ? 1 : 0, "avc_base_layer_flag" ); 1019 #if !H_MV_HLS 7_GEN1019 #if !H_MV_HLS_7_VPS_P0307_23 1020 1020 WRITE_FLAG( pcVPS->getVpsVuiPresentFlag() ? 1 : 0 , "vps_vui_present_flag" ); 1021 1021 if ( pcVPS->getVpsVuiPresentFlag() ) … … 1324 1324 } 1325 1325 } 1326 #if H_MV_HLS 7_GEN1326 #if H_MV_HLS_7_VPS_P0307_23 1327 1327 WRITE_UVLC( 0, "vps_non_vui_extension_length" ); 1328 1328 WRITE_FLAG( pcVPS->getVpsVuiPresentFlag() ? 1 : 0 , "vps_vui_present_flag" );
Note: See TracChangeset for help on using the changeset viewer.