Changeset 443 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 26 May 2013, 15:41:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp
r332 r443 265 265 xParseDblParam( aps ); 266 266 } 267 #if !LGE_SAO_MIGRATION_D0091 267 268 READ_FLAG(uiCode, "aps_sao_interleaving_flag"); aps->setSaoInterleavingFlag( (uiCode==1)?true:false ); 268 269 if(!aps->getSaoInterleavingFlag()) … … 275 276 } 276 277 } 278 #endif 277 279 READ_FLAG(uiCode, "aps_adaptive_loop_filter_flag"); aps->setAlfEnabled( (uiCode==1)?true:false ); 278 280 if(aps->getAlfEnabled()) … … 307 309 } 308 310 } 311 #if !LGE_SAO_MIGRATION_D0091 309 312 /** parse SAO parameters 310 313 * \param pSaoParam … … 532 535 } 533 536 } 534 537 #endif 535 538 536 539 Void TDecCavlc::xParseAlfParam(AlfParamSet* pAlfParamSet, Bool bSentInAPS, Int firstLCUAddr, Bool acrossSlice, Int numLCUInWidth, Int numLCUInHeight) … … 1493 1496 #endif 1494 1497 #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 1497 1506 } 1498 1507 else … … 1544 1553 #endif 1545 1554 #if H3D_IVRP 1555 #if QC_ARP_D0177 1556 pcSPS->setUseAdvRP ( 0 ); 1557 pcSPS->setARPStepNum( 1 ); 1558 #else 1546 1559 pcSPS->setMultiviewResPredMode ( 0 ); 1547 1560 #endif 1561 #endif 1562 1548 1563 } 1549 1564 else … … 1573 1588 UInt uiMultiviewMvPredMode = 0; 1574 1589 #endif 1575 #if H3D_IVRP 1590 #if H3D_IVRP & !QC_ARP_D0177 1576 1591 UInt uiMultiviewResPredMode = 0; 1577 1592 #endif … … 1588 1603 READ_UVLC( uiMultiviewMvPredMode, "multi_view_mv_pred_mode" ); 1589 1604 #endif 1590 #if H3D_IVRP 1605 #if H3D_IVRP & !QC_ARP_D0177 1591 1606 READ_FLAG( uiMultiviewResPredMode, "multi_view_residual_pred_mode" ); 1592 1607 #endif … … 1599 1614 #endif 1600 1615 #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 1601 1623 pcSPS->setMultiviewResPredMode ( uiMultiviewResPredMode ); 1602 1624 #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 1604 1640 } 1605 1641 READ_FLAG( uiCode, "sps_extension2_flag"); … … 1665 1701 } 1666 1702 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 1667 1710 } 1668 1711 #endif … … 1847 1890 if (sps->getUseSAO()) 1848 1891 { 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 1849 1896 READ_FLAG(uiCode, "slice_sao_interleaving_flag"); rpcSlice->setSaoInterleavingFlag(uiCode); 1850 1897 READ_FLAG(uiCode, "slice_sample_adaptive_offset_flag"); rpcSlice->setSaoEnabledFlag((Bool)uiCode); … … 1859 1906 rpcSlice->setSaoEnabledFlagCr(0); 1860 1907 } 1908 #endif 1861 1909 } 1862 1910 READ_UVLC ( uiCode, "aps_id" ); rpcSlice->setAPSId(uiCode); … … 2424 2472 } 2425 2473 #endif 2426 2474 #if QC_ARP_D0177 2475 Void TDecCavlc::parseARPW( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2476 { 2477 assert( false ); 2478 } 2479 #endif 2427 2480 #if RWTH_SDC_DLT_B0036 2481 #if !PKU_QC_DEPTH_INTRA_UNI_D0195 2428 2482 Void TDecCavlc::parseSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2429 2483 { … … 2434 2488 assert(0); 2435 2489 } 2490 #endif 2436 2491 Void TDecCavlc::parseSDCResidualData ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPart ) 2437 2492 {
Note: See TracChangeset for help on using the changeset viewer.