Changeset 1416 in SHVCSoftware for branches/SHM-dev/source/App


Ignore:
Timestamp:
4 Aug 2015, 19:32:56 (9 years ago)
Author:
seregin
Message:

fix the bitdepth for writing picture out in the conformance mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r1378 r1416  
    15401540        Int bitDepth[] = {bitDpeths.recon[CHANNEL_TYPE_LUMA], bitDpeths.recon[CHANNEL_TYPE_CHROMA]};
    15411541
    1542         m_confReconFile[layerId].open(tempFileName, true, m_outputBitDepth, m_outputBitDepth, bitDepth ); // write mode
     1542        m_confReconFile[layerId].open(tempFileName, true, bitDepth, bitDepth, bitDepth ); // write mode
    15431543        this->setDecodedYuvLayerRefresh( layerId, false );
    15441544      }
     
    15631563            conf.getWindowRightOffset() * xScal + defDisp.getWindowRightOffset(),
    15641564            conf.getWindowTopOffset()   * yScal + defDisp.getWindowTopOffset(),
    1565             conf.getWindowBottomOffset()* yScal + defDisp.getWindowBottomOffset() );
     1565            conf.getWindowBottomOffset()* yScal + defDisp.getWindowBottomOffset(),
     1566            NUM_CHROMA_FORMAT, m_bClipOutputVideoToRec709Range );
     1567
    15661568          layerBuffer->erase(itPic);
    15671569          itPic = layerBuffer->begin();  // Ensure doesn't go to infinite loop
Note: See TracChangeset for help on using the changeset viewer.