Changeset 385 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibEncoder
- Timestamp:
- 6 Sep 2013, 03:13:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r384 r385 914 914 { 915 915 Int i,j; 916 #if VPS_VUI_BITRATE_PICRATE 917 WRITE_FLAG( vps->getBitRatePresentVpsFlag(), "bit_rate_present_vps_flag" ); 918 WRITE_FLAG( vps->getPicRatePresentVpsFlag(), "pic_rate_present_vps_flag" ); 919 920 if( vps->getBitRatePresentVpsFlag() || vps->getPicRatePresentVpsFlag() ) 921 { 922 for( i = 0; i < vps->getNumLayerSets(); i++ ) 923 { 924 for( j = 0; j < vps->getMaxTLayers(); j++ ) 925 { 926 if( vps->getBitRatePresentVpsFlag() ) 927 { 928 WRITE_FLAG( vps->getBitRatePresentFlag( i, j), "bit_rate_present_vps_flag[i][j]" ); 929 } 930 if( vps->getPicRatePresentVpsFlag() ) 931 { 932 WRITE_FLAG( vps->getPicRatePresentFlag( i, j), "pic_rate_present_vps_flag[i][j]" ); 933 } 934 if( vps->getBitRatePresentFlag(i, j) ) 935 { 936 WRITE_CODE( vps->getAvgBitRate( i, j ), 16, "avg_bit_rate[i][j]" ); 937 WRITE_CODE( vps->getAvgBitRate( i, j ), 16, "max_bit_rate[i][j]" ); 938 } 939 if( vps->getPicRatePresentFlag(i, j) ) 940 { 941 WRITE_CODE( vps->getConstPicRateIdc( i, j), 2 , "constant_pic_rate_idc[i][j]" ); 942 WRITE_CODE( vps->getConstPicRateIdc( i, j), 16, "avg_pic_rate[i][j]" ); 943 } 944 } 945 } 946 } 947 #endif 916 948 #if N0160_TILE_BOUNDARY_ALIGNED_FLAG 917 949 for(i = 1; i < vps->getMaxLayers(); i++)
Note: See TracChangeset for help on using the changeset viewer.