Ignore:
Timestamp:
4 Sep 2015, 21:28:58 (9 years ago)
Author:
tech
Message:

Clean-ups. HLS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.0-dev0/source/Lib/TLibDecoder/TDecCu.cpp

    r1313 r1317  
    531531        pcCU->getCUMvField( REF_PIC_LIST_1 )->setMvFieldSP(pcCU, uiSPAddr, pcMvFieldSP[2*iPartitionIdx + 1], iSPWidth, iSPHeight);
    532532      }
     533#if ENC_DEC_TRACE && H_MV_ENC_DEC_TRAC
     534      if ( g_traceSubPBMotion )
     535      {
     536        std::cout << std::setfill(' ')                          << std::setw( 15 )
     537          << "Num"                                              << std::setw( 15 )
     538          << "Dir "                                             << std::setw( 15 )
     539          <<  "L0 RefIdx"                                       << std::setw( 15 )
     540          <<  "L0 Hor"                                          << std::setw( 15 )
     541          <<  "L0 Ver"                                          << std::setw( 15 )
     542          <<  "L1 RefIdx"                                       << std::setw( 15 )
     543          <<  "L1 Hor"                                          << std::setw( 15 )
     544          <<  "L1 Ver"                                          << std::setw( 15 )
     545          << std::endl;
     546
     547        for (Int iPartitionIdx = 0; iPartitionIdx < iNumSP; iPartitionIdx++)
     548        {
     549          UChar        dir = puhInterDirSP[iPartitionIdx];
     550          TComMvField& mv0 = pcMvFieldSP  [2*iPartitionIdx];
     551          TComMvField& mv1 = pcMvFieldSP  [2*iPartitionIdx+1];
     552
     553          std::cout << std::setfill(' ')                                  << std::setw( 15 )
     554            << iPartitionIdx                                              << std::setw( 15 )
     555            << (UInt) dir                                                 << std::setw( 15 )
     556            << ((dir & 1) ? mv0.getRefIdx()       : MIN_INT)              << std::setw( 15 )
     557            << ((dir & 1) ? mv0.getMv().getHor()  : MIN_INT)              << std::setw( 15 )
     558            << ((dir & 1) ? mv0.getMv().getVer()  : MIN_INT)              << std::setw( 15 )
     559            << ((dir & 2) ? mv1.getRefIdx()       : MIN_INT)              << std::setw( 15 )
     560            << ((dir & 2) ? mv1.getMv().getHor()  : MIN_INT)              << std::setw( 15 )
     561            << ((dir & 2) ? mv1.getMv().getVer()  : MIN_INT)              << std::setw( 15 )
     562            << std::endl;
     563        }
     564      }
     565#endif
    533566    }
    534567    delete[] pcMvFieldSP;
     
    779812  const ChromaFormat chFmt     = rTu.GetChromaFormat();
    780813
     814  DEBUG_STRING_NEW(sTemp)
    781815  if ( pcCU->getDISType(uiAbsPartIdx) == 0 )
    782816  {
     
    12711305    TComTURecurse tuRecurseWithPU(tuRecurseCU, false, TComTU::DONT_SPLIT);
    12721306
     1307    DEBUG_STRING_NEW(sTemp)
    12731308    m_pcPrediction->initIntraPatternChType( tuRecurseWithPU, COMPONENT_Y, false DEBUG_STRING_PASS_INTO(sTemp) );
    12741309
     
    13211356     
    13221357      //===== init pattern for luma prediction =====
    1323      
     1358      DEBUG_STRING_NEW(sTemp)
    13241359      m_pcPrediction->initIntraPatternChType( tuRecurseWithPU, COMPONENT_Y, bUseFilter  DEBUG_STRING_PASS_INTO(sTemp) );
    13251360     
Note: See TracChangeset for help on using the changeset viewer.