Changeset 443 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp


Ignore:
Timestamp:
26 May 2013, 15:41:34 (11 years ago)
Author:
tech
Message:
  • Reintegrated branch 6.2-dev0 rev. 442.
  • Changed version number.
  • Added coding results.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r332 r443  
    265265    xParseDblParam( aps );   
    266266  }
     267#if !LGE_SAO_MIGRATION_D0091
    267268  READ_FLAG(uiCode, "aps_sao_interleaving_flag");      aps->setSaoInterleavingFlag( (uiCode==1)?true:false );
    268269  if(!aps->getSaoInterleavingFlag())
     
    275276  }
    276277  }
     278#endif
    277279  READ_FLAG(uiCode, "aps_adaptive_loop_filter_flag");      aps->setAlfEnabled( (uiCode==1)?true:false );
    278280  if(aps->getAlfEnabled())
     
    307309  }
    308310}
     311#if !LGE_SAO_MIGRATION_D0091
    309312/** parse SAO parameters
    310313 * \param pSaoParam
     
    532535  }
    533536}
    534 
     537#endif
    535538
    536539Void TDecCavlc::xParseAlfParam(AlfParamSet* pAlfParamSet, Bool bSentInAPS, Int firstLCUAddr, Bool acrossSlice, Int numLCUInWidth, Int numLCUInHeight)
     
    14931496#endif
    14941497#if H3D_IVRP
    1495     pcSPS->setMultiviewResPredMode  ( 0 );
    1496 #endif
     1498#if QC_ARP_D0177
     1499     pcSPS->setUseAdvRP  ( 0 );
     1500     pcSPS->setARPStepNum( 1 );
     1501#else
     1502     pcSPS->setMultiviewResPredMode  ( 0 );
     1503#endif
     1504#endif
     1505
    14971506    }
    14981507    else
     
    15441553#endif
    15451554#if H3D_IVRP
     1555#if QC_ARP_D0177
     1556      pcSPS->setUseAdvRP  ( 0 );
     1557      pcSPS->setARPStepNum( 1 );
     1558#else
    15461559      pcSPS->setMultiviewResPredMode  ( 0 );
    15471560#endif
     1561#endif
     1562
    15481563      }
    15491564      else
     
    15731588        UInt uiMultiviewMvPredMode = 0;
    15741589#endif
    1575 #if H3D_IVRP
     1590#if H3D_IVRP & !QC_ARP_D0177
    15761591      UInt uiMultiviewResPredMode = 0;
    15771592#endif
     
    15881603          READ_UVLC( uiMultiviewMvPredMode, "multi_view_mv_pred_mode" );
    15891604#endif
    1590 #if H3D_IVRP
     1605#if H3D_IVRP & !QC_ARP_D0177
    15911606          READ_FLAG( uiMultiviewResPredMode, "multi_view_residual_pred_mode" );
    15921607#endif
     
    15991614#endif
    16001615#if H3D_IVRP
     1616#if QC_ARP_D0177
     1617      READ_FLAG( uiCode , "advanced_residual_pred_flag" );           pcSPS->setUseAdvRP( uiCode );
     1618      if( pcSPS->getUseAdvRP()  )
     1619          pcSPS->setARPStepNum( QC_ARP_WFNR );
     1620      else
     1621       pcSPS->setARPStepNum( 1 );
     1622#else
    16011623      pcSPS->setMultiviewResPredMode  ( uiMultiviewResPredMode );
    16021624#endif
    1603       }
     1625#endif
     1626
     1627      }
     1628
     1629#if MTK_D0156
     1630
     1631      pcSPS->setUseVSPCompensation( false );
     1632      pcSPS->setUseDVPRefine( false );
     1633
     1634      //Comments: Currently, BVSP and DoNBDV are not used for depth coding
     1635#if MERL_VSP_COMPENSATION_C0152
     1636      READ_FLAG( uiCode, "view_synthesis_pred_flag" );pcSPS->setUseVSPCompensation( uiCode ? true : false );
     1637#endif
     1638      READ_FLAG( uiCode, "dv_refine_flag" );          pcSPS->setUseDVPRefine( uiCode ? true : false );
     1639#endif
    16041640    }
    16051641    READ_FLAG( uiCode, "sps_extension2_flag");
     
    16651701    }
    16661702    rpcSlice->setApplyIC(uiCodeTmp);
     1703#if SHARP_ILLUCOMP_PARSE_D0060
     1704    if (rpcSlice->getApplyIC())
     1705    {
     1706      READ_FLAG (uiCodeTmp, "ic_skip_mergeidx0");
     1707      rpcSlice->setIcSkipParseFlag(uiCodeTmp);
     1708    }
     1709#endif
    16671710  }
    16681711#endif
     
    18471890      if (sps->getUseSAO())
    18481891      {
     1892#if LGE_SAO_MIGRATION_D0091
     1893        READ_FLAG(uiCode, "slice_sao_luma_flag");  rpcSlice->setSaoEnabledFlag((Bool)uiCode);
     1894        READ_FLAG(uiCode, "slice_sao_chroma_flag");  rpcSlice->setSaoEnabledFlagChroma((Bool)uiCode);
     1895#else
    18491896        READ_FLAG(uiCode, "slice_sao_interleaving_flag");        rpcSlice->setSaoInterleavingFlag(uiCode);
    18501897        READ_FLAG(uiCode, "slice_sample_adaptive_offset_flag");  rpcSlice->setSaoEnabledFlag((Bool)uiCode);
     
    18591906          rpcSlice->setSaoEnabledFlagCr(0);
    18601907        }
     1908#endif
    18611909      }
    18621910      READ_UVLC (    uiCode, "aps_id" );  rpcSlice->setAPSId(uiCode);
     
    24242472}
    24252473#endif
    2426 
     2474#if QC_ARP_D0177
     2475Void TDecCavlc::parseARPW( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
     2476{
     2477  assert( false );
     2478}
     2479#endif
    24272480#if RWTH_SDC_DLT_B0036
     2481#if !PKU_QC_DEPTH_INTRA_UNI_D0195
    24282482Void TDecCavlc::parseSDCFlag    ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )
    24292483{
     
    24342488  assert(0);
    24352489}
     2490#endif
    24362491Void TDecCavlc::parseSDCResidualData     ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPart )
    24372492{
Note: See TracChangeset for help on using the changeset viewer.