Ignore:
Timestamp:
5 Nov 2014, 11:34:26 (9 years ago)
Author:
tech
Message:

HHI_DEPENDENCY_SIGNALLING_I1_J0107: Integrated IdRefListLayers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.2-dev2-HHI/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1084 r1103  
    18871887    Bool interLayerPredLayerIdcPresentFlag = false;
    18881888    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
    18891893    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
    18901898    {   
    18911899      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
    18921904      if( pcSlice->getInterLayerPredEnabledFlag() && vps->getNumDirectRefLayers( layerId ) > 1 )
     1905#endif
     1906#else
     1907      if( pcSlice->getInterLayerPredEnabledFlag() && vps->getNumDirectRefLayers( layerId ) > 1 )
     1908#endif
    18931909      {           
    18941910        if( !vps->getMaxOneActiveRefLayerFlag()) 
     
    18961912          WRITE_CODE( pcSlice->getNumInterLayerRefPicsMinus1( ), pcSlice->getNumInterLayerRefPicsMinus1Len( ), "num_inter_layer_ref_pics_minus1" );
    18971913        }
     1914#if HHI_DEPENDENCY_SIGNALLING_I1_J0107
     1915#if H_3D
     1916        if ( pcSlice->getNumActiveRefLayerPics() != vps->getNumRefListLayers( layerId ) )
     1917#else
    18981918        if ( pcSlice->getNumActiveRefLayerPics() != vps->getNumDirectRefLayers( layerId ) )
     1919#endif
     1920#else
     1921        if ( pcSlice->getNumActiveRefLayerPics() != vps->getNumDirectRefLayers( layerId ) )
     1922#endif
    18991923        {       
    19001924          interLayerPredLayerIdcPresentFlag = true;
     
    20372061    }
    20382062#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
    20392066    else if( pcSlice->getViewIndex() && ( pcSlice->getSliceType() == P_SLICE || pcSlice->getSliceType() == B_SLICE ) && !pcSlice->getIsDepth() && vps->getNumDirectRefLayers( layerId ) > 0 )
     2067#endif
    20402068    {
    20412069      WRITE_FLAG( pcSlice->getApplyIC() ? 1 : 0, "slice_ic_enable_flag" );
Note: See TracChangeset for help on using the changeset viewer.