Changeset 763 in 3DVCSoftware for branches/HTM-9.2-dev0/source


Ignore:
Timestamp:
7 Jan 2014, 22:17:31 (11 years ago)
Author:
zhang
Message:

Bug fix for one PPS to handle frame-dependent camera parameters

File:
1 edited

Legend:

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

    r762 r763  
    273273  WRITE_FLAG( pcPPS->getListsModificationPresentFlag(), "lists_modification_present_flag");
    274274  WRITE_UVLC( pcPPS->getLog2ParallelMergeLevelMinus2(), "log2_parallel_merge_level_minus2");
     275#if PPS_FIX_DEPTH
     276  if( pcPPS->getSPS()->getVPS()->getDepthId(pcPPS->getSPS()->getLayerId()) )
     277  {
     278    WRITE_FLAG( 1, "slice_segment_header_extension_present_flag" );
     279  }
     280  else
     281#endif
    275282  WRITE_FLAG( pcPPS->getSliceHeaderExtensionPresentFlag() ? 1 : 0, "slice_segment_header_extension_present_flag");
    276283
     
    22142221#endif
    22152222
     2223#if PPS_FIX_DEPTH
     2224  if(pcSlice->getPPS()->getSliceHeaderExtensionPresentFlag() || pcSlice->getIsDepth() )
     2225#else
    22162226  if(pcSlice->getPPS()->getSliceHeaderExtensionPresentFlag())
     2227#endif
    22172228  {
    22182229#if !H_3D || CAM_HLS_F0044
Note: See TracChangeset for help on using the changeset viewer.