Ignore:
Timestamp:
3 Feb 2014, 11:35:43 (11 years ago)
Author:
rwth
Message:
  • first version of DBBP (requires some cleanup)
Location:
branches/HTM-9.3-dev1-RWTH/source/App/TAppEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.3-dev1-RWTH/source/App/TAppEncoder/TAppEncCfg.cpp

    r786 r816  
    521521#if H_3D_INTER_SDC
    522522  ("InterSDC",                 m_bDepthInterSDCFlag,        true, "Enable depth inter SDC")
     523#endif
     524#if H_3D_DBBP
     525  ("DBBP",                     m_bUseDBBP,   true, "Enable depth-based block partitioning" )
    523526#endif
    524527#if H_3D_IV_MERGE
     
    24922495#endif
    24932496#if H_3D_IC
    2494   printf( "IlluCompEnable: %d ", m_abUseIC);
     2497  printf( "IlluCompEnable:%d ", m_abUseIC);
    24952498#endif
    24962499#if H_3D_NBDV_REF
     
    25092512#endif
    25102513#if H_3D_INTER_SDC
    2511   printf( "interSDC: %d ", m_bDepthInterSDCFlag ? 1 : 0 );
     2514  printf( "interSDC:%d ", m_bDepthInterSDCFlag ? 1 : 0 );
     2515#endif
     2516#if H_3D_DBBP
     2517  printf("DBBP:%d ", m_bUseDBBP ? 1 : 0);
    25122518#endif
    25132519#if H_3D_IV_MERGE
    2514   printf( "MPI: %d ", m_bMPIFlag ? 1 : 0 );
     2520  printf( "MPI:%d ", m_bMPIFlag ? 1 : 0 );
    25152521#endif
    25162522  printf("\n\n"); 
  • branches/HTM-9.3-dev1-RWTH/source/App/TAppEncoder/TAppEncCfg.h

    r779 r816  
    492492  Bool m_bDepthInterSDCFlag;                                ///< flag for inter SDC of depth map coding
    493493#endif
     494#if H_3D_DBBP
     495  Bool      m_bUseDBBP;                                     ///< flag for depth-based block partitioning
     496#endif
    494497#if H_3D_IV_MERGE
    495498  Bool m_bMPIFlag;                                           ///< flag for MPI of depth map coding
  • branches/HTM-9.3-dev1-RWTH/source/App/TAppEncoder/TAppEncTop.cpp

    r795 r816  
    204204#if H_3D_INTER_SDC
    205205    m_cTEncTop.setInterSDCEnable               ( isDepth ? m_bDepthInterSDCFlag    : false );
     206#endif
     207#if H_3D_DBBP
     208    m_cTEncTop.setUseDBBP                      ( vps.getViewIndex( layerId ) == 0 || isDepth ? false : m_bUseDBBP );
    206209#endif
    207210#if H_3D_IV_MERGE
     
    19121915#if H_3D_VSP
    19131916    vps.setViewSynthesisPredFlag( layer, !isLayerZero && !isDepth && m_viewSynthesisPredFlag );         
    1914 #endif     
     1917#endif
     1918#if H_3D_DBBP
     1919    vps.setUseDBBP              ( layer, !isLayerZero && !isDepth && m_bUseDBBP );
     1920#endif
    19151921#if H_3D_INTER_SDC
    19161922    vps.setInterSDCFlag( layer, !isLayerZero && isDepth && m_bDepthInterSDCFlag );
Note: See TracChangeset for help on using the changeset viewer.