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


Ignore:
Timestamp:
25 Apr 2014, 12:38:00 (10 years ago)
Author:
tech
Message:

Merged 10.2-dev0@949.

File:
1 edited

Legend:

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

    r884 r950  
    440440
    441441            READ_FLAG(uiCode, "inter_view_dlt_pred_enable_flag[ i ]");
     442
     443#if  MTK_DLT_CODING_FIX_H0091
     444            if( uiCode )
     445            {
     446                assert( pcDLT->getUseDLTFlag( 1 ));
     447            }
     448#endif
     449
    442450            pcDLT->setInterViewDltPredEnableFlag( i, (uiCode == 1) ? true : false );
    443451
     
    17511759#if H_3D_IV_MERGE
    17521760        READ_FLAG( uiCode, "iv_mv_pred_flag[i]");          pcVPS->setIvMvPredFlag         ( i, uiCode == 1 ? true : false );
     1761#if QC_IV_PRED_CONSTRAINT_H0137
     1762        if( !pcVPS->getNumDirectRefLayers(i) )
     1763        {
     1764          assert( !uiCode );         
     1765        }
     1766#endif
    17531767#if H_3D_SPIVMP
    17541768        READ_UVLC (uiCode, "log2_sub_PU_size_minus3[i]");     pcVPS->setSubPULog2Size(i, uiCode+3);
     
    17571771#if H_3D_ARP
    17581772        READ_FLAG( uiCode, "iv_res_pred_flag[i]"  );       pcVPS->setUseAdvRP  ( i, uiCode ); pcVPS->setARPStepNum( i, uiCode ? H_3D_ARP_WFNR : 1 );
    1759 
     1773#if QC_IV_PRED_CONSTRAINT_H0137
     1774        if( !pcVPS->getNumDirectRefLayers(i) )
     1775        {
     1776          assert( !uiCode );         
     1777        }
     1778#endif
    17601779#endif
    17611780#if H_3D_NBDV_REF
     
    17641783#if H_3D_VSP
    17651784        READ_FLAG( uiCode, "view_synthesis_pred_flag[i]"); pcVPS->setViewSynthesisPredFlag( i, uiCode == 1 ? true : false );
     1785#if QC_IV_PRED_CONSTRAINT_H0137
     1786        if( !pcVPS->getNumDirectRefLayers(i) )
     1787        {
     1788          assert( !uiCode );         
     1789        }
     1790#endif
    17661791#endif
    17671792#if H_3D_DBBP
     
    17751800        {
    17761801          READ_FLAG( uiCode, "iv_mv_pred_flag[i]");          pcVPS->setIvMvPredFlag         ( i, uiCode == 1 ? true : false );
     1802#if QC_IV_PRED_CONSTRAINT_H0137
     1803          if( !pcVPS->getNumDirectRefLayers(i) )
     1804          {
     1805            assert( !uiCode );         
     1806          }
     1807#endif
    17771808        }
    17781809#endif
Note: See TracChangeset for help on using the changeset viewer.