Changeset 765 in 3DVCSoftware for branches/HTM-9.2-dev0/source/App


Ignore:
Timestamp:
12 Jan 2014, 02:46:46 (11 years ago)
Author:
tech
Message:

Cleanup part 2

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

Legend:

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

    r764 r765  
    515515  ("AdvMultiviewResPred",      m_uiUseAdvResPred,           (UInt)1, "Usage of Advanced Residual Prediction" )
    516516#endif
    517 #if MTK_SPIVMP_F0110
     517#if H_3D_SPIVMP
    518518  ("SubPULog2Size", m_iSubPULog2Size, (Int)3, "Sub-PU size index: 2^n")
    519519#endif
     
    525525  ("InterSDC",                 m_bDepthInterSDCFlag,        true, "Enable depth inter SDC")
    526526#endif
    527 #if SEC_MPI_ENABLING_MERGE_F0150
     527#if H_3D_IV_MERGE
    528528  ("MPI",                      m_bMPIFlag,        true, "Enable MPI")
    529529#endif
     
    780780#endif
    781781#if H_3D_IV_MERGE
    782 #if QC_DEPTH_IV_MRG_F0125 
    783782  ("IvMvPred",                        m_ivMvPredFlag            , std::vector<Bool>(2, true)            , "inter view motion prediction " )
    784 #else
    785   ("IvMvPred",                        m_ivMvPredFlag,           true            , "inter view motion prediction " ) 
    786 #endif
    787783#endif
    788784#if H_3D_NBDV_REF
     
    15371533  xConfirmPara( ( 0 != m_uiUseAdvResPred ) &&  ( 1 != m_uiUseAdvResPred ), "UseAdvResPred must be 0 or 1." );
    15381534#endif
    1539 #if MTK_SPIVMP_F0110
     1535#if H_3D_SPIVMP
    15401536  xConfirmPara( m_iSubPULog2Size < 2,                                        "SubPULog2Size must be 2 or greater.");
    15411537  xConfirmPara( m_iSubPULog2Size > 6,                                        "SubPULog2Size must be 6 or smaller.");
     
    24982494#endif
    24992495#if H_3D_IV_MERGE
    2500 #if QC_DEPTH_IV_MRG_F0125
    25012496  printf("IvMvPred:%d %d", m_ivMvPredFlag[0] ? 1 : 0, m_ivMvPredFlag[1] ? 1 : 0);
    2502 #else
    2503   printf("IvMvPred:%d ", m_ivMvPredFlag );
    2504 #endif
    2505 #if MTK_SPIVMP_F0110
     2497#if H_3D_SPIVMP
    25062498  printf(" SubPULog2Size:%d  " , m_iSubPULog2Size  );
    25072499#endif
     
    25302522  printf( "interSDC: %d ", m_bDepthInterSDCFlag ? 1 : 0 );
    25312523#endif
    2532 #if SEC_MPI_ENABLING_MERGE_F0150
     2524#if H_3D_IV_MERGE
    25332525  printf( "MPI: %d ", m_bMPIFlag ? 1 : 0 );
    25342526#endif
  • branches/HTM-9.2-dev0/source/App/TAppEncoder/TAppEncCfg.h

    r764 r765  
    136136
    137137#if H_3D_IV_MERGE
    138 #if QC_DEPTH_IV_MRG_F0125
    139138  vector<Bool>           m_ivMvPredFlag;                      ///< Interview motion vector prediction
    140 #else
    141   Bool                   m_ivMvPredFlag;                      ///< Interview motion vector prediction
    142 #endif
    143 #if MTK_SPIVMP_F0110
     139#if H_3D_SPIVMP
    144140  Int                    m_iSubPULog2Size;                   
    145141#endif
     
    503499  Bool m_bDepthInterSDCFlag;                                ///< flag for inter SDC of depth map coding
    504500#endif
    505 #if SEC_MPI_ENABLING_MERGE_F0150
     501#if H_3D_IV_MERGE
    506502  Bool m_bMPIFlag;                                           ///< flag for MPI of depth map coding
    507503#endif
  • branches/HTM-9.2-dev0/source/App/TAppEncoder/TAppEncTop.cpp

    r764 r765  
    160160    //====== Camera Parameters =========
    161161    m_cTEncTop.setCameraParameters             ( &m_cCameraData );     
    162 #if QC_DEPTH_IV_MRG_F0125
    163162    m_cTEncTop.setCamParPrecision              ( m_cCameraData.getCamParsCodedPrecision  () );
    164163    m_cTEncTop.setCamParInSliceHeader          ( m_cCameraData.getVaryingCameraParameters() );
    165164    m_cTEncTop.setCodedScale                   ( m_cCameraData.getCodedScale             () );
    166165    m_cTEncTop.setCodedOffset                  ( m_cCameraData.getCodedOffset            () );
    167 #else
    168     m_cTEncTop.setCamParPrecision              ( isDepth ? false : m_cCameraData.getCamParsCodedPrecision  () );
    169     m_cTEncTop.setCamParInSliceHeader          ( isDepth ? 0     : m_cCameraData.getVaryingCameraParameters() );
    170     m_cTEncTop.setCodedScale                   ( isDepth ? 0     : m_cCameraData.getCodedScale             () );
    171     m_cTEncTop.setCodedOffset                  ( isDepth ? 0     : m_cCameraData.getCodedOffset            () );
    172 #endif
    173166#if H_3D_VSO
    174167    //====== VSO =========
     
    194187    m_cTEncTop.setARPStepNum                   ( ( isDepth || 0==layerIdInVps ) ? 1 : H_3D_ARP_WFNR     );
    195188#endif
    196 #if MTK_SPIVMP_F0110
     189#if H_3D_SPIVMP
    197190    m_cTEncTop.setSubPULog2Size                 (( isDepth || 0==layerIdInVps ) ? 0 : m_iSubPULog2Size   );
    198191#endif
     
    214207    m_cTEncTop.setInterSDCEnable               ( isDepth ? m_bDepthInterSDCFlag    : false );
    215208#endif
    216 #if SEC_MPI_ENABLING_MERGE_F0150
     209#if H_3D_IV_MERGE
    217210    m_cTEncTop.setUseMPI               ( isDepth ? m_bMPIFlag    : false );
    218211#endif
     
    19741967    vps.setARPStepNum      ( layer, ( isDepth || isLayerZero ) ? 1 : H_3D_ARP_WFNR     );
    19751968#endif 
    1976 #if MTK_SPIVMP_F0110
     1969#if H_3D_SPIVMP
    19771970    if( isDepth )
    19781971    {
    1979 #if MTK_F0110_FIX
    19801972      vps.setSubPULog2Size         ( layer, (layer != 1) ? 6: 0 );
    1981 #else
    1982       vps.setSubPULog2Size         ( layer, (layer != 1) ? m_iSubPULog2Size: 0 );
    1983 #endif
    19841973    }
    19851974    else
     
    20071996
    20081997#if H_3D_IV_MERGE
    2009 #if QC_DEPTH_IV_MRG_F0125
    20101998    if( isDepth )
    20111999    {
     
    20162004      vps.setIvMvPredFlag         ( layer, !isLayerZero && m_ivMvPredFlag[0] );
    20172005    }
    2018 #else
    2019     vps.setIvMvPredFlag         ( layer, !isLayerZero && !isDepth && m_ivMvPredFlag );
    2020 #endif
    20212006#endif
    20222007#if H_3D_NBDV_REF
     
    20292014    vps.setInterSDCFlag( layer, !isLayerZero && isDepth && m_bDepthInterSDCFlag );
    20302015#endif
    2031 #if SEC_MPI_ENABLING_MERGE_F0150
     2016#if H_3D_IV_MERGE
    20322017    vps.setMPIFlag( layer, !isLayerZero && isDepth && m_bMPIFlag );
    20332018#endif
Note: See TracChangeset for help on using the changeset viewer.