Ignore:
Timestamp:
12 Jan 2014, 04:39:11 (10 years ago)
Author:
tech
Message:

Cleanup part 4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.2-dev0/source/Lib/TLibEncoder/TEncSbac.cpp

    r764 r767  
    538538
    539539#if H_3D_DIM_DLT
    540 #if DLT_DIFF_CODING_IN_PPS
    541540  UInt uiMaxResidualBits = pcCU->getSlice()->getPPS()->getDLT()->getBitsPerDepthValue( pcCU->getSlice()->getLayerIdInVps() );
    542 #else
    543   UInt uiMaxResidualBits = pcCU->getSlice()->getVPS()->getBitsPerDepthValue( pcCU->getSlice()->getLayerIdInVps() );
    544 #endif
    545541#else
    546542  UInt uiMaxResidualBits = g_bitDepthY;
     
    561557    DTRACE_CU("sdc_residual_sign_flag[i]", uiSign)
    562558#endif
    563    
    564 #if H_3D_DIM_DLT
    565 #if DLT_DIFF_CODING_IN_PPS
    566       UInt uiNumDepthValues = pcCU->getSlice()->getPPS()->getDLT()->getNumDepthValues( pcCU->getSlice()->getLayerIdInVps() );
    567 #else
    568       UInt uiNumDepthValues = pcCU->getSlice()->getVPS()->getNumDepthValues( pcCU->getSlice()->getLayerIdInVps() );
    569 #endif
     559#if H_3D_DIM_DLT   
     560    UInt uiNumDepthValues = pcCU->getSlice()->getPPS()->getDLT()->getNumDepthValues( pcCU->getSlice()->getLayerIdInVps() );
    570561#else
    571562    UInt uiNumDepthValues = ((1 << g_bitDepthY)-1);
    572563#endif
     564
    573565    assert(uiAbsIdx <= uiNumDepthValues);
    574566   
Note: See TracChangeset for help on using the changeset viewer.