Changeset 6 in SHVCSoftware for trunk/source
- Timestamp:
- 8 Nov 2012, 20:54:05 (12 years ago)
- Location:
- trunk/source
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppDecoder/TAppDecTop.cpp
r2 r6 168 168 streampos location = bitstreamFile.tellg(); 169 169 AnnexBStats stats = AnnexBStats(); 170 bool bPreviousPictureDecoded = false;171 170 172 171 vector<uint8_t> nalUnit; … … 212 211 bytestream.reset(); 213 212 } 214 bPreviousPictureDecoded = true;215 213 } 216 214 } -
trunk/source/Lib/TLibCommon/CommonDef.h
r2 r6 56 56 // ==================================================================================================================== 57 57 58 #define NV_VERSION "0.1 " ///< Current software version58 #define NV_VERSION "0.1.1" ///< Current software version 59 59 60 60 // ==================================================================================================================== -
trunk/source/Lib/TLibCommon/TComPic.cpp
r2 r6 68 68 , m_bSpatialEnhLayer( false ) 69 69 , m_pcFullPelBaseRec( NULL ) 70 #if REF_IDX_ME_AROUND_ZEROMV 71 , m_bIsILR (false) 72 #endif 70 73 #endif 71 74 { -
trunk/source/Lib/TLibCommon/TComPic.h
r2 r6 61 61 #if SVC_EXTENSION 62 62 UInt m_layerId; // Layer ID 63 #endif64 #if REF_IDX_ME_AROUND_ZEROMV65 Bool m_bIsILR; // Is ILR picture66 63 #endif 67 64 Bool m_bUsedByCurr; // Used by current picture … … 91 88 Bool m_bSpatialEnhLayer; // whether current layer is a spatial enhancement layer, 92 89 TComPicYuv* m_pcFullPelBaseRec; // upsampled base layer recontruction for difference domain inter prediction 90 #if REF_IDX_ME_AROUND_ZEROMV 91 Bool m_bIsILR; // Is ILR picture 92 #endif 93 93 #endif 94 94 -
trunk/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r2 r6 3 3 #include "TypeDef.h" 4 4 5 #if SVC_ EXTENSION5 #if SVC_UPSAMPLING 6 6 // ==================================================================================================================== 7 7 // Tables: -
trunk/source/Lib/TLibDecoder/TDecTop.cpp
r2 r6 159 159 m_cIlpPic[j] = new TComPic; 160 160 //m_cIlpPic[j]->createWithOutYuv(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, &m_cSPS, true); 161 #if SVC_UPSAMPLING 161 162 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, pcSPS, true); 163 #else 164 m_cIlpPic[j]->create(pcSPS->getPicWidthInLumaSamples(), pcSPS->getPicHeightInLumaSamples(), g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, true); 165 #endif 162 166 for (Int i=0; i<m_cIlpPic[j]->getPicSym()->getNumberOfCUsInFrame(); i++) 163 167 { -
trunk/source/Lib/TLibEncoder/TEncEntropy.cpp
r2 r6 237 237 } 238 238 239 #if INTRA_BL 240 if( pcCU->isIntraBL( uiAbsPartIdx ) ) 241 { 242 return; 243 } 244 #endif 245 239 246 m_pcEntropyCoderIf->codePredMode( pcCU, uiAbsPartIdx ); 240 247 } -
trunk/source/Lib/TLibEncoder/TEncSearch.cpp
r2 r6 894 894 Bool bChroma ) 895 895 { 896 #if INTRA_BL897 if ( pcCU->isIntraBL( 0 ))898 {899 return;900 }901 #endif902 903 896 if( bLuma ) 904 897 { … … 917 910 #if INTRA_BL 918 911 m_pcEntropyCoder->encodeIntraBLFlag ( pcCU, 0, true ); 919 #endif 920 912 if( pcCU->isIntraBL( 0 ) ) 913 { 914 return; 915 } 916 #endif 921 917 m_pcEntropyCoder ->encodePartSize( pcCU, 0, pcCU->getDepth(0), true ); 922 918 … … 956 952 } 957 953 } 954 #if INTRA_BL 955 if( pcCU->isIntraBL( 0 ) ) 956 { 957 return; 958 } 959 #endif 958 960 if( bChroma ) 959 961 { … … 6153 6155 } 6154 6156 m_pcEntropyCoder->encodeSkipFlag ( pcCU, 0, true ); 6157 #if INTRA_BL 6158 if(m_pcEncCfg->getLayerId()) 6159 { 6160 m_pcEntropyCoder->encodeIntraBLFlag(pcCU, 0, true); 6161 assert( pcCU->isIntraBL( 0 ) == false ); 6162 } 6163 #endif 6155 6164 m_pcEntropyCoder->encodePredMode( pcCU, 0, true ); 6156 6165 m_pcEntropyCoder->encodePartSize( pcCU, 0, pcCU->getDepth(0), true ); -
trunk/source/Lib/TLibEncoder/TEncTop.cpp
r2 r6 389 389 m_cIlpPic[j] = new TComPic; 390 390 //m_cIlpPic[j]->createWithOutYuv(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, &m_cSPS, true); 391 #if SVC_UPSAMPLING 391 392 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, &m_cSPS, true); 393 #else 394 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, true); 395 #endif 392 396 #if REF_IDX_ME_AROUND_ZEROMV 393 397 m_cIlpPic[j]->setIsILR(true);
Note: See TracChangeset for help on using the changeset viewer.