Changeset 1246 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder/TDecCu.cpp
- Timestamp:
- 14 Jul 2015, 00:26:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCu.cpp
r1235 r1246 485 485 #ifdef DEBUG_STRING 486 486 const Int debugPredModeMask=DebugStringGetPredModeMask(MODE_INTER); 487 if (DebugOptionList::DebugString_Pred.getInt()&debugPredModeMask) printBlockToStream(std::cout, "###inter-pred: ", *(m_ppcYuvReco[uiDepth])); 487 if (DebugOptionList::DebugString_Pred.getInt()&debugPredModeMask) 488 { 489 printBlockToStream(std::cout, "###inter-pred: ", *(m_ppcYuvReco[uiDepth])); 490 } 488 491 #endif 489 492 … … 492 495 493 496 #ifdef DEBUG_STRING 494 if (DebugOptionList::DebugString_Resi.getInt()&debugPredModeMask) printBlockToStream(std::cout, "###inter-resi: ", *(m_ppcYuvResi[uiDepth])); 497 if (DebugOptionList::DebugString_Resi.getInt()&debugPredModeMask) 498 { 499 printBlockToStream(std::cout, "###inter-resi: ", *(m_ppcYuvResi[uiDepth])); 500 } 495 501 #endif 496 502 … … 505 511 } 506 512 #ifdef DEBUG_STRING 507 if (DebugOptionList::DebugString_Reco.getInt()&debugPredModeMask) printBlockToStream(std::cout, "###inter-reco: ", *(m_ppcYuvReco[uiDepth])); 513 if (DebugOptionList::DebugString_Reco.getInt()&debugPredModeMask) 514 { 515 printBlockToStream(std::cout, "###inter-reco: ", *(m_ppcYuvReco[uiDepth])); 516 } 508 517 #endif 509 518 … … 518 527 TComTU &rTu) 519 528 { 520 if (!rTu.ProcessComponentSection(compID)) return; 529 if (!rTu.ProcessComponentSection(compID)) 530 { 531 return; 532 } 521 533 const Bool bIsLuma = isLuma(compID); 522 534 … … 544 556 { 545 557 xIntraRecBlk(pcRecoYuv, pcPredYuv, pcResiYuv, compID, subTURecurse); 546 } 547 while (subTURecurse.nextSection(rTu)); 558 } while (subTURecurse.nextSection(rTu)); 548 559 549 560 //------------------------------------------------ … … 598 609 { 599 610 for (UInt y = 0; y < uiHeight; y++) 611 { 600 612 for (UInt x = 0; x < uiWidth; x++) 601 613 { 602 614 piResi[(y * uiStride) + x] = 0; 603 615 } 616 } 604 617 } 605 618 606 619 #ifdef DEBUG_STRING 607 620 if (psDebug) 621 { 608 622 ss << (*psDebug); 623 } 609 624 #endif 610 625 … … 627 642 const Bool bDebugReco=((DebugOptionList::DebugString_Reco.getInt()&debugPredModeMask) && DEBUG_STRING_CHANNEL_CONDITION(compID)); 628 643 if (bDebugPred || bDebugResi || bDebugReco) 644 { 629 645 ss << "###: " << "CompID: " << compID << " pred mode (ch/fin): " << uiChPredMode << "/" << uiChFinalMode << " absPartIdx: " << rTu.GetAbsPartIdxTU() << std::endl; 646 } 630 647 #endif 631 648 … … 643 660 { 644 661 #ifdef DEBUG_STRING 645 if (bDebugPred || bDebugResi || bDebugReco) ss << "###: "; 662 if (bDebugPred || bDebugResi || bDebugReco) 663 { 664 ss << "###: "; 665 } 646 666 647 667 if (bDebugPred) … … 653 673 } 654 674 } 655 if (bDebugResi) ss << " - resi: "; 675 if (bDebugResi) 676 { 677 ss << " - resi: "; 678 } 656 679 #endif 657 680 … … 660 683 #ifdef DEBUG_STRING 661 684 if (bDebugResi) 685 { 662 686 ss << pResi[ uiX ] << ", "; 687 } 663 688 #endif 664 689 #if O0043_BEST_EFFORT_DECODING … … 680 705 681 706 if (bDebugPred || bDebugResi || bDebugReco) 707 { 682 708 ss << "\n"; 709 } 683 710 #endif 684 711 pPred += uiStride; … … 742 769 { 743 770 if (isLuma(chType)) 771 { 744 772 xIntraRecBlk( pcRecoYuv, pcPredYuv, pcResiYuv, COMPONENT_Y, rTu ); 773 } 745 774 else 746 775 {
Note: See TracChangeset for help on using the changeset viewer.