Changeset 1353 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 22 Jul 2015, 03:47:00 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/NALread.cpp
r1319 r1353 48 48 #include "TLibCommon/TComCodingStatistics.h" 49 49 #endif 50 #if ENC_DEC_TRACE && DEC_NUH_TRACE 51 #include "TLibCommon/TComRom.h" 52 #endif 50 53 51 54 using namespace std; … … 102 105 nalUnitBuf.resize(it_write - nalUnitBuf.begin()); 103 106 } 107 108 #if ENC_DEC_TRACE && DEC_NUH_TRACE 109 void xTraceNalUnitHeader(InputNALUnit& nalu) 110 { 111 fprintf( g_hTrace, "*********** NAL UNIT (%s) ***********\n", nalUnitTypeToString(nalu.m_nalUnitType) ); 112 113 fprintf( g_hTrace, "%8lld ", g_nSymbolCounter++ ); 114 fprintf( g_hTrace, "%-50s u(%d) : %u\n", "forbidden_zero_bit", 1, 0 ); 115 116 fprintf( g_hTrace, "%8lld ", g_nSymbolCounter++ ); 117 fprintf( g_hTrace, "%-50s u(%d) : %u\n", "nal_unit_type", 6, nalu.m_nalUnitType ); 118 119 fprintf( g_hTrace, "%8lld ", g_nSymbolCounter++ ); 120 fprintf( g_hTrace, "%-50s u(%d) : %u\n", "nuh_layer_id", 6, nalu.m_nuhLayerId ); 121 122 fprintf( g_hTrace, "%8lld ", g_nSymbolCounter++ ); 123 fprintf( g_hTrace, "%-50s u(%d) : %u\n", "nuh_temporal_id_plus1", 3, nalu.m_temporalId + 1 ); 124 125 fflush ( g_hTrace ); 126 } 127 #endif 104 128 105 129 Void readNalUnitHeader(InputNALUnit& nalu) … … 114 138 #if RExt__DECODER_DEBUG_BIT_STATISTICS 115 139 TComCodingStatistics::IncrementStatisticEP(STATS__NAL_UNIT_HEADER_BITS, 1+6+6+3, 0); 140 #endif 141 142 #if ENC_DEC_TRACE && DEC_NUH_TRACE 143 xTraceNalUnitHeader(nalu); 116 144 #endif 117 145 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecGop.cpp
r1319 r1353 193 193 pcSlice->getTLayer(), 194 194 c, 195 NaluToStr( pcSlice->getNalUnitType() ).data(),195 nalUnitTypeToString( pcSlice->getNalUnitType() ), 196 196 pcSlice->getSliceQp() ); 197 197 #else
Note: See TracChangeset for help on using the changeset viewer.