Changeset 1250 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 14 Jul 2015, 01:32:38 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1246 r1250 291 291 for (Int chromaQpAdjustmentIndex = 1; chromaQpAdjustmentIndex <= pcPPS->getChromaQpAdjTableSize(); chromaQpAdjustmentIndex++) 292 292 { 293 WRITE_SVLC(pcPPS->getChromaQpAdjTableAt(chromaQpAdjustmentIndex).u.comp.CbOffset, "cb_qp_adjust nemt[i]");294 WRITE_SVLC(pcPPS->getChromaQpAdjTableAt(chromaQpAdjustmentIndex).u.comp.CrOffset, "cr_qp_adjust nemt[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]"); 295 295 } 296 296 } … … 833 833 } 834 834 } 835 836 835 const TimingInfo *timingInfo = pcVPS->getTimingInfo(); 837 836 WRITE_FLAG(timingInfo->getTimingInfoPresentFlag(), "vps_timing_info_present_flag"); … … 883 882 #endif 884 883 //future extensions here.. 885 884 886 885 return; 887 886 } … … 1058 1057 numLtrpInSH -= numLtrpInSPS; 1059 1058 // 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); 1061 1060 1062 1061 Int bitsForLtrpInSPS = 0; … … 1118 1117 if (pcSlice->getSPS()->getTMVPFlagsPresent()) 1119 1118 { 1120 WRITE_FLAG( pcSlice->getEnableTMVPFlag() ? 1 : 0, "slice_temporal_mvp_enable d_flag" );1119 WRITE_FLAG( pcSlice->getEnableTMVPFlag() ? 1 : 0, "slice_temporal_mvp_enable_flag" ); 1121 1120 } 1122 1121 } … … 1318 1317 } 1319 1318 } 1319 #if !SVC_EXTENSION 1320 if(pcSlice->getPPS()->getSliceHeaderExtensionPresentFlag()) 1321 { 1322 WRITE_UVLC(0,"slice_header_extension_length"); 1323 } 1324 #endif 1320 1325 } 1321 1326
Note: See TracChangeset for help on using the changeset viewer.