Changeset 635 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib
- Timestamp:
- 17 Mar 2014, 22:45:53 (11 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibCommon/TComPrediction.cpp
r595 r635 768 768 #if O0215_PHASE_ALIGNMENT 769 769 #if O0194_JOINT_US_BITSHIFT 770 Void TComPrediction::upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, bool phaseAlignFlag )770 Void TComPrediction::upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ) 771 771 { 772 772 m_cUsf.upsampleBasePic( currSlice, refLayerIdc, pcUsPic, pcBasePic, pcTempPic, window, phaseAlignFlag ); 773 773 } 774 774 #else 775 Void TComPrediction::upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, bool phaseAlignFlag )775 Void TComPrediction::upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ) 776 776 { 777 777 m_cUsf.upsampleBasePic( refLayerIdc, pcUsPic, pcBasePic, pcTempPic, window, phaseAlignFlag ); -
branches/SHM-5.1-dev/source/Lib/TLibCommon/TComPrediction.h
r595 r635 49 49 50 50 #if SVC_UPSAMPLING 51 #include "TComDataCU.h"52 51 #include "TComUpsampleFilter.h" 53 52 #endif … … 122 121 #if O0215_PHASE_ALIGNMENT 123 122 #if O0194_JOINT_US_BITSHIFT 124 Void upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, bool phaseAlignFlag );123 Void upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ); 125 124 #else 126 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, bool phaseAlignFlag );125 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ); 127 126 #endif 128 127 #else -
branches/SHM-5.1-dev/source/Lib/TLibCommon/TComRom.h
r634 r635 273 273 #if SVC_EXTENSION 274 274 #if FAST_INTRA_SHVC 275 extern UIntg_reducedSetIntraModes[NUM_INTRA_MODE-1];276 extern UIntg_predefSetIntraModes[NUM_INTRA_MODE-1];275 extern UInt g_reducedSetIntraModes[NUM_INTRA_MODE-1]; 276 extern UInt g_predefSetIntraModes[NUM_INTRA_MODE-1]; 277 277 #endif 278 278 extern Int g_mvScalingFactor [MAX_LAYERS][2]; -
branches/SHM-5.1-dev/source/Lib/TLibCommon/TComUpsampleFilter.h
r494 r635 45 45 #if O0215_PHASE_ALIGNMENT 46 46 #if O0194_JOINT_US_BITSHIFT 47 Void upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, bool phaseAlignFlag );47 Void upsampleBasePic( TComSlice* currSlice, UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ); 48 48 #else 49 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, bool phaseAlignFlag );49 Void upsampleBasePic( UInt refLayerIdc, TComPicYuv* pcUsPic, TComPicYuv* pcBasePic, TComPicYuv* pcTempPic, const Window window, Bool phaseAlignFlag ); 50 50 #endif 51 51 #else -
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); -
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.