Changeset 1049 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder
- Timestamp:
- 3 Mar 2015, 23:36:18 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r1044 r1049 1545 1545 for( Int dpbLayerCtr = 0; dpbLayerCtr < dpbStatus.m_numLayers; dpbLayerCtr++) 1546 1546 { 1547 Int layerId x= dpbStatus.m_targetDecLayerIdList[dpbLayerCtr];1547 Int layerId = dpbStatus.m_targetDecLayerIdList[dpbLayerCtr]; 1548 1548 // Output all picutres "decoded" in that layer that have POC less than the current picture 1549 std::vector<TComPic> *layerBuffer = (m_acTDecTop->getLayerDec(layerId x))->getConfListPic();1549 std::vector<TComPic> *layerBuffer = (m_acTDecTop->getLayerDec(layerId))->getConfListPic(); 1550 1550 // Write all pictures to the file. 1551 if( this->getDecodedYuvLayerRefresh(layerId x) )1552 { 1553 m_outputBitDepth[CHANNEL_TYPE_LUMA] = g_bitDepth[CHANNEL_TYPE_LUMA] = g_bitDepthLayer[CHANNEL_TYPE_LUMA][layerId x];1554 m_outputBitDepth[CHANNEL_TYPE_CHROMA] = g_bitDepth[CHANNEL_TYPE_CHROMA] = g_bitDepthLayer[CHANNEL_TYPE_CHROMA][layerId x];1551 if( this->getDecodedYuvLayerRefresh(layerId) ) 1552 { 1553 m_outputBitDepth[CHANNEL_TYPE_LUMA] = g_bitDepth[CHANNEL_TYPE_LUMA] = g_bitDepthLayer[CHANNEL_TYPE_LUMA][layerId]; 1554 m_outputBitDepth[CHANNEL_TYPE_CHROMA] = g_bitDepth[CHANNEL_TYPE_CHROMA] = g_bitDepthLayer[CHANNEL_TYPE_CHROMA][layerId]; 1555 1555 1556 1556 char tempFileName[256]; 1557 strcpy(tempFileName, this->getDecodedYuvLayerFileName( layerId x).c_str());1558 m_confReconFile[layerId x].open(tempFileName, true, m_outputBitDepth, m_outputBitDepth, g_bitDepth ); // write mode1559 this->setDecodedYuvLayerRefresh( layerId x, false );1557 strcpy(tempFileName, this->getDecodedYuvLayerFileName( layerId ).c_str()); 1558 m_confReconFile[layerId].open(tempFileName, true, m_outputBitDepth, m_outputBitDepth, g_bitDepth ); // write mode 1559 this->setDecodedYuvLayerRefresh( layerId, false ); 1560 1560 } 1561 1561 … … 1575 1575 { 1576 1576 TComPicYuv* pPicCYuvRec = checkPic.getPicYuvRec(); 1577 m_confReconFile[layerId x].write( pPicCYuvRec, m_outputColourSpaceConvert,1577 m_confReconFile[layerId].write( pPicCYuvRec, m_outputColourSpaceConvert, 1578 1578 conf.getWindowLeftOffset() * xScal + defDisp.getWindowLeftOffset(), 1579 1579 conf.getWindowRightOffset() * xScal + defDisp.getWindowRightOffset(),
Note: See TracChangeset for help on using the changeset viewer.