Ignore:
Timestamp:
14 Apr 2014, 08:28:02 (10 years ago)
Author:
qualcomm
Message:

Integration of H0137

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.2-dev3-Qualcomm/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r884 r915  
    17511751#if H_3D_IV_MERGE
    17521752        READ_FLAG( uiCode, "iv_mv_pred_flag[i]");          pcVPS->setIvMvPredFlag         ( i, uiCode == 1 ? true : false );
     1753#if QC_IV_PRED_CONSTRAINT_H0137
     1754        if( !pcVPS->getNumDirectRefLayers(i) )
     1755        {
     1756          assert( !uiCode );         
     1757        }
     1758#endif
    17531759#if H_3D_SPIVMP
    17541760        READ_UVLC (uiCode, "log2_sub_PU_size_minus3[i]");     pcVPS->setSubPULog2Size(i, uiCode+3);
     
    17571763#if H_3D_ARP
    17581764        READ_FLAG( uiCode, "iv_res_pred_flag[i]"  );       pcVPS->setUseAdvRP  ( i, uiCode ); pcVPS->setARPStepNum( i, uiCode ? H_3D_ARP_WFNR : 1 );
    1759 
     1765#if QC_IV_PRED_CONSTRAINT_H0137
     1766        if( !pcVPS->getNumDirectRefLayers(i) )
     1767        {
     1768          assert( !uiCode );         
     1769        }
     1770#endif
    17601771#endif
    17611772#if H_3D_NBDV_REF
     
    17641775#if H_3D_VSP
    17651776        READ_FLAG( uiCode, "view_synthesis_pred_flag[i]"); pcVPS->setViewSynthesisPredFlag( i, uiCode == 1 ? true : false );
     1777#if QC_IV_PRED_CONSTRAINT_H0137
     1778        if( !pcVPS->getNumDirectRefLayers(i) )
     1779        {
     1780          assert( !uiCode );         
     1781        }
     1782#endif
    17661783#endif
    17671784#if H_3D_DBBP
     
    17751792        {
    17761793          READ_FLAG( uiCode, "iv_mv_pred_flag[i]");          pcVPS->setIvMvPredFlag         ( i, uiCode == 1 ? true : false );
     1794#if QC_IV_PRED_CONSTRAINT_H0137
     1795          if( !pcVPS->getNumDirectRefLayers(i) )
     1796          {
     1797            assert( !uiCode );         
     1798          }
     1799#endif
    17771800        }
    17781801#endif
Note: See TracChangeset for help on using the changeset viewer.