Changeset 1225 in 3DVCSoftware for branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder
- Timestamp:
- 22 May 2015, 05:38:04 (10 years ago)
- Location:
- branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1200 r1225 2783 2783 } 2784 2784 2785 #if H_3D_IC2785 #if NH_3D_IC 2786 2786 else if( pcSlice->getViewIndex() && ( pcSlice->getSliceType() == P_SLICE || pcSlice->getSliceType() == B_SLICE ) 2787 2787 && !pcSlice->getIsDepth() && vps->getNumRefListLayers( layerId ) > 0 … … 2796 2796 if ( uiCodeTmp ) 2797 2797 { 2798 READ_FLAG ( uiCodeTmp, " ic_skip_mergeidx0" );2798 READ_FLAG ( uiCodeTmp, "slice_ic_disabled_merge_zero_idx_flag" ); 2799 2799 pcSlice->setIcSkipParseFlag( uiCodeTmp ); 2800 2800 } … … 3382 3382 } 3383 3383 #endif 3384 #if H_3D_IC3384 #if NH_3D_IC 3385 3385 Void TDecCavlc::parseICFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 3386 3386 { -
branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder/TDecCAVLC.h
r1200 r1225 120 120 Void parseARPW ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 121 121 #endif 122 #if H_3D_IC122 #if NH_3D_IC 123 123 Void parseICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 124 124 #endif -
branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder/TDecCu.cpp
r1200 r1225 399 399 m_pcEntropyDecoder->decodeARPW( pcCU , uiAbsPartIdx , uiDepth ); 400 400 #endif 401 #if H_3D_IC401 #if NH_3D_IC 402 402 m_pcEntropyDecoder->decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); 403 403 #endif -
branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder/TDecEntropy.cpp
r1200 r1225 124 124 #endif 125 125 126 #if H_3D_IC126 #if NH_3D_IC 127 127 Void TDecEntropy::decodeICFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 128 128 { 129 129 pcCU->setICFlagSubParts( false , uiAbsPartIdx, 0, uiDepth ); 130 130 131 #if H_3D_ARP 131 132 if ( pcCU->isIntra( uiAbsPartIdx ) || ( pcCU->getSlice()->getViewIndex() == 0 ) || pcCU->getSlice()->getIsDepth() || pcCU->getARPW( uiAbsPartIdx ) > 0 ) 133 #else 134 if ( pcCU->isIntra( uiAbsPartIdx ) || ( pcCU->getSlice()->getViewIndex() == 0 ) || pcCU->getSlice()->getIsDepth() ) 135 #endif 132 136 { 133 137 return; … … 475 479 std::cout << " merge index: " << (UInt)pcCU->getMergeIndex(uiSubPartIdx) << std::endl; 476 480 } 481 #endif 482 #if NH_3D_IC 483 decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); 477 484 #endif 478 485 … … 531 538 } 532 539 } 540 #if NH_3D_IC 541 decodeICFlag( pcCU, uiAbsPartIdx, uiDepth ); 542 #endif 533 543 } 534 544 -
branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder/TDecEntropy.h
r1200 r1225 88 88 virtual Void parseARPW ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) = 0; 89 89 #endif 90 #if H_3D_IC90 #if NH_3D_IC 91 91 virtual Void parseICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) = 0; 92 92 #endif … … 177 177 Void decodeARPW ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 178 178 #endif 179 #if H_3D_IC179 #if NH_3D_IC 180 180 Void decodeICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 181 181 #endif -
branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder/TDecSbac.cpp
r1200 r1225 76 76 , m_cCUPUARPWSCModel ( 1, 1, NUM_ARPW_CTX , m_contextModels + m_numContextModels, m_numContextModels) 77 77 #endif 78 #if H_3D_IC78 #if NH_3D_IC 79 79 , m_cCUICFlagSCModel ( 1, 1, NUM_IC_FLAG_CTX , m_contextModels + m_numContextModels, m_numContextModels) 80 80 #endif … … 167 167 m_cCUPUARPWSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_ARPW ); 168 168 #endif 169 #if H_3D_IC169 #if NH_3D_IC 170 170 m_cCUICFlagSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_IC_FLAG ); 171 171 #endif … … 243 243 #if H_3D_ARP 244 244 m_cCUPUARPWSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_ARPW ); 245 #endif246 #if H_3D_IC247 m_cCUICFlagSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_IC_FLAG );248 245 #endif 249 246 #if H_3D_DIM … … 2445 2442 #endif 2446 2443 2447 #if H_3D_IC2444 #if NH_3D_IC 2448 2445 /** parse illumination compensation flag 2449 2446 * \param pcCU … … 2455 2452 { 2456 2453 UInt uiSymbol = 0; 2457 m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, 0 ) ); 2454 m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, 0 ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__3D_IC) ); 2455 2458 2456 #if !H_MV_ENC_DEC_TRAC 2459 2457 DTRACE_CABAC_VL( g_nSymbolCounter++ ); -
branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder/TDecSbac.h
r1200 r1225 142 142 Void parseARPW ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 143 143 #endif 144 #if H_3D_IC144 #if NH_3D_IC 145 145 Void parseICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 146 146 #endif … … 193 193 ContextModel3DBuffer m_cCUPUARPWSCModel; 194 194 #endif 195 #if H_3D_IC195 #if NH_3D_IC 196 196 ContextModel3DBuffer m_cCUICFlagSCModel; 197 197 #endif -
branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibDecoder/TDecTop.cpp
r1213 r1225 423 423 { 424 424 #if ENC_DEC_TRACE 425 #if H_MV_ENC_DEC_TRAC_FIX 426 if (g_hTrace != stdout && g_hTrace != NULL) 427 #else 425 428 if (g_hTrace != stdout) 429 #endif 426 430 { 427 431 fclose( g_hTrace ); 432 #if H_MV_ENC_DEC_TRAC_FIX 433 g_hTrace = NULL; 434 #endif 428 435 } 429 436 #endif
Note: See TracChangeset for help on using the changeset viewer.