Changeset 1320 in 3DVCSoftware
- Timestamp:
- 6 Sep 2015, 19:03:21 (9 years ago)
- 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 407 407 #endif 408 408 public: 409 TComPicLists() { m_printPicOutput = false; }; 409 410 ~TComPicLists(); 410 411 -
branches/HTM-15.0-dev0/source/Lib/TLibCommon/TComPrediction.cpp
r1319 r1320 566 566 Int layerIdL0 = pcCU->getSlice()->getRefPic(REF_PIC_LIST_0, pcCU->getCUMvField(REF_PIC_LIST_0)->getRefIdx(PartAddr))->getLayerId(); 567 567 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 570 571 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 573 573 #else 574 574 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 564 564 Bool g_traceMotionInfoBeforUniPred = false; 565 565 Bool g_traceMergeCandListConst = false; 566 Bool g_traceBitsRead = false; 566 567 Bool g_traceSubPBMotion = false; 567 568 #endif … … 756 757 fflush ( g_hTrace ); 757 758 } 759 } 760 Void printStr( std::string str ) 761 { 762 std::cout << str << std::endl; 763 } 764 Void printStrIndent( Bool b, std::string strStr ) 765 { 766 if ( b ) 767 { 768 std::cout << std::string(g_indent, ' '); 769 printStr( strStr ); 770 } 771 } 772 Void 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 } 783 Void decIndent( Bool b ) 784 { 785 if (b && g_indent > 0) 786 { 787 g_indent--; 788 } 758 789 } 759 790 #endif -
branches/HTM-15.0-dev0/source/Lib/TLibCommon/TComRom.h
r1317 r1320 95 95 // Depth coding modes 96 96 // ==================================================================================================================== 97 98 97 extern const WedgeResolution g_dmmWedgeResolution [6]; 99 98 extern const UChar g_dmm1TabIdxBits [6]; … … 197 196 extern Bool g_traceMergeCandListConst; 198 197 extern Bool g_traceSubPBMotion; 198 extern Bool g_traceBitsRead; 199 199 #define DTRACE_CU(x,y) writeToTraceFile( x,y, g_traceCU ); 200 200 #define DTRACE_PU(x,y) writeToTraceFile( x,y, g_tracePU ); … … 203 203 #define DTRACE_PU_S(x) writeToTraceFile( x, g_tracePU ); 204 204 #define DTRACE_TU_S(x) writeToTraceFile( x, g_traceTU ); 205 206 205 #define D_DEC_INDENT( b ) decIndent ( b ); 207 206 #define D_PRINT_INC_INDENT( b, str ) prinStrIncIndent( b, str ); 208 207 #define D_PRINT_INDENT( b, str ) printStrIndent ( b, str); 209 210 208 Void tracePSHeader ( const Char* psName, Int layerId ); 211 209 Void writeToTraceFile( const Char* symbolName, Int val, Bool doIt ); … … 213 211 UInt64 incSymbolCounter(); 214 212 Void stopAtPos ( Int poc, Int layerId, Int cuPelX, Int cuPelY, Int cuWidth, Int cuHeight ); 215 216 213 Void printStr ( std::string str ); 217 214 Void printStrIndent ( Bool b, std::string str ); 218 215 Void prinStrIncIndent ( Bool b, std::string str ); 219 216 Void decIndent ( Bool b ); 220 221 217 template <typename T> 222 218 std::string n2s ( T Number ) … … 226 222 return ss.str(); 227 223 }; 228 229 224 #endif 230 225 #else … … 243 238 #define DTRACE_PU_S(x) ; 244 239 #define DTRACE_TU_S(x) ; 245 246 240 #define D_DEC_INDENT( b ) ; 247 241 #define D_PRINT_INC_INDENT( b, str );
Note: See TracChangeset for help on using the changeset viewer.