Changeset 570 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 28 Jan 2014, 05:08:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r568 r570 1247 1247 } 1248 1248 #endif 1249 #if VPS_VUI_VIDEO_SIGNAL_MOVE 1250 WRITE_FLAG( vps->getVideoSigPresentVpsFlag(), "video_signal_info_idx_present_flag" ); 1251 if (vps->getVideoSigPresentVpsFlag()) 1252 { 1253 WRITE_CODE(vps->getNumVideoSignalInfo()-1, 4, "vps_num_video_signal_info_minus1" ); 1254 } 1255 1256 for(i = 0; i < vps->getNumVideoSignalInfo(); i++) 1257 { 1258 WRITE_CODE(vps->getVideoVPSFormat(i), 3, "video_vps_format" ); 1259 WRITE_FLAG(vps->getVideoFullRangeVpsFlag(i), "video_full_range_vps_flag" ); 1260 WRITE_CODE(vps->getColorPrimaries(i), 8, "color_primaries_vps" ); 1261 WRITE_CODE(vps->getTransCharacter(i), 8, "transfer_characteristics_vps" ); 1262 WRITE_CODE(vps->getMaxtrixCoeff(i), 8, "matrix_coeffs_vps" ); 1263 } 1264 1265 if (vps->getVideoSigPresentVpsFlag() && vps->getNumVideoSignalInfo() > 1 ) 1266 { 1267 for (i=1; i < vps->getMaxLayers(); i++) 1268 WRITE_CODE(vps->getVideoSignalInfoIdx(i), 4, "vps_video_signal_info_idx" ); 1269 } 1270 #endif 1249 1271 #if VPS_VUI_TILES_NOT_IN_USE__FLAG 1250 1272 UInt layerIdx; … … 1323 1345 #endif 1324 1346 #if VPS_VUI_VIDEO_SIGNAL 1347 #if VPS_VUI_VIDEO_SIGNAL_MOVE 1348 #else 1325 1349 WRITE_FLAG( vps->getVideoSigPresentVpsFlag(), "video_signal_info_idx_present_flag" ); 1326 1350 if (vps->getVideoSigPresentVpsFlag()) … … 1343 1367 WRITE_CODE(vps->getVideoSignalInfoIdx(i), 4, "vps_video_signal_info_idx" ); 1344 1368 } 1369 #endif 1345 1370 #endif 1346 1371 }
Note: See TracChangeset for help on using the changeset viewer.