Changeset 1416 in SHVCSoftware for branches/SHM-dev


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

Location:
branches/SHM-dev/source
Files:
2 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
  • branches/SHM-dev/source/Lib/TLibCommon/TComPicYuv.cpp

    r1305 r1416  
    8686                          const UInt uiMaxCUDepth,            ///< used for generating offsets to CUs. Can use 0 if no offsets are required
    8787#if SVC_EXTENSION
    88                           const Bool bUseMargin,     ///< if true, then a margin of uiMaxCUWidth+16 and uiMaxCUHeight+16 is created around the image.
     88                          const Bool bUseMargin,              ///< if true, then a margin of uiMaxCUWidth+16 and uiMaxCUHeight+16 is created around the image.
    8989                          const Window* conformanceWindow)
    9090#else
Note: See TracChangeset for help on using the changeset viewer.