Changeset 609 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 7 Feb 2014, 21:34:19 (12 years ago)
- Location:
- branches/SHM-5.1-dev/source
- Files:
-
- 6 edited
-
. (modified) (1 prop)
-
Lib/TLibDecoder/TDecSbac.cpp (modified) (2 diffs)
-
Lib/TLibDecoder/TDecSbac.h (modified) (1 diff)
-
Lib/TLibDecoder/TDecSlice.cpp (modified) (2 diffs)
-
Lib/TLibDecoder/TDecSlice.h (modified) (3 diffs)
-
Lib/TLibDecoder/TDecTop.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source
- Property svn:mergeinfo changed
/branches/SHM-5.0-dev/source merged: 601
- Property svn:mergeinfo changed
-
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecSbac.cpp
r595 r609 1394 1394 1395 1395 Void TDecSbac::parseSAOBlkParam (SAOBlkParam& saoBlkParam 1396 #if SVC_EXTENSION 1397 , UInt* saoMaxOffsetQVal 1398 #endif 1396 1399 , Bool* sliceEnabled 1397 1400 , Bool leftMergeAvail … … 1468 1471 for(Int i=0; i< 4; i++) 1469 1472 { 1473 #if SVC_EXTENSION 1474 parseSaoMaxUvlc(uiSymbol, saoMaxOffsetQVal[compIdx] ); //sao_offset_abs 1475 #else 1470 1476 parseSaoMaxUvlc(uiSymbol, g_saoMaxOffsetQVal[compIdx] ); //sao_offset_abs 1477 #endif 1471 1478 offset[i] = (Int)uiSymbol; 1472 1479 } -
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecSbac.h
r595 r609 90 90 Void parseSaoTypeIdx ( UInt& ruiVal ); 91 91 Void parseSaoUflc ( UInt uiLength, UInt& ruiVal ); 92 93 #if SVC_EXTENSION 94 Void parseSAOBlkParam (SAOBlkParam& saoBlkParam, UInt* saoMaxOffsetQVal, Bool* sliceEnabled, Bool leftMergeAvail, Bool aboveMergeAvail ); 95 #else 92 96 Void parseSAOBlkParam (SAOBlkParam& saoBlkParam, Bool* sliceEnabled, Bool leftMergeAvail, Bool aboveMergeAvail); 97 #endif 93 98 Void parseSaoSign(UInt& val); 94 99 private: -
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecSlice.cpp
r595 r609 105 105 106 106 #if SVC_EXTENSION 107 Void TDecSlice::init(TDec Top** ppcDecTop,TDecEntropy* pcEntropyDecoder, TDecCu* pcCuDecoder)107 Void TDecSlice::init(TDecEntropy* pcEntropyDecoder, TDecCu* pcCuDecoder, UInt* saoMaxOffsetQVal) 108 108 { 109 109 m_pcEntropyDecoder = pcEntropyDecoder; 110 110 m_pcCuDecoder = pcCuDecoder; 111 m_ ppcTDecTop = ppcDecTop;111 m_saoMaxOffsetQVal = saoMaxOffsetQVal; 112 112 } 113 113 #else … … 347 347 aboveMergeAvail = rpcPic->getSAOMergeAvailability(iCUAddr, iCUAddr-uiWidthInLCUs); 348 348 } 349 349 #if SVC_EXTENSION 350 pcSbacDecoder->parseSAOBlkParam( saoblkParam, m_saoMaxOffsetQVal, sliceEnabled, leftMergeAvail, aboveMergeAvail); 351 #else 350 352 pcSbacDecoder->parseSAOBlkParam( saoblkParam, sliceEnabled, leftMergeAvail, aboveMergeAvail); 353 #endif 351 354 } 352 355 else -
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecSlice.h
r595 r609 72 72 std::vector<TDecSbac*> CTXMem; 73 73 #if SVC_EXTENSION 74 TDecTop** m_ppcTDecTop;74 UInt* m_saoMaxOffsetQVal; 75 75 #endif 76 76 … … 80 80 81 81 #if SVC_EXTENSION 82 Void init ( TDec Top** ppcDecTop, TDecEntropy* pcEntropyDecoder, TDecCu* pcMbDecoder);82 Void init ( TDecEntropy* pcEntropyDecoder, TDecCu* pcMbDecoder, UInt* saoMaxOffsetQVal ); 83 83 #else 84 84 Void init ( TDecEntropy* pcEntropyDecoder, TDecCu* pcMbDecoder ); … … 91 91 Void setCtxMem( TDecSbac* sb, Int b ) { CTXMem[b] = sb; } 92 92 Int getCtxMemSize( ) { return (Int)CTXMem.size(); } 93 #if SVC_EXTENSION94 TDecTop* getLayerDec ( UInt LayerId ) { return m_ppcTDecTop[LayerId]; }95 #endif96 93 }; 97 94 -
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r595 r609 138 138 #if SVC_EXTENSION 139 139 m_cGopDecoder.init( m_ppcTDecTop, &m_cEntropyDecoder, &m_cSbacDecoder, &m_cBinCABAC, &m_cCavlcDecoder, &m_cSliceDecoder, &m_cLoopFilter, &m_cSAO); 140 m_cSliceDecoder.init( m_ppcTDecTop, &m_cEntropyDecoder, &m_cCuDecoder);140 m_cSliceDecoder.init( &m_cEntropyDecoder, &m_cCuDecoder, m_cSAO.getSaoMaxOffsetQVal() ); 141 141 #else 142 142 m_cGopDecoder.init( &m_cEntropyDecoder, &m_cSbacDecoder, &m_cBinCABAC, &m_cCavlcDecoder, &m_cSliceDecoder, &m_cLoopFilter, &m_cSAO);
Note: See TracChangeset for help on using the changeset viewer.