Changeset 635 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 17 Mar 2014, 22:45:53 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r633 r635 2027 2027 READ_UVLC( uiCode, "vps_num_bsp_hrd_parameters_minus1" ); vps->setVpsNumBspHrdParametersMinus1(uiCode); 2028 2028 vps->createBspHrdParamBuffer(vps->getVpsNumBspHrdParametersMinus1() + 1); 2029 for (UInt i = 0; i <= vps->getVpsNumBspHrdParametersMinus1(); i++)2030 { 2031 if (i > 0)2029 for( i = 0; i <= vps->getVpsNumBspHrdParametersMinus1(); i++ ) 2030 { 2031 if( i > 0 ) 2032 2032 { 2033 2033 READ_FLAG( uiCode, "bsp_cprms_present_flag[i]" ); vps->setBspCprmsPresentFlag(i, uiCode); … … 2035 2035 parseHrdParameters(vps->getBspHrd(i), i==0 ? 1 : vps->getBspCprmsPresentFlag(i), vps->getMaxTLayers()-1); 2036 2036 } 2037 for (UInt h = 1; h <= (vps->getNumLayerSets()-1); h++)2037 for( UInt h = 1; h <= (vps->getNumLayerSets()-1); h++ ) 2038 2038 { 2039 2039 READ_UVLC( uiCode, "num_bitstream_partitions[i]"); vps->setNumBitstreamPartitions(h, uiCode); 2040 for (UInt i = 0; i < vps->getNumBitstreamPartitions(h); i++)2041 { 2042 for (UInt j = 0; j <= (vps->getMaxLayers()-1); j++)2040 for( i = 0; i < vps->getNumBitstreamPartitions(h); i++ ) 2041 { 2042 for( j = 0; j <= (vps->getMaxLayers()-1); j++ ) 2043 2043 { 2044 if (vps->getLayerIdIncludedFlag(h, j))2044 if( vps->getLayerIdIncludedFlag(h, j) ) 2045 2045 { 2046 2046 READ_FLAG( uiCode, "layer_in_bsp_flag[h][i][j]" ); vps->setLayerInBspFlag(h, i, j, uiCode); … … 2051 2051 { 2052 2052 READ_UVLC( uiCode, "num_bsp_sched_combinations[h]"); vps->setNumBspSchedCombinations(h, uiCode); 2053 for (UInt i = 0; i < vps->getNumBspSchedCombinations(h); i++)2053 for( i = 0; i < vps->getNumBspSchedCombinations(h); i++ ) 2054 2054 { 2055 for (UInt j = 0; j < vps->getNumBitstreamPartitions(h); j++)2055 for( j = 0; j < vps->getNumBitstreamPartitions(h); j++ ) 2056 2056 { 2057 2057 READ_UVLC( uiCode, "bsp_comb_hrd_idx[h][i][j]"); vps->setBspCombHrdIdx(h, i, j, uiCode);
Note: See TracChangeset for help on using the changeset viewer.