Changeset 1320 in 3DVCSoftware for branches


Ignore:
Timestamp:
6 Sep 2015, 19:03:21 (9 years ago)
Author:
tech
Message:

Further fixes.

Location:
branches/HTM-15.0-dev0/source/Lib/TLibCommon
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.0-dev0/source/Lib/TLibCommon/TComPic.h

    r1317 r1320  
    407407#endif
    408408public:
     409  TComPicLists() { m_printPicOutput = false; };
    409410  ~TComPicLists();
    410411
  • branches/HTM-15.0-dev0/source/Lib/TLibCommon/TComPrediction.cpp

    r1319 r1320  
    566566      Int layerIdL0 = pcCU->getSlice()->getRefPic(REF_PIC_LIST_0, pcCU->getCUMvField(REF_PIC_LIST_0)->getRefIdx(PartAddr))->getLayerId();
    567567      Int layerIdL1 = pcCU->getSlice()->getRefPic(REF_PIC_LIST_1, pcCU->getCUMvField(REF_PIC_LIST_1)->getRefIdx(PartAddr))->getLayerId();
    568 #endif
    569 #if NH_MV
     568#if NH_3D_ARP
     569      if(!pcCU->getARPW(PartAddr) && RefPOCL0 == RefPOCL1 && layerIdL0 == layerIdL1 && pcCU->getCUMvField(REF_PIC_LIST_0)->getMv(PartAddr) == pcCU->getCUMvField(REF_PIC_LIST_1)->getMv(PartAddr))
     570#else
    570571      if(RefPOCL0 == RefPOCL1 && layerIdL0 == layerIdL1 && pcCU->getCUMvField(REF_PIC_LIST_0)->getMv(PartAddr) == pcCU->getCUMvField(REF_PIC_LIST_1)->getMv(PartAddr))
    571 #elif NH_3D_ARP
    572       if(!pcCU->getARPW(PartAddr) && RefPOCL0 == RefPOCL1 && layerIdL0 == layerIdL1 && pcCU->getCUMvField(REF_PIC_LIST_0)->getMv(PartAddr) == pcCU->getCUMvField(REF_PIC_LIST_1)->getMv(PartAddr))
     572#endif
    573573#else
    574574      if(RefPOCL0 == RefPOCL1 && pcCU->getCUMvField(REF_PIC_LIST_0)->getMv(PartAddr) == pcCU->getCUMvField(REF_PIC_LIST_1)->getMv(PartAddr))
  • branches/HTM-15.0-dev0/source/Lib/TLibCommon/TComRom.cpp

    r1317 r1320  
    564564Bool g_traceMotionInfoBeforUniPred = false;
    565565Bool g_traceMergeCandListConst = false;
     566Bool g_traceBitsRead          = false;
    566567Bool g_traceSubPBMotion       = false;
    567568#endif
     
    756757    fflush ( g_hTrace );   
    757758  }
     759}
     760Void printStr( std::string str )
     761{
     762  std::cout << str << std::endl;
     763}
     764Void printStrIndent( Bool b, std::string strStr )
     765{
     766  if ( b )
     767  { 
     768    std::cout << std::string(g_indent, ' ');
     769    printStr( strStr );
     770  }
     771}
     772Void prinStrIncIndent( Bool b,  std::string strStr )
     773{
     774  if ( b )
     775  {
     776    printStrIndent( true,  strStr );
     777    if (g_indent < 50)
     778    {
     779      g_indent++;
     780    }
     781  } 
     782}
     783Void decIndent( Bool b )
     784{
     785  if (b && g_indent > 0)
     786  {
     787    g_indent--; 
     788  } 
    758789}
    759790#endif
  • branches/HTM-15.0-dev0/source/Lib/TLibCommon/TComRom.h

    r1317 r1320  
    9595// Depth coding modes
    9696// ====================================================================================================================
    97 
    9897extern const WedgeResolution                                 g_dmmWedgeResolution [6];
    9998extern const UChar                                           g_dmm1TabIdxBits     [6];
     
    197196 extern Bool   g_traceMergeCandListConst;
    198197 extern Bool   g_traceSubPBMotion;
     198 extern Bool   g_traceBitsRead;
    199199#define DTRACE_CU(x,y)             writeToTraceFile( x,y, g_traceCU );
    200200#define DTRACE_PU(x,y)             writeToTraceFile( x,y, g_tracePU );
     
    203203#define DTRACE_PU_S(x)             writeToTraceFile( x,   g_tracePU );
    204204#define DTRACE_TU_S(x)             writeToTraceFile( x,   g_traceTU );
    205 
    206205#define D_DEC_INDENT( b )            decIndent        ( b );
    207206#define D_PRINT_INC_INDENT( b, str ) prinStrIncIndent( b, str );
    208207#define D_PRINT_INDENT( b, str )     printStrIndent   ( b, str);
    209 
    210208 Void           tracePSHeader   ( const Char* psName, Int layerId );
    211209 Void           writeToTraceFile( const Char* symbolName, Int val, Bool doIt );
     
    213211 UInt64         incSymbolCounter();         
    214212 Void           stopAtPos       ( Int poc, Int layerId, Int cuPelX, Int cuPelY, Int cuWidth, Int cuHeight );           
    215 
    216213 Void           printStr         ( std::string str );
    217214 Void           printStrIndent   ( Bool b, std::string str );
    218215 Void           prinStrIncIndent ( Bool b, std::string str );
    219216 Void           decIndent        ( Bool b );
    220 
    221217 template <typename T>
    222218 std::string n2s ( T Number )
     
    226222   return ss.str();
    227223 };
    228 
    229224#endif
    230225#else
     
    243238#define DTRACE_PU_S(x) ;           
    244239#define DTRACE_TU_S(x) ;           
    245 
    246240#define D_DEC_INDENT( b ) ;
    247241#define D_PRINT_INC_INDENT( b, str );
Note: See TracChangeset for help on using the changeset viewer.