Changeset 1287 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder/TDecGop.cpp
- Timestamp:
- 17 Jul 2015, 05:43:37 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/SHM-dev/source/Lib/TLibDecoder/TDecGop.cpp ¶
r1273 r1287 63 63 //! \ingroup TLibDecoder 64 64 //! \{ 65 static Void calcAndPrintHashStatus(TComPicYuv& pic, const SEIDecodedPictureHash* pictureHashSEI );65 static Void calcAndPrintHashStatus(TComPicYuv& pic, const SEIDecodedPictureHash* pictureHashSEI, const BitDepths &bitDepths); 66 66 // ==================================================================================================================== 67 67 // Constructor / destructor / initialization / destroy … … 246 246 printf ("Warning: Got multiple decoded picture hash SEI messages. Using first."); 247 247 } 248 calcAndPrintHashStatus(*(pcPic->getPicYuvRec()), hash); 248 #if SVC_EXTENSION 249 calcAndPrintHashStatus(*(pcPic->getPicYuvRec()), hash, pcSlice->getBitDepths()); 250 #else 251 calcAndPrintHashStatus(*(pcPic->getPicYuvRec()), hash, pcSlice->getSPS()->getBitDepths()); 252 #endif 249 253 } 250 254 #if CONFORMANCE_BITSTREAM_MODE … … 275 279 * unk - no SEI message was available for comparison 276 280 */ 277 static Void calcAndPrintHashStatus(TComPicYuv& pic, const SEIDecodedPictureHash* pictureHashSEI )281 static Void calcAndPrintHashStatus(TComPicYuv& pic, const SEIDecodedPictureHash* pictureHashSEI, const BitDepths &bitDepths) 278 282 { 279 283 /* calculate MD5sum for entire reconstructed picture */ … … 289 293 { 290 294 hashType = "MD5"; 291 numChar = calcMD5(pic, recon_digest );295 numChar = calcMD5(pic, recon_digest, bitDepths); 292 296 break; 293 297 } … … 295 299 { 296 300 hashType = "CRC"; 297 numChar = calcCRC(pic, recon_digest );301 numChar = calcCRC(pic, recon_digest, bitDepths); 298 302 break; 299 303 } … … 301 305 { 302 306 hashType = "Checksum"; 303 numChar = calcChecksum(pic, recon_digest );307 numChar = calcChecksum(pic, recon_digest, bitDepths); 304 308 break; 305 309 }
Note: See TracChangeset for help on using the changeset viewer.