Changeset 1250 in SHVCSoftware


Ignore:
Timestamp:
14 Jul 2015, 01:32:38 (9 years ago)
Author:
seregin
Message:

port rev 4244

File:
1 edited

Legend:

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

    r1246 r1250  
    291291              for (Int chromaQpAdjustmentIndex = 1; chromaQpAdjustmentIndex <= pcPPS->getChromaQpAdjTableSize(); chromaQpAdjustmentIndex++)
    292292              {
    293                 WRITE_SVLC(pcPPS->getChromaQpAdjTableAt(chromaQpAdjustmentIndex).u.comp.CbOffset,     "cb_qp_adjustnemt[i]");
    294                 WRITE_SVLC(pcPPS->getChromaQpAdjTableAt(chromaQpAdjustmentIndex).u.comp.CrOffset,     "cr_qp_adjustnemt[i]");
     293                WRITE_SVLC(pcPPS->getChromaQpAdjTableAt(chromaQpAdjustmentIndex).u.comp.CbOffset,     "cb_qp_adjustment[i]");
     294                WRITE_SVLC(pcPPS->getChromaQpAdjTableAt(chromaQpAdjustmentIndex).u.comp.CrOffset,     "cr_qp_adjustment[i]");
    295295              }
    296296            }
     
    833833    }
    834834  }
    835 
    836835  const TimingInfo *timingInfo = pcVPS->getTimingInfo();
    837836  WRITE_FLAG(timingInfo->getTimingInfoPresentFlag(),          "vps_timing_info_present_flag");
     
    883882#endif 
    884883  //future extensions here..
    885  
     884
    886885  return;
    887886}
     
    10581057        numLtrpInSH -= numLtrpInSPS;
    10591058        // check that either all long-term pictures are coded in SPS or in slice header (no mixing)
    1060         assert (numLtrpInSH==0 || numLtrpInSPS==0);
     1059        assert (numLtrpInSH==0 || numLtrpInSPS==0); 
    10611060
    10621061        Int bitsForLtrpInSPS = 0;
     
    11181117      if (pcSlice->getSPS()->getTMVPFlagsPresent())
    11191118      {
    1120         WRITE_FLAG( pcSlice->getEnableTMVPFlag() ? 1 : 0, "slice_temporal_mvp_enabled_flag" );
     1119        WRITE_FLAG( pcSlice->getEnableTMVPFlag() ? 1 : 0, "slice_temporal_mvp_enable_flag" );
    11211120      }
    11221121    }
     
    13181317    }
    13191318  }
     1319#if !SVC_EXTENSION
     1320  if(pcSlice->getPPS()->getSliceHeaderExtensionPresentFlag())
     1321  {
     1322    WRITE_UVLC(0,"slice_header_extension_length");
     1323  }
     1324#endif
    13201325}
    13211326
Note: See TracChangeset for help on using the changeset viewer.