Changeset 663 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibEncoder
- Timestamp:
- 10 Apr 2014, 02:39:09 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r662 r663 1072 1072 1073 1073 #if REPN_FORMAT_IN_VPS 1074 #if Q0195_REP_FORMAT_CLEANUP 1074 #if Q0195_REP_FORMAT_CLEANUP 1075 // The value of vps_num_rep_formats_minus1 shall be in the range of 0 to 255, inclusive. 1076 assert( vps->getVpsNumRepFormats() > 0 && vps->getVpsNumRepFormats() <= 256 ); 1077 1075 1078 WRITE_UVLC( vps->getVpsNumRepFormats() - 1, "vps_num_rep_formats_minus1" ); 1079 1076 1080 for(i = 0; i < vps->getVpsNumRepFormats(); i++) 1077 1081 { … … 1080 1084 } 1081 1085 1082 if ( vps->getVpsNumRepFormats() > 1 ) 1086 if( vps->getVpsNumRepFormats() > 1 ) 1087 { 1083 1088 WRITE_FLAG( vps->getRepFormatIdxPresentFlag(), "rep_format_idx_present_flag"); 1089 } 1090 else 1091 { 1092 // When not present, the value of rep_format_idx_present_flag is inferred to be equal to 0 1093 assert( !vps->getRepFormatIdxPresentFlag() ); 1094 } 1084 1095 1085 1096 if( vps->getRepFormatIdxPresentFlag() )
Note: See TracChangeset for help on using the changeset viewer.