Changeset 189 in 3DVCSoftware for trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 18 Nov 2012, 22:11:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp
r100 r189 1674 1674 } 1675 1675 #endif 1676 1677 READ_FLAG( uiCode, "base_view_flag" ); 1676 #if OL_QTLIMIT_PREDCODING_B0068 1677 if( bIsDepth ) 1678 { 1679 READ_FLAG( uiCode, "use_qtlpc_flag" ); 1680 pcSPS->setUseQTLPC( uiCode ); 1681 } 1682 #endif 1683 1684 #if RWTH_SDC_DLT_B0036 1685 if( bIsDepth ) 1686 { 1687 READ_FLAG( uiCode, "use_dlt_flag" ); 1688 pcSPS->setUseDLT( uiCode ); 1689 if( pcSPS->getUseDLT() ) 1690 { 1691 // decode mapping 1692 UInt uiNumDepthValues; 1693 // parse number of values in DLT 1694 xReadUvlc( uiNumDepthValues ); 1695 1696 // parse actual DLT values 1697 UInt* auiIdx2DepthValue = (UInt*) calloc(uiNumDepthValues, sizeof(UInt)); 1698 for(UInt d=0; d<uiNumDepthValues; d++) 1699 { 1700 xReadUvlc( uiCode ); 1701 auiIdx2DepthValue[d] = uiCode; 1702 } 1703 1704 pcSPS->setDepthLUTs(auiIdx2DepthValue, uiNumDepthValues); 1705 1706 // clean memory 1707 free(auiIdx2DepthValue); 1708 } 1709 else 1710 pcSPS->setDepthLUTs(); 1711 } 1712 #endif 1713 1714 READ_FLAG( uiCode, "base_view_flag" ); 1678 1715 if( uiCode ) 1679 1716 { // baseview SPS -> set standard values … … 1803 1840 UInt address; 1804 1841 UInt innerAddress = 0; 1842 1843 #if LGE_ILLUCOMP_B0045 1844 // IC flag is on only first_slice_in_pic 1845 if (uiCode) 1846 { 1847 UInt uiCodeTmp = 0; 1848 if ( rpcSlice->getSPS()->getViewId() && !rpcSlice->getSPS()->isDepth() ) 1849 { 1850 READ_FLAG (uiCodeTmp, "applying IC flag"); 1851 } 1852 rpcSlice->setApplyIC(uiCodeTmp); 1853 } 1854 #endif 1855 1805 1856 if(!uiCode) 1806 1857 { … … 2601 2652 } 2602 2653 2654 #if LGE_ILLUCOMP_B0045 2655 Void TDecCavlc::parseICFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2656 { 2657 assert(0); 2658 } 2659 #endif 2660 2603 2661 #if HHI_INTER_VIEW_MOTION_PRED 2604 2662 Void TDecCavlc::parseMVPIdx( Int& riMVPIdx, Int iAMVPCands ) … … 2801 2859 Void 2802 2860 TDecCavlc::parseResPredFlag( TComDataCU* pcCU, Bool& rbResPredFlag, UInt uiAbsPartIdx, UInt uiDepth ) 2861 { 2862 assert(0); 2863 } 2864 #endif 2865 2866 #if RWTH_SDC_DLT_B0036 2867 Void TDecCavlc::parseSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2868 { 2869 assert(0); 2870 } 2871 Void TDecCavlc::parseSDCPredMode ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2872 { 2873 assert(0); 2874 } 2875 Void TDecCavlc::parseSDCResidualData ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPart ) 2803 2876 { 2804 2877 assert(0);
Note: See TracChangeset for help on using the changeset viewer.