Changeset 1442 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 13 Aug 2015, 19:11:53 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 9 edited
-
SEIread.cpp (modified) (5 diffs)
-
SEIread.h (modified) (1 diff)
-
SyntaxElementParser.cpp (modified) (9 diffs)
-
SyntaxElementParser.h (modified) (2 diffs)
-
TDecBinCoderCABAC.cpp (modified) (1 diff)
-
TDecCAVLC.cpp (modified) (2 diffs)
-
TDecGop.cpp (modified) (3 diffs)
-
TDecSbac.cpp (modified) (1 diff)
-
TDecTop.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.cpp
r1434 r1442 63 63 #endif 64 64 65 Void SEIReader::sei_read_code(std::ostream *pOS, UInt uiLength, UInt& ruiCode, const Char *pSymbolName)65 Void SEIReader::sei_read_code(std::ostream *pOS, UInt uiLength, UInt& ruiCode, const TChar *pSymbolName) 66 66 { 67 67 READ_CODE(uiLength, ruiCode, pSymbolName); … … 72 72 } 73 73 74 Void SEIReader::sei_read_uvlc(std::ostream *pOS, UInt& ruiCode, const Char *pSymbolName)74 Void SEIReader::sei_read_uvlc(std::ostream *pOS, UInt& ruiCode, const TChar *pSymbolName) 75 75 { 76 76 READ_UVLC(ruiCode, pSymbolName); … … 81 81 } 82 82 83 Void SEIReader::sei_read_svlc(std::ostream *pOS, Int& ruiCode, const Char *pSymbolName)83 Void SEIReader::sei_read_svlc(std::ostream *pOS, Int& ruiCode, const TChar *pSymbolName) 84 84 { 85 85 READ_SVLC(ruiCode, pSymbolName); … … 90 90 } 91 91 92 Void SEIReader::sei_read_flag(std::ostream *pOS, UInt& ruiCode, const Char *pSymbolName)92 Void SEIReader::sei_read_flag(std::ostream *pOS, UInt& ruiCode, const TChar *pSymbolName) 93 93 { 94 94 READ_FLAG(ruiCode, pSymbolName); … … 522 522 sei.method = static_cast<SEIDecodedPictureHash::Method>(val); bytesRead++; 523 523 524 const Char *traceString="\0";524 const TChar *traceString="\0"; 525 525 switch (sei.method) 526 526 { -
branches/SHM-dev/source/Lib/TLibDecoder/SEIread.h
r1434 r1442 109 109 Void xParseSEIMasteringDisplayColourVolume (SEIMasteringDisplayColourVolume& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream); 110 110 111 Void sei_read_code(std::ostream *pOS, UInt uiLength, UInt& ruiCode, const Char *pSymbolName);112 Void sei_read_uvlc(std::ostream *pOS, UInt& ruiCode, const Char *pSymbolName);113 Void sei_read_svlc(std::ostream *pOS, Int& ruiCode, const Char *pSymbolName);114 Void sei_read_flag(std::ostream *pOS, UInt& ruiCode, const Char *pSymbolName);111 Void sei_read_code(std::ostream *pOS, UInt uiLength, UInt& ruiCode, const TChar *pSymbolName); 112 Void sei_read_uvlc(std::ostream *pOS, UInt& ruiCode, const TChar *pSymbolName); 113 Void sei_read_svlc(std::ostream *pOS, Int& ruiCode, const TChar *pSymbolName); 114 Void sei_read_flag(std::ostream *pOS, UInt& ruiCode, const TChar *pSymbolName); 115 115 116 116 #if Q0074_COLOUR_REMAPPING_SEI -
branches/SHM-dev/source/Lib/TLibDecoder/SyntaxElementParser.cpp
r1351 r1442 49 49 #if ENC_DEC_TRACE 50 50 51 Void SyntaxElementParser::xReadCodeTr (UInt length, UInt& rValue, const Char *pSymbolName)51 Void SyntaxElementParser::xReadCodeTr (UInt length, UInt& rValue, const TChar *pSymbolName) 52 52 { 53 53 #if RExt__DECODER_DEBUG_BIT_STATISTICS … … 68 68 } 69 69 70 Void SyntaxElementParser::xReadUvlcTr (UInt& rValue, const Char *pSymbolName)70 Void SyntaxElementParser::xReadUvlcTr (UInt& rValue, const TChar *pSymbolName) 71 71 { 72 72 #if RExt__DECODER_DEBUG_BIT_STATISTICS … … 80 80 } 81 81 82 Void SyntaxElementParser::xReadSvlcTr (Int& rValue, const Char *pSymbolName)82 Void SyntaxElementParser::xReadSvlcTr (Int& rValue, const TChar *pSymbolName) 83 83 { 84 84 #if RExt__DECODER_DEBUG_BIT_STATISTICS … … 92 92 } 93 93 94 Void SyntaxElementParser::xReadFlagTr (UInt& rValue, const Char *pSymbolName)94 Void SyntaxElementParser::xReadFlagTr (UInt& rValue, const TChar *pSymbolName) 95 95 { 96 96 #if RExt__DECODER_DEBUG_BIT_STATISTICS … … 135 135 // ==================================================================================================================== 136 136 #if RExt__DECODER_DEBUG_BIT_STATISTICS 137 Void SyntaxElementParser::xReadCode (UInt uiLength, UInt& ruiCode, const Char *pSymbolName)137 Void SyntaxElementParser::xReadCode (UInt uiLength, UInt& ruiCode, const TChar *pSymbolName) 138 138 #else 139 139 Void SyntaxElementParser::xReadCode (UInt uiLength, UInt& ruiCode) … … 148 148 149 149 #if RExt__DECODER_DEBUG_BIT_STATISTICS 150 Void SyntaxElementParser::xReadUvlc( UInt& ruiVal, const Char *pSymbolName)150 Void SyntaxElementParser::xReadUvlc( UInt& ruiVal, const TChar *pSymbolName) 151 151 #else 152 152 Void SyntaxElementParser::xReadUvlc( UInt& ruiVal) … … 186 186 187 187 #if RExt__DECODER_DEBUG_BIT_STATISTICS 188 Void SyntaxElementParser::xReadSvlc( Int& riVal, const Char *pSymbolName)188 Void SyntaxElementParser::xReadSvlc( Int& riVal, const TChar *pSymbolName) 189 189 #else 190 190 Void SyntaxElementParser::xReadSvlc( Int& riVal) … … 224 224 225 225 #if RExt__DECODER_DEBUG_BIT_STATISTICS 226 Void SyntaxElementParser::xReadFlag (UInt& ruiCode, const Char *pSymbolName)226 Void SyntaxElementParser::xReadFlag (UInt& ruiCode, const TChar *pSymbolName) 227 227 #else 228 228 Void SyntaxElementParser::xReadFlag (UInt& ruiCode) … … 281 281 #if Q0096_OVERLAY_SEI 282 282 #if RExt__DECODER_DEBUG_BIT_STATISTICS 283 Void SyntaxElementParser::xReadString (UInt bufSize, UChar *pVal, UInt& rLength, const Char *pSymbolName)283 Void SyntaxElementParser::xReadString (UInt bufSize, UChar *pVal, UInt& rLength, const TChar *pSymbolName) 284 284 #else 285 285 Void SyntaxElementParser::xReadString (UInt bufSize, UChar *pVal, UInt& rLength) -
branches/SHM-dev/source/Lib/TLibDecoder/SyntaxElementParser.h
r1351 r1442 98 98 99 99 #if RExt__DECODER_DEBUG_BIT_STATISTICS 100 Void xReadCode ( UInt length, UInt& val, const Char *pSymbolName );101 Void xReadUvlc ( UInt& val, const Char *pSymbolName );102 Void xReadSvlc ( Int& val, const Char *pSymbolName );103 Void xReadFlag ( UInt& val, const Char *pSymbolName );100 Void xReadCode ( UInt length, UInt& val, const TChar *pSymbolName ); 101 Void xReadUvlc ( UInt& val, const TChar *pSymbolName ); 102 Void xReadSvlc ( Int& val, const TChar *pSymbolName ); 103 Void xReadFlag ( UInt& val, const TChar *pSymbolName ); 104 104 #if Q0096_OVERLAY_SEI 105 Void xReadString (UInt bufSize, UChar *pValue, UInt& rLength, const Char *pSymbolName);105 Void xReadString (UInt bufSize, UChar *pValue, UInt& rLength, const TChar *pSymbolName); 106 106 #endif 107 107 #else … … 115 115 #endif 116 116 #if ENC_DEC_TRACE 117 Void xReadCodeTr (UInt length, UInt& rValue, const Char *pSymbolName);118 Void xReadUvlcTr ( UInt& rValue, const Char *pSymbolName);119 Void xReadSvlcTr ( Int& rValue, const Char *pSymbolName);120 Void xReadFlagTr ( UInt& rValue, const Char *pSymbolName);117 Void xReadCodeTr (UInt length, UInt& rValue, const TChar *pSymbolName); 118 Void xReadUvlcTr ( UInt& rValue, const TChar *pSymbolName); 119 Void xReadSvlcTr ( Int& rValue, const TChar *pSymbolName); 120 Void xReadFlagTr ( UInt& rValue, const TChar *pSymbolName); 121 121 #if Q0096_OVERLAY_SEI 122 122 Void xReadStringTr(UInt bufSize, UChar *pValue, UInt& rLength, const Char *pSymbolName); -
branches/SHM-dev/source/Lib/TLibDecoder/TDecBinCoderCABAC.cpp
r1335 r1442 169 169 if (g_debugCounter >= debugCabacBinTargetLine) 170 170 { 171 Char breakPointThis;171 UChar breakPointThis; 172 172 breakPointThis = 7; 173 173 } -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1439 r1442 343 343 { 344 344 #if ENC_DEC_TRACE || RExt__DECODER_DEBUG_BIT_STATISTICS 345 static const char *syntaxStrings[]={ "pps_range_extension_flag",346 "pps_multilayer_extension_flag",347 "pps_extension_6bits[0]",348 "pps_extension_6bits[1]",349 "pps_extension_6bits[2]",350 "pps_extension_6bits[3]",351 "pps_extension_6bits[4]",352 "pps_extension_6bits[5]" };345 static const TChar *syntaxStrings[]={ "pps_range_extension_flag", 346 "pps_multilayer_extension_flag", 347 "pps_extension_6bits[0]", 348 "pps_extension_6bits[1]", 349 "pps_extension_6bits[2]", 350 "pps_extension_6bits[3]", 351 "pps_extension_6bits[4]", 352 "pps_extension_6bits[5]" }; 353 353 #endif 354 354 … … 969 969 { 970 970 #if ENC_DEC_TRACE || RExt__DECODER_DEBUG_BIT_STATISTICS 971 static const char *syntaxStrings[]={ "sps_range_extension_flag",972 "sps_multilayer_extension_flag",973 "sps_extension_6bits[0]",974 "sps_extension_6bits[1]",975 "sps_extension_6bits[2]",976 "sps_extension_6bits[3]",977 "sps_extension_6bits[4]",978 "sps_extension_6bits[5]" };971 static const TChar *syntaxStrings[]={ "sps_range_extension_flag", 972 "sps_multilayer_extension_flag", 973 "sps_extension_6bits[0]", 974 "sps_extension_6bits[1]", 975 "sps_extension_6bits[2]", 976 "sps_extension_6bits[3]", 977 "sps_extension_6bits[4]", 978 "sps_extension_6bits[5]" }; 979 979 #endif 980 980 Bool sps_extension_flags[NUM_SPS_EXTENSION_FLAGS]; -
branches/SHM-dev/source/Lib/TLibDecoder/TDecGop.cpp
r1431 r1442 181 181 182 182 pcPic->compressMotion(); 183 Char c = (pcSlice->isIntra() ? 'I' : pcSlice->isInterP() ? 'P' : 'B');183 TChar c = (pcSlice->isIntra() ? 'I' : pcSlice->isInterP() ? 'P' : 'B'); 184 184 if (!pcSlice->isReferenced()) 185 185 { … … 284 284 TComPictureHash recon_digest; 285 285 Int numChar=0; 286 const Char* hashType = "\0";286 const TChar* hashType = "\0"; 287 287 288 288 if (pictureHashSEI) … … 317 317 318 318 /* compare digest against received version */ 319 const Char* ok = "(unk)";319 const TChar* ok = "(unk)"; 320 320 Bool mismatch = false; 321 321 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.cpp
r1316 r1442 860 860 if (!pcCU->isIntra(uiAbsPartIdx) || (pcCU->getIntraDir( CHANNEL_TYPE_CHROMA, uiAbsPartIdx ) == DM_CHROMA_IDX)) 861 861 { 862 Char alpha= 0;862 SChar alpha = 0; 863 863 UInt symbol = 0; 864 864 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1431 r1442 1386 1386 for( Int i = 0; i < uiHeight; i++ ) 1387 1387 { 1388 pFile->read(reinterpret_cast< Char*>(buf), len);1388 pFile->read(reinterpret_cast<TChar*>(buf), len); 1389 1389 1390 1390 if( !is16bit ) … … 1415 1415 for( Int i = 0; i < uiHeight; i++ ) 1416 1416 { 1417 pFile->read(reinterpret_cast< Char*>(buf), len);1417 pFile->read(reinterpret_cast<TChar*>(buf), len); 1418 1418 1419 1419 if( !is16bit ) … … 1440 1440 for( Int i = 0; i < uiHeight; i++ ) 1441 1441 { 1442 pFile->read(reinterpret_cast< Char*>(buf), len);1442 pFile->read(reinterpret_cast<TChar*>(buf), len); 1443 1443 1444 1444 if( !is16bit )
Note: See TracChangeset for help on using the changeset viewer.