Changeset 479 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
15 Nov 2013, 22:47:32 (11 years ago)
Author:
seregin
Message:

signal poc_lsb_not_present_flag for each layer in VPS extension (JCTVC-O0062) with macro O0062_POC_LSB_NOT_PRESENT_FLAG, patch was provided by Takeshi Tsukuba <tsukuba.takeshi@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r477 r479  
    989989#if JCTVC_M0458_INTERLAYER_RPS_SIG
    990990      WRITE_FLAG(vps->getMaxOneActiveRefLayerFlag(), "max_one_active_ref_layer_flag");
    991 #endif
     991#endif
     992#if O0062_POC_LSB_NOT_PRESENT_FLAG
     993  for(i = 1; i< vps->getMaxLayers(); i++)
     994  {
     995    if( vps->getNumDirectRefLayers( vps->getLayerIdInNuh(i) ) == 0  )
     996    {
     997      WRITE_FLAG(vps->getPocLsbNotPresentFlag(i), "poc_lsb_not_present_flag[i]");
     998    }
     999  }
     1000#endif
    9921001#if O0215_PHASE_ALIGNMENT
    993   WRITE_FLAG(vps->getPhaseAlignFlag(), "phase_align_flag" );
     1002  WRITE_FLAG(vps->getPhaseAlignFlag(), "cross_layer_phase_alignment_flag" );
    9941003#endif
    9951004#if N0147_IRAP_ALIGN_FLAG
    996       WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag");
     1005  WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag");
    9971006#endif
    9981007#if VPS_EXTN_DIRECT_REF_LAYERS && M0457_PREDICTION_INDICATIONS
     
    12341243
    12351244#if N0065_LAYER_POC_ALIGNMENT
     1245#if O0062_POC_LSB_NOT_PRESENT_FLAG
     1246    if( (pcSlice->getLayerId() > 0 && !pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdInVps(pcSlice->getLayerId())) ) || !pcSlice->getIdrPicFlag())
     1247#else
    12361248    if( pcSlice->getLayerId() > 0 || !pcSlice->getIdrPicFlag() )
     1249#endif
    12371250#else
    12381251    if( !pcSlice->getIdrPicFlag() )
Note: See TracChangeset for help on using the changeset viewer.