Changeset 1103 in 3DVCSoftware for branches/HTM-12.2-dev2-HHI/source/Lib/TLibEncoder/TEncCavlc.cpp
- Timestamp:
- 5 Nov 2014, 11:34:26 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.2-dev2-HHI/source/Lib/TLibEncoder/TEncCavlc.cpp
r1084 r1103 1887 1887 Bool interLayerPredLayerIdcPresentFlag = false; 1888 1888 Int layerId = pcSlice->getLayerId(); 1889 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 1890 #if H_3D 1891 if( pcSlice->getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && vps->getNumRefListLayers( layerId ) > 0 ) 1892 #else 1889 1893 if( pcSlice->getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && vps->getNumDirectRefLayers( layerId ) > 0 ) 1894 #endif 1895 #else 1896 if( pcSlice->getLayerId() > 0 && !vps->getAllRefLayersActiveFlag() && vps->getNumDirectRefLayers( layerId ) > 0 ) 1897 #endif 1890 1898 { 1891 1899 WRITE_FLAG( pcSlice->getInterLayerPredEnabledFlag( ) ? 1 : 0 , "inter_layer_pred_enabled_flag" ); 1900 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 1901 #if H_3D 1902 if( pcSlice->getInterLayerPredEnabledFlag() && vps->getNumRefListLayers( layerId ) > 1 ) 1903 #else 1892 1904 if( pcSlice->getInterLayerPredEnabledFlag() && vps->getNumDirectRefLayers( layerId ) > 1 ) 1905 #endif 1906 #else 1907 if( pcSlice->getInterLayerPredEnabledFlag() && vps->getNumDirectRefLayers( layerId ) > 1 ) 1908 #endif 1893 1909 { 1894 1910 if( !vps->getMaxOneActiveRefLayerFlag()) … … 1896 1912 WRITE_CODE( pcSlice->getNumInterLayerRefPicsMinus1( ), pcSlice->getNumInterLayerRefPicsMinus1Len( ), "num_inter_layer_ref_pics_minus1" ); 1897 1913 } 1914 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 1915 #if H_3D 1916 if ( pcSlice->getNumActiveRefLayerPics() != vps->getNumRefListLayers( layerId ) ) 1917 #else 1898 1918 if ( pcSlice->getNumActiveRefLayerPics() != vps->getNumDirectRefLayers( layerId ) ) 1919 #endif 1920 #else 1921 if ( pcSlice->getNumActiveRefLayerPics() != vps->getNumDirectRefLayers( layerId ) ) 1922 #endif 1899 1923 { 1900 1924 interLayerPredLayerIdcPresentFlag = true; … … 2037 2061 } 2038 2062 #if H_3D_IC 2063 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 2064 else if( pcSlice->getViewIndex() && ( pcSlice->getSliceType() == P_SLICE || pcSlice->getSliceType() == B_SLICE ) && !pcSlice->getIsDepth() && vps->getNumRefListLayers( layerId ) > 0 ) 2065 #else 2039 2066 else if( pcSlice->getViewIndex() && ( pcSlice->getSliceType() == P_SLICE || pcSlice->getSliceType() == B_SLICE ) && !pcSlice->getIsDepth() && vps->getNumDirectRefLayers( layerId ) > 0 ) 2067 #endif 2040 2068 { 2041 2069 WRITE_FLAG( pcSlice->getApplyIC() ? 1 : 0, "slice_ic_enable_flag" );
Note: See TracChangeset for help on using the changeset viewer.