Changeset 1169 in 3DVCSoftware for branches/HTM-13.1-dev0/source/Lib/TLibDecoder/TDecEntropy.cpp
- Timestamp:
- 5 Apr 2015, 22:37:43 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev0/source/Lib/TLibDecoder/TDecEntropy.cpp
r1163 r1169 176 176 decodeIntraDirModeLuma ( pcCU, uiAbsPartIdx, uiDepth ); 177 177 #if H_3D_DIM_SDC 178 #if H_3D_DISABLE_CHROMA 179 if(!pcCU->getSDCFlag(uiAbsPartIdx) && !pcCU->getSlice()->getIsDepth() ) 180 #else 178 181 if(!pcCU->getSDCFlag(uiAbsPartIdx)) 182 #endif 179 183 #endif 180 184 decodeIntraDirModeChroma( pcCU, uiAbsPartIdx, uiDepth ); … … 541 545 Void TDecEntropy::xDecodeTransform( TComDataCU* pcCU, UInt offsetLuma, UInt offsetChroma, UInt uiAbsPartIdx, UInt uiDepth, UInt width, UInt height, UInt uiTrIdx, Bool& bCodeDQP, Int quadtreeTULog2MinSizeInCU) 542 546 { 547 548 #if H_MV_ENC_DEC_TRAC 549 UInt uiLPelX = pcCU->getCUPelX() + g_auiRasterToPelX[ g_auiZscanToRaster[uiAbsPartIdx] ]; 550 UInt uiTPelY = pcCU->getCUPelY() + g_auiRasterToPelY[ g_auiZscanToRaster[uiAbsPartIdx] ]; 551 552 DTRACE_TU_S("=========== transform_tree ===========\n") 553 DTRACE_TU("x0", uiLPelX) 554 DTRACE_TU("x1", uiTPelY) 555 DTRACE_TU("log2TrafoSize", g_uiMaxCUWidth>>uiDepth) 556 DTRACE_TU("trafoDepth" , uiDepth) 557 #endif 558 543 559 UInt uiSubdiv; 544 560 const UInt uiLog2TrafoSize = g_aucConvertToBit[pcCU->getSlice()->getSPS()->getMaxCUWidth()]+2 - uiDepth; … … 593 609 if( bFirstCbfOfCU || uiLog2TrafoSize > 2 ) 594 610 { 611 #if H_3D_DISABLE_CHROMA 612 if (!pcCU->getSlice()->getIsDepth() ) 613 { 595 614 if( bFirstCbfOfCU || pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepth - 1 ) ) 596 615 { … … 601 620 m_pcEntropyDecoderIf->parseQtCbf( pcCU, uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepth, uiDepth ); 602 621 } 622 } 623 else 624 { 625 if( bFirstCbfOfCU || pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepth - 1 ) ) 626 { 627 pcCU->setCbfSubParts( 0, TEXT_CHROMA_U, uiAbsPartIdx, uiTrDepth - 1 ); 628 } 629 if( bFirstCbfOfCU || pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepth - 1 ) ) 630 { 631 pcCU->setCbfSubParts( 0, TEXT_CHROMA_V, uiAbsPartIdx, uiTrDepth - 1 ); 632 } 633 } 634 #else 635 if( bFirstCbfOfCU || pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepth - 1 ) ) 636 { 637 m_pcEntropyDecoderIf->parseQtCbf( pcCU, uiAbsPartIdx, TEXT_CHROMA_U, uiTrDepth, uiDepth ); 638 } 639 if( bFirstCbfOfCU || pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepth - 1 ) ) 640 { 641 m_pcEntropyDecoderIf->parseQtCbf( pcCU, uiAbsPartIdx, TEXT_CHROMA_V, uiTrDepth, uiDepth ); 642 } 643 #endif 603 644 } 604 645 else … … 762 803 assert( pcCU->getTransformIdx(uiAbsPartIdx) == 0 ); 763 804 assert( pcCU->getCbf(uiAbsPartIdx, TEXT_LUMA) == 1 ); 805 #if H_3D_DISABLE_CHROMA 806 if (!pcCU->getSlice()->getIsDepth() ) 807 { 808 assert( pcCU->getCbf(uiAbsPartIdx, TEXT_CHROMA_U) == 1 ); 809 assert( pcCU->getCbf(uiAbsPartIdx, TEXT_CHROMA_V) == 1 ); 810 } 811 #else 764 812 assert( pcCU->getCbf(uiAbsPartIdx, TEXT_CHROMA_U) == 1 ); 765 813 assert( pcCU->getCbf(uiAbsPartIdx, TEXT_CHROMA_V) == 1 ); 814 #endif 766 815 } 767 816
Note: See TracChangeset for help on using the changeset viewer.