Changeset 716 in 3DVCSoftware for branches/HTM-8.2-dev0-MediaTek/source/App


Ignore:
Timestamp:
28 Nov 2013, 10:04:37 (11 years ago)
Author:
mediatek-htm
Message:

Bug fix for F0093, addded macro is

#define BUGFIX_F0093 1 bug fix for F0093 for depth IvMC pruning

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

Legend:

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

    r712 r716  
    510510  ("AdvMultiviewResPred",      m_uiUseAdvResPred,           (UInt)1, "Usage of Advanced Residual Prediction" )
    511511#endif
     512#if MTK_SPIVMP_F0110
     513  ("SubPULog2Size", m_iSubPULog2Size, (Int)3, "Sub-PU size index: 2^n")
     514#endif
     515
    512516#if H_3D_IC
    513517#if SEC_ONLY_TEXTURE_IC_F0151
     
    14861490#if H_3D_ARP
    14871491  xConfirmPara( ( 0 != m_uiUseAdvResPred ) &&  ( 1 != m_uiUseAdvResPred ), "UseAdvResPred must be 0 or 1." );
     1492#endif
     1493#if MTK_SPIVMP_F0110
     1494  xConfirmPara( m_iSubPULog2Size < 2,                                        "SubPULog2Size must be 2 or greater.");
     1495  xConfirmPara( m_iSubPULog2Size > 6,                                        "SubPULog2Size must be 6 or smaller.");
     1496  xConfirmPara( (1<<m_iSubPULog2Size) > m_uiMaxCUWidth,                      "SubPULog2Size must be log2(maxCUSize) or smaller.");
    14881497#endif
    14891498#if ADAPTIVE_QP_SELECTION
     
    24322441  printf("IvMvPred:%d ", m_ivMvPredFlag );
    24332442#endif
     2443#if MTK_SPIVMP_F0110
     2444  printf(" SubPULog2Size:%d  " , m_iSubPULog2Size  );
     2445#endif
    24342446#endif
    24352447#if H_3D_ARP
  • branches/HTM-8.2-dev0-MediaTek/source/App/TAppEncoder/TAppEncCfg.h

    r712 r716  
    119119#else
    120120  Bool                   m_ivMvPredFlag;                      ///< Interview motion vector prediction
     121#endif
     122#if MTK_SPIVMP_F0110
     123  Int                    m_iSubPULog2Size;                   
    121124#endif
    122125#endif
  • branches/HTM-8.2-dev0-MediaTek/source/App/TAppEncoder/TAppEncTop.cpp

    r712 r716  
    182182    m_cTEncTop.setUseAdvRP                     ( ( isDepth || 0==layerIdInVps ) ? 0 : m_uiUseAdvResPred );
    183183    m_cTEncTop.setARPStepNum                   ( ( isDepth || 0==layerIdInVps ) ? 1 : H_3D_ARP_WFNR     );
     184#endif
     185#if MTK_SPIVMP_F0110
     186    m_cTEncTop.setSubPULog2Size                 (( isDepth || 0==layerIdInVps ) ? 0 : m_iSubPULog2Size   );
    184187#endif
    185188#if H_3D_IC
     
    16551658    vps.setARPStepNum      ( layer, ( isDepth || isLayerZero ) ? 1 : H_3D_ARP_WFNR     );
    16561659#endif 
     1660#if MTK_SPIVMP_F0110
     1661    if( isDepth )
     1662    {
     1663      vps.setSubPULog2Size         ( layer, (layer != 1) ? m_iSubPULog2Size: 0 );
     1664    }
     1665    else
     1666    {
     1667      vps.setSubPULog2Size         ( layer, (!isLayerZero) ? m_iSubPULog2Size: 0 );
     1668    }
     1669#endif
    16571670
    16581671#if H_3D_DIM
Note: See TracChangeset for help on using the changeset viewer.