Ignore:
Timestamp:
14 Jul 2015, 00:26:07 (9 years ago)
Author:
seregin
Message:

port rev 4240

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCu.cpp

    r1235 r1246  
    485485#ifdef DEBUG_STRING
    486486  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  }
    488491#endif
    489492
     
    492495
    493496#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  }
    495501#endif
    496502
     
    505511  }
    506512#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  }
    508517#endif
    509518
     
    518527                            TComTU     &rTu)
    519528{
    520   if (!rTu.ProcessComponentSection(compID)) return;
     529  if (!rTu.ProcessComponentSection(compID))
     530  {
     531    return;
     532  }
    521533  const Bool       bIsLuma = isLuma(compID);
    522534
     
    544556    {
    545557      xIntraRecBlk(pcRecoYuv, pcPredYuv, pcResiYuv, compID, subTURecurse);
    546     }
    547     while (subTURecurse.nextSection(rTu));
     558    } while (subTURecurse.nextSection(rTu));
    548559
    549560    //------------------------------------------------
     
    598609  {
    599610    for (UInt y = 0; y < uiHeight; y++)
     611    {
    600612      for (UInt x = 0; x < uiWidth; x++)
    601613      {
    602614        piResi[(y * uiStride) + x] = 0;
    603615      }
     616    }
    604617  }
    605618
    606619#ifdef DEBUG_STRING
    607620  if (psDebug)
     621  {
    608622    ss << (*psDebug);
     623  }
    609624#endif
    610625
     
    627642  const Bool bDebugReco=((DebugOptionList::DebugString_Reco.getInt()&debugPredModeMask) && DEBUG_STRING_CHANNEL_CONDITION(compID));
    628643  if (bDebugPred || bDebugResi || bDebugReco)
     644  {
    629645    ss << "###: " << "CompID: " << compID << " pred mode (ch/fin): " << uiChPredMode << "/" << uiChFinalMode << " absPartIdx: " << rTu.GetAbsPartIdxTU() << std::endl;
     646  }
    630647#endif
    631648
     
    643660  {
    644661#ifdef DEBUG_STRING
    645     if (bDebugPred || bDebugResi || bDebugReco) ss << "###: ";
     662    if (bDebugPred || bDebugResi || bDebugReco)
     663    {
     664      ss << "###: ";
     665    }
    646666
    647667    if (bDebugPred)
     
    653673      }
    654674    }
    655     if (bDebugResi) ss << " - resi: ";
     675    if (bDebugResi)
     676    {
     677      ss << " - resi: ";
     678    }
    656679#endif
    657680
     
    660683#ifdef DEBUG_STRING
    661684      if (bDebugResi)
     685      {
    662686        ss << pResi[ uiX ] << ", ";
     687      }
    663688#endif
    664689#if O0043_BEST_EFFORT_DECODING
     
    680705
    681706    if (bDebugPred || bDebugResi || bDebugReco)
     707    {
    682708      ss << "\n";
     709    }
    683710#endif
    684711    pPred     += uiStride;
     
    742769  {
    743770    if (isLuma(chType))
     771    {
    744772      xIntraRecBlk( pcRecoYuv, pcPredYuv, pcResiYuv, COMPONENT_Y,  rTu );
     773    }
    745774    else
    746775    {
Note: See TracChangeset for help on using the changeset viewer.