Changeset 295 in 3DVCSoftware for branches/HTM-5.1-dev0/source/Lib/TLibDecoder
- Timestamp:
- 19 Feb 2013, 21:39:51 (12 years ago)
- Location:
- branches/HTM-5.1-dev0/source/Lib/TLibDecoder
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r294 r295 1492 1492 pcSPS->setPredDepthMapGeneration( 0, false ); 1493 1493 #endif 1494 #if H HI_INTER_VIEW_RESIDUAL_PRED1494 #if H3D_IVRP 1495 1495 pcSPS->setMultiviewResPredMode ( 0 ); 1496 1496 #endif … … 1507 1507 pcSPS->setPredDepthMapGeneration( uiCode, true ); 1508 1508 #endif 1509 #if H HI_INTER_VIEW_RESIDUAL_PRED1509 #if H3D_IVRP 1510 1510 pcSPS->setMultiviewResPredMode ( 0 ); 1511 1511 #endif … … 1537 1537 UInt uiMultiviewMvPredMode = 0; 1538 1538 #endif 1539 #if H HI_INTER_VIEW_RESIDUAL_PRED1539 #if H3D_IVRP 1540 1540 UInt uiMultiviewResPredMode = 0; 1541 1541 #endif … … 1552 1552 READ_UVLC( uiMultiviewMvPredMode, "multi_view_mv_pred_mode" ); 1553 1553 #endif 1554 #if H HI_INTER_VIEW_RESIDUAL_PRED1554 #if H3D_IVRP 1555 1555 READ_FLAG( uiMultiviewResPredMode, "multi_view_residual_pred_mode" ); 1556 1556 #endif … … 1562 1562 #endif 1563 1563 #endif 1564 #if H HI_INTER_VIEW_RESIDUAL_PRED1564 #if H3D_IVRP 1565 1565 pcSPS->setMultiviewResPredMode ( uiMultiviewResPredMode ); 1566 1566 #endif … … 2381 2381 } 2382 2382 2383 #if H HI_INTER_VIEW_RESIDUAL_PRED2383 #if H3D_IVRP 2384 2384 Void 2385 2385 TDecCavlc::parseResPredFlag( TComDataCU* pcCU, Bool& rbResPredFlag, UInt uiAbsPartIdx, UInt uiDepth ) -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecCAVLC.h
r294 r295 141 141 Void parseMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx ); 142 142 Void parseMergeIndex ( TComDataCU* pcCU, UInt& ruiMergeIndex, UInt uiAbsPartIdx, UInt uiDepth ); 143 #if H HI_INTER_VIEW_RESIDUAL_PRED143 #if H3D_IVRP 144 144 Void parseResPredFlag ( TComDataCU* pcCU, Bool& rbResPredFlag, UInt uiAbsPartIdx, UInt uiDepth ); 145 145 #endif -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecCu.cpp
r294 r295 54 54 m_ppcYuvResi = NULL; 55 55 m_ppcYuvReco = NULL; 56 #if H HI_INTER_VIEW_RESIDUAL_PRED56 #if H3D_IVRP 57 57 m_ppcYuvResPred = NULL; 58 58 #endif … … 82 82 m_ppcYuvResi = new TComYuv*[m_uiMaxDepth-1]; 83 83 m_ppcYuvReco = new TComYuv*[m_uiMaxDepth-1]; 84 #if H HI_INTER_VIEW_RESIDUAL_PRED84 #if H3D_IVRP 85 85 m_ppcYuvResPred = new TComYuv* [m_uiMaxDepth-1]; 86 86 #endif … … 96 96 m_ppcYuvResi[ui] = new TComYuv; m_ppcYuvResi[ui]->create( uiWidth, uiHeight ); 97 97 m_ppcYuvReco[ui] = new TComYuv; m_ppcYuvReco[ui]->create( uiWidth, uiHeight ); 98 #if H HI_INTER_VIEW_RESIDUAL_PRED98 #if H3D_IVRP 99 99 m_ppcYuvResPred[ui] = new TComYuv; m_ppcYuvResPred[ui]->create( uiWidth, uiHeight ); 100 100 #endif … … 120 120 m_ppcYuvResi[ui]->destroy(); delete m_ppcYuvResi[ui]; m_ppcYuvResi[ui] = NULL; 121 121 m_ppcYuvReco[ui]->destroy(); delete m_ppcYuvReco[ui]; m_ppcYuvReco[ui] = NULL; 122 #if H HI_INTER_VIEW_RESIDUAL_PRED122 #if H3D_IVRP 123 123 m_ppcYuvResPred[ui]->destroy(); delete m_ppcYuvResPred[ui]; m_ppcYuvResPred[ui] = NULL; 124 124 #endif … … 128 128 delete [] m_ppcYuvResi; m_ppcYuvResi = NULL; 129 129 delete [] m_ppcYuvReco; m_ppcYuvReco = NULL; 130 #if H HI_INTER_VIEW_RESIDUAL_PRED130 #if H3D_IVRP 131 131 delete [] m_ppcYuvResPred; m_ppcYuvResPred = NULL; 132 132 #endif … … 409 409 } 410 410 #endif 411 #if H HI_INTER_VIEW_RESIDUAL_PRED&& !MTK_MDIVRP_C0138411 #if H3D_IVRP && !MTK_MDIVRP_C0138 412 412 m_pcEntropyDecoder->decodeResPredFlag( pcCU, uiAbsPartIdx, uiDepth, m_ppcCU[uiDepth], 0 ); 413 413 #endif … … 460 460 #endif 461 461 462 #if H HI_INTER_VIEW_RESIDUAL_PRED&& !MTK_MDIVRP_C0138462 #if H3D_IVRP && !MTK_MDIVRP_C0138 463 463 if( !pcCU->isIntra( uiAbsPartIdx ) ) 464 464 { … … 691 691 #endif 692 692 693 #if H HI_INTER_VIEW_RESIDUAL_PRED&& !MTK_MDIVRP_C0138693 #if H3D_IVRP && !MTK_MDIVRP_C0138 694 694 if( pcCU->getResPredFlag( 0 ) ) 695 695 { … … 721 721 else 722 722 { 723 #if H HI_INTER_VIEW_RESIDUAL_PRED723 #if H3D_IVRP 724 724 #if MTK_MDIVRP_C0138 725 725 if (pcCU->getMergeFlag(0) && pcCU->getMergeIndex(0)==0 && pcCU->getResPredAvail(0)) -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecCu.h
r231 r295 61 61 TComYuv** m_ppcYuvResi; ///< array of residual buffer 62 62 TComYuv** m_ppcYuvReco; ///< array of prediction & reconstruction buffer 63 #if H HI_INTER_VIEW_RESIDUAL_PRED63 #if H3D_IVRP 64 64 TComYuv** m_ppcYuvResPred; ///< residual prediction buffer 65 65 #endif -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecEntropy.cpp
r294 r295 108 108 } 109 109 110 #if H HI_INTER_VIEW_RESIDUAL_PRED&& !MTK_MDIVRP_C0138110 #if H3D_IVRP && !MTK_MDIVRP_C0138 111 111 Void 112 112 TDecEntropy::decodeResPredFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, TComDataCU* pcSubCU, UInt uiPUIdx ) -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecEntropy.h
r294 r295 103 103 virtual Void parseMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx ) = 0; 104 104 virtual Void parseMergeIndex ( TComDataCU* pcCU, UInt& ruiMergeIndex, UInt uiAbsPartIdx, UInt uiDepth ) = 0; 105 #if H HI_INTER_VIEW_RESIDUAL_PRED105 #if H3D_IVRP 106 106 virtual Void parseResPredFlag ( TComDataCU* pcCU, Bool& rbResPredFlag, UInt uiAbsPartIdx, UInt uiDepth ) = 0; 107 107 #endif … … 198 198 Void decodeMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx ); 199 199 Void decodeMergeIndex ( TComDataCU* pcSubCU, UInt uiPartIdx, UInt uiPartAddr, PartSize eCUMode, UChar* puhInterDirNeighbours, TComMvField* pcMvFieldNeighbours, UInt uiDepth ); 200 #if H HI_INTER_VIEW_RESIDUAL_PRED&& !MTK_MDIVRP_C0138200 #if H3D_IVRP && !MTK_MDIVRP_C0138 201 201 Void decodeResPredFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, TComDataCU* pcSubCU, UInt uiPUIdx ); 202 202 #endif -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecGop.cpp
r294 r295 93 93 ,TComDepthMapGenerator* pcDepthMapGenerator 94 94 #endif 95 #if H HI_INTER_VIEW_RESIDUAL_PRED95 #if H3D_IVRP 96 96 ,TComResidualGenerator* pcResidualGenerator 97 97 #endif … … 109 109 m_pcDepthMapGenerator = pcDepthMapGenerator; 110 110 #endif 111 #if H HI_INTER_VIEW_RESIDUAL_PRED111 #if H3D_IVRP 112 112 m_pcResidualGenerator = pcResidualGenerator; 113 113 #endif … … 298 298 m_pcDepthMapGenerator->predictDepthMap ( rpcPic ); 299 299 #endif 300 #if H HI_INTER_VIEW_RESIDUAL_PRED300 #if H3D_IVRP 301 301 m_pcResidualGenerator->initViewComponent( rpcPic ); 302 302 #endif … … 331 331 else 332 332 { 333 #if H HI_INTER_VIEW_RESIDUAL_PRED333 #if H3D_IVRP 334 334 // set residual picture 335 335 m_pcResidualGenerator->setRecResidualPic( rpcPic ); -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecGop.h
r294 r295 90 90 TComDepthMapGenerator* m_pcDepthMapGenerator; 91 91 #endif 92 #if H HI_INTER_VIEW_RESIDUAL_PRED92 #if H3D_IVRP 93 93 TComResidualGenerator* m_pcResidualGenerator; 94 94 #endif … … 118 118 ,TComDepthMapGenerator* pcDepthMapGenerator 119 119 #endif 120 #if H HI_INTER_VIEW_RESIDUAL_PRED120 #if H3D_IVRP 121 121 ,TComResidualGenerator* pcResidualGenerator 122 122 #endif -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecSbac.cpp
r294 r295 62 62 , m_cCUMergeFlagExtSCModel ( 1, 1, NUM_MERGE_FLAG_EXT_CTX , m_contextModels + m_numContextModels, m_numContextModels) 63 63 , m_cCUMergeIdxExtSCModel ( 1, 1, NUM_MERGE_IDX_EXT_CTX , m_contextModels + m_numContextModels, m_numContextModels) 64 #if H HI_INTER_VIEW_RESIDUAL_PRED64 #if H3D_IVRP 65 65 , m_cResPredFlagSCModel ( 1, 1, NUM_RES_PRED_FLAG_CTX , m_contextModels + m_numContextModels, m_numContextModels) 66 66 #endif … … 159 159 m_cCUMergeFlagExtSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_MERGE_FLAG_EXT ); 160 160 m_cCUMergeIdxExtSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_MERGE_IDX_EXT ); 161 #if H HI_INTER_VIEW_RESIDUAL_PRED161 #if H3D_IVRP 162 162 m_cResPredFlagSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_RES_PRED_FLAG ); 163 163 #endif … … 246 246 m_cCUMergeFlagExtSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_MERGE_FLAG_EXT ); 247 247 m_cCUMergeIdxExtSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_MERGE_IDX_EXT ); 248 #if H HI_INTER_VIEW_RESIDUAL_PRED248 #if H3D_IVRP 249 249 m_cResPredFlagSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_RES_PRED_FLAG ); 250 250 #endif … … 670 670 } 671 671 672 #if H HI_INTER_VIEW_RESIDUAL_PRED672 #if H3D_IVRP 673 673 Void 674 674 TDecSbac::parseResPredFlag( TComDataCU* pcCU, Bool& rbResPredFlag, UInt uiAbsPartIdx, UInt uiDepth ) -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecSbac.h
r294 r295 173 173 Void parseMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx ); 174 174 Void parseMergeIndex ( TComDataCU* pcCU, UInt& ruiMergeIndex, UInt uiAbsPartIdx, UInt uiDepth ); 175 #if H HI_INTER_VIEW_RESIDUAL_PRED175 #if H3D_IVRP 176 176 Void parseResPredFlag ( TComDataCU* pcCU, Bool& rbResPredFlag, UInt uiAbsPartIdx, UInt uiDepth ); 177 177 #endif … … 216 216 ContextModel3DBuffer m_cCUMergeFlagExtSCModel; 217 217 ContextModel3DBuffer m_cCUMergeIdxExtSCModel; 218 #if H HI_INTER_VIEW_RESIDUAL_PRED218 #if H3D_IVRP 219 219 ContextModel3DBuffer m_cResPredFlagSCModel; 220 220 #endif -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecTop.cpp
r294 r295 398 398 m_cDepthMapGenerator.destroy(); 399 399 #endif 400 #if H HI_INTER_VIEW_RESIDUAL_PRED400 #if H3D_IVRP 401 401 m_cResidualGenerator.destroy(); 402 402 #endif … … 415 415 , &m_cDepthMapGenerator 416 416 #endif 417 #if H HI_INTER_VIEW_RESIDUAL_PRED417 #if H3D_IVRP 418 418 , &m_cResidualGenerator 419 419 #endif … … 429 429 #endif 430 430 #endif 431 #if H HI_INTER_VIEW_RESIDUAL_PRED431 #if H3D_IVRP 432 432 m_cResidualGenerator.init( &m_cTrQuant, &m_cDepthMapGenerator ); 433 433 #endif … … 465 465 } 466 466 467 #if H HI_INTER_VIEW_RESIDUAL_PRED467 #if H3D_IVRP 468 468 Void 469 469 TDecTop::deleteExtraPicBuffers( Int iPoc ) … … 855 855 } 856 856 #endif 857 #if H HI_INTER_VIEW_RESIDUAL_PRED857 #if H3D_IVRP 858 858 m_cResidualGenerator.create( true, m_apcSlicePilot->getSPS()->getPicWidthInLumaSamples(), m_apcSlicePilot->getSPS()->getPicHeightInLumaSamples(), g_uiMaxCUDepth, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiBitDepth + g_uiBitIncrement ); 859 859 #endif -
branches/HTM-5.1-dev0/source/Lib/TLibDecoder/TDecTop.h
r294 r295 213 213 TComDepthMapGenerator m_cDepthMapGenerator; 214 214 #endif 215 #if H HI_INTER_VIEW_RESIDUAL_PRED215 #if H3D_IVRP 216 216 TComResidualGenerator m_cResidualGenerator; 217 217 #endif … … 249 249 Void xCopyVPS( TComVPS* pVPSV0); 250 250 #endif 251 #if H HI_INTER_VIEW_RESIDUAL_PRED251 #if H3D_IVRP 252 252 Void deleteExtraPicBuffers ( Int iPoc ); 253 253 #endif
Note: See TracChangeset for help on using the changeset viewer.