Changeset 635 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibEncoder
- Timestamp:
- 17 Mar 2014, 22:45:53 (12 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
-
TEncCavlc.cpp (modified) (4 diffs)
-
TEncGOP.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r633 r635 1524 1524 { 1525 1525 WRITE_UVLC( vps->getVpsNumBspHrdParametersMinus1(), "vps_num_bsp_hrd_parameters_minus1" ); 1526 for (UInt i = 0; i <= vps->getVpsNumBspHrdParametersMinus1(); i++)1527 { 1528 if (i > 0)1526 for( i = 0; i <= vps->getVpsNumBspHrdParametersMinus1(); i++ ) 1527 { 1528 if( i > 0 ) 1529 1529 { 1530 1530 WRITE_FLAG( vps->getBspCprmsPresentFlag(i), "bsp_cprms_present_flag[i]" ); … … 1532 1532 codeHrdParameters(vps->getBspHrd(i), i==0 ? 1 : vps->getBspCprmsPresentFlag(i), vps->getMaxTLayers()-1); 1533 1533 } 1534 for (UInt h = 1; h <= (vps->getNumLayerSets()-1); h++)1534 for( UInt h = 1; h <= (vps->getNumLayerSets()-1); h++ ) 1535 1535 { 1536 1536 WRITE_UVLC( vps->getNumBitstreamPartitions(h), "num_bitstream_partitions[i]"); 1537 for (UInt i = 0; i < vps->getNumBitstreamPartitions(h); i++)1538 { 1539 for (UInt j = 0; j <= (vps->getMaxLayers()-1); j++)1537 for( i = 0; i < vps->getNumBitstreamPartitions(h); i++ ) 1538 { 1539 for( j = 0; j <= (vps->getMaxLayers()-1); j++ ) 1540 1540 { 1541 1541 if (vps->getLayerIdIncludedFlag(h, j)) … … 1548 1548 { 1549 1549 WRITE_UVLC( vps->getNumBspSchedCombinations(h), "num_bsp_sched_combinations[h]"); 1550 for (UInt i = 0; i < vps->getNumBspSchedCombinations(h); i++)1550 for( i = 0; i < vps->getNumBspSchedCombinations(h); i++ ) 1551 1551 { 1552 for (UInt j = 0; j < vps->getNumBitstreamPartitions(h); j++)1552 for( j = 0; j < vps->getNumBitstreamPartitions(h); j++ ) 1553 1553 { 1554 1554 WRITE_UVLC( vps->getBspCombHrdIdx(h, i, j), "bsp_comb_hrd_idx[h][i][j]"); … … 2240 2240 if( slice->getPocMsbValPresentFlag() ) 2241 2241 { 2242 Int iMaxPOClsb = 1<< slice->getSPS()->getBitsForPOC();2243 2244 2242 UInt lengthVal = 1; 2245 2243 UInt tempVal = slice->getPocMsbVal() + 1; -
branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r633 r635 1753 1753 if (pcSlice->getLayerId() == 0 && m_pcEncTop->getVPS()->getVpsVuiBspHrdPresentFlag()) 1754 1754 { 1755 OutputNALUnit nalu(NAL_UNIT_PREFIX_SEI, 0, 1);1755 nalu = NALUnit(NAL_UNIT_PREFIX_SEI, 0, 1); 1756 1756 m_pcEntropyCoder->setEntropyCoder(m_pcCavlcCoder, pcSlice); 1757 1757 m_pcEntropyCoder->setBitstream(&nalu.m_Bitstream);
Note: See TracChangeset for help on using the changeset viewer.