Changeset 1319 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder
- Timestamp:
- 21 Jul 2015, 23:31:40 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r1292 r1319 215 215 AnnexBStats stats = AnnexBStats(); 216 216 217 vector<uint8_t> nalUnit;218 217 InputNALUnit nalu; 219 byteStreamNALUnit(bytestream, nal Unit, stats);218 byteStreamNALUnit(bytestream, nalu.getBitstream().getFifo(), stats); 220 219 221 220 // call actual decoding function … … 223 222 Bool bNewPOC = false; 224 223 225 if (nal Unit.empty())224 if (nalu.getBitstream().getFifo().empty()) 226 225 { 227 226 /* this can happen if the following occur: … … 234 233 else 235 234 { 236 read(nalu , nalUnit);235 read(nalu); 237 236 if( (m_iMaxTemporalLayer >= 0 && nalu.m_temporalId > m_iMaxTemporalLayer) || !isNaluWithinTargetDecLayerIdSet(&nalu) || 238 237 #if CONFORMANCE_BITSTREAM_MODE … … 473 472 AnnexBStats stats = AnnexBStats(); 474 473 475 vector<uint8_t> nalUnit;476 474 InputNALUnit nalu; 477 byteStreamNALUnit(bytestream, nal Unit, stats);475 byteStreamNALUnit(bytestream, nalu.getBitstream().getFifo(), stats); 478 476 479 477 // call actual decoding function 480 478 Bool bNewPicture = false; 481 if (nal Unit.empty())479 if (nalu.getBitstream().getFifo().empty()) 482 480 { 483 481 /* this can happen if the following occur: … … 490 488 else 491 489 { 492 read(nalu , nalUnit);490 read(nalu); 493 491 if( (m_iMaxTemporalLayer >= 0 && nalu.m_temporalId > m_iMaxTemporalLayer) || !isNaluWithinTargetDecLayerIdSet(&nalu) ) 494 492 {
Note: See TracChangeset for help on using the changeset viewer.