Changeset 578 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 29 Jan 2014, 02:28:07 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r577 r578 1075 1075 #endif 1076 1076 #if VPS_DPB_SIZE_TABLE 1077 for(i = 1; i < vps->getNumOutputLayerSets(); i++) 1078 { 1079 WRITE_FLAG( vps->getSubLayerFlagInfoPresentFlag( i ), "sub_layer_flag_info_present_flag[i]"); 1080 for(j = 0; j < vps->getMaxTLayers(); j++) 1081 { 1082 if( j > 0 && vps->getSubLayerFlagInfoPresentFlag(i) ) 1083 { 1084 WRITE_FLAG( vps->getSubLayerDpbInfoPresentFlag( i, j), "sub_layer_dpb_info_present_flag[i]"); 1085 } 1086 if( vps->getSubLayerDpbInfoPresentFlag(i, j) ) 1087 { 1088 for(Int k = 0; k < vps->getNumSubDpbs(i); k++) 1089 { 1090 WRITE_UVLC( vps->getMaxVpsDecPicBufferingMinus1( i, k, j), "max_vps_dec_pic_buffering_minus1[i][k][j]" ); 1091 } 1092 WRITE_UVLC( vps->getMaxVpsNumReorderPics( i, j), "max_vps_num_reorder_pics[i][j]" ); 1093 WRITE_UVLC( vps->getMaxVpsLatencyIncreasePlus1( i, j), "max_vps_latency_increase_plus1[i][j]" ); 1094 } 1095 } 1096 } 1077 codeVpsDpbSizeTable(vps); 1097 1078 #endif 1098 1079 #if VPS_EXTN_DIRECT_REF_LAYERS … … 1230 1211 #endif 1231 1212 1213 } 1214 #endif 1215 #if VPS_DPB_SIZE_TABLE 1216 Void TEncCavlc::codeVpsDpbSizeTable(TComVPS *vps) 1217 { 1218 for(Int i = 1; i < vps->getNumOutputLayerSets(); i++) 1219 { 1220 WRITE_FLAG( vps->getSubLayerFlagInfoPresentFlag( i ), "sub_layer_flag_info_present_flag[i]"); 1221 for(Int j = 0; j < vps->getMaxTLayers(); j++) 1222 { 1223 if( j > 0 && vps->getSubLayerFlagInfoPresentFlag(i) ) 1224 { 1225 WRITE_FLAG( vps->getSubLayerDpbInfoPresentFlag( i, j), "sub_layer_dpb_info_present_flag[i]"); 1226 } 1227 if( vps->getSubLayerDpbInfoPresentFlag(i, j) ) 1228 { 1229 for(Int k = 0; k < vps->getNumSubDpbs(i); k++) 1230 { 1231 WRITE_UVLC( vps->getMaxVpsDecPicBufferingMinus1( i, k, j), "max_vps_dec_pic_buffering_minus1[i][k][j]" ); 1232 } 1233 WRITE_UVLC( vps->getMaxVpsNumReorderPics( i, j), "max_vps_num_reorder_pics[i][j]" ); 1234 WRITE_UVLC( vps->getMaxVpsLatencyIncreasePlus1( i, j), "max_vps_latency_increase_plus1[i][j]" ); 1235 } 1236 } 1237 } 1232 1238 } 1233 1239 #endif -
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncCavlc.h
r556 r578 98 98 Void codeRepFormat ( RepFormat *repFormat ); 99 99 #endif 100 #if VPS_DPB_SIZE_TABLE 101 Void codeVpsDpbSizeTable (TComVPS *vps); 102 #endif 100 103 Void codeVUI ( TComVUI *pcVUI, TComSPS* pcSPS ); 101 104 Void codeSPS ( TComSPS* pcSPS );
Note: See TracChangeset for help on using the changeset viewer.