Changeset 969 in 3DVCSoftware for branches/HTM-11.1-dev0/source/App


Ignore:
Timestamp:
5 Jul 2014, 09:34:43 (11 years ago)
Author:
tech
Message:

Cleanup part 3.

Location:
branches/HTM-11.1-dev0/source/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.1-dev0/source/App/TAppEncoder/TAppEncCfg.cpp

    r964 r969  
    523523#if H_3D_IC
    524524  ("IlluCompEnable",           m_abUseIC, true, "Enable illumination compensation")
    525 #if MTK_LOW_LATENCY_IC_ENCODING_H0086
    526525  ("IlluCompLowLatencyEnc",    m_bUseLowLatencyICEnc, false, "Enable low-latency illumination compensation encoding")
    527 #endif
    528526#endif
    529527#if H_3D_INTER_SDC
     
    25152513#if H_3D_IC
    25162514  printf( "IlluCompEnable:%d ", m_abUseIC);
    2517 #if MTK_LOW_LATENCY_IC_ENCODING_H0086
    25182515  printf ("IlluCompLowLatencyEnc:%d ",  m_bUseLowLatencyICEnc);
    2519 #endif
    25202516#endif
    25212517#if H_3D_NBDV_REF
  • branches/HTM-11.1-dev0/source/App/TAppEncoder/TAppEncCfg.h

    r964 r969  
    140140#if H_3D_IC
    141141  Bool   m_abUseIC;
    142 #if MTK_LOW_LATENCY_IC_ENCODING_H0086
    143   Bool  m_bUseLowLatencyICEnc;
    144 #endif
     142  Bool   m_bUseLowLatencyICEnc;
    145143#endif
    146144#if H_3D_NBDV_REF
  • branches/HTM-11.1-dev0/source/App/TAppEncoder/TAppEncTop.cpp

    r964 r969  
    193193    m_cTEncTop.setDWeight                      ( isDepth ? m_iDWeight             : 0     );
    194194#endif // H_3D_VSO
    195 #if H_3D_ARP && !QC_IV_PRED_CONSTRAINT_H0137
    196     //====== Advanced Inter-view Residual Prediction =========
    197     m_cTEncTop.setUseAdvRP                     ( ( isDepth || 0==layerIdInVps ) ? 0 : m_uiUseAdvResPred );
    198     m_cTEncTop.setARPStepNum                   ( ( isDepth || 0==layerIdInVps ) ? 1 : H_3D_ARP_WFNR     );
    199 #endif
    200195#if H_3D_SPIVMP
    201196    m_cTEncTop.setSubPULog2Size                 (( isDepth || 0==layerIdInVps ) ? 0 : m_iSubPULog2Size   );
     
    204199#if H_3D_IC
    205200    m_cTEncTop.setUseIC                        ( vps.getViewIndex( layerId ) == 0 || isDepth ? false : m_abUseIC );
    206 #if MTK_LOW_LATENCY_IC_ENCODING_H0086
    207201    m_cTEncTop.setUseICLowLatencyEnc           ( m_bUseLowLatencyICEnc );
    208 #endif
    209202#endif
    210203  //========== Depth intra modes ==========
     
    18691862
    18701863#if H_3D_ARP
    1871 #if QC_IV_PRED_CONSTRAINT_H0137
    18721864    vps.setUseAdvRP        ( layer, ( isDepth || isLayerZero || !vps.getNumDirectRefLayers(layer) ) ? 0 : m_uiUseAdvResPred );
    18731865    vps.setARPStepNum      ( layer, ( isDepth || isLayerZero || !vps.getNumDirectRefLayers(layer) ) ? 1 : H_3D_ARP_WFNR     );
    1874 #else
    1875     vps.setUseAdvRP        ( layer, ( isDepth || isLayerZero ) ? 0 : m_uiUseAdvResPred );
    1876     vps.setARPStepNum      ( layer, ( isDepth || isLayerZero ) ? 1 : H_3D_ARP_WFNR     );
    1877 #endif 
    18781866#endif 
    18791867#if H_3D_SPIVMP
     
    18931881
    18941882#if H_3D_IV_MERGE
    1895 #if QC_IV_PRED_CONSTRAINT_H0137
    18961883    if( !vps.getNumDirectRefLayers(layer) )
    18971884    {
     
    19001887    else
    19011888    {
    1902 #endif
    1903     if( isDepth )
    1904     {
    1905       vps.setIvMvPredFlag         ( layer, (layer != 1) && m_ivMvPredFlag[1] );
    1906     }
    1907     else
    1908     {
    1909       vps.setIvMvPredFlag         ( layer, !isLayerZero && m_ivMvPredFlag[0] );
    1910     }
    1911 #if QC_IV_PRED_CONSTRAINT_H0137
    1912     }
    1913 #endif
     1889      if( isDepth )
     1890      {
     1891        vps.setIvMvPredFlag         ( layer, (layer != 1) && m_ivMvPredFlag[1] );
     1892      }
     1893      else
     1894      {
     1895        vps.setIvMvPredFlag         ( layer, !isLayerZero && m_ivMvPredFlag[0] );
     1896      }
     1897    }
    19141898#endif
    19151899#if H_3D_NBDV_REF
     
    19171901#endif
    19181902#if H_3D_VSP
    1919 #if QC_IV_PRED_CONSTRAINT_H0137
    19201903    vps.setViewSynthesisPredFlag( layer, !isLayerZero && !isDepth && vps.getNumDirectRefLayers(layer) && m_viewSynthesisPredFlag );         
    1921 #else
    1922     vps.setViewSynthesisPredFlag( layer, !isLayerZero && !isDepth && m_viewSynthesisPredFlag );         
    1923 #endif
    19241904#endif
    19251905#if H_3D_DBBP
Note: See TracChangeset for help on using the changeset viewer.