Changeset 1323 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder


Ignore:
Timestamp:
22 Jul 2015, 00:03:09 (10 years ago)
Author:
seregin
Message:

port rev 4401

Location:
branches/SHM-dev/source/App/TAppDecoder
Files:
3 edited

Legend:

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

    r1301 r1323  
    124124#endif
    125125  ("OutputDecodedSEIMessagesFilename",  m_outputDecodedSEIMessagesFilename,    string(""), "When non empty, output decoded SEI messages to the indicated file. If file is '-', then output to stdout\n")
     126  ("ClipOutputVideoToRec709Range",      m_bClipOutputVideoToRec709Range,  false, "If true then clip output video to the Rec. 709 Range on saving")
    126127#if Q0074_COLOUR_REMAPPING_SEI
    127128  ("SEIColourRemappingInfo,-cri", m_colourRemapSEIEnabled, false, "Control handling of Colour Remapping Information SEI messages\n"
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecCfg.h

    r1282 r1323  
    8080#endif
    8181  std::string   m_outputDecodedSEIMessagesFilename;   ///< filename to output decoded SEI messages to. If '-', then use stdout. If empty, do not output details.
     82  Bool          m_bClipOutputVideoToRec709Range;      ///< If true, clip the output video to the Rec 709 range on saving.
    8283
    8384#if SVC_EXTENSION
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r1319 r1323  
    915915            conf.getWindowRightOffset() * xScal + defDisp.getWindowRightOffset(),
    916916            conf.getWindowTopOffset()   * yScal + defDisp.getWindowTopOffset(),
    917             conf.getWindowBottomOffset()* yScal + defDisp.getWindowBottomOffset() );
     917            conf.getWindowBottomOffset()* yScal + defDisp.getWindowBottomOffset(),
     918            NUM_CHROMA_FORMAT, m_bClipOutputVideoToRec709Range  );
    918919        }
    919920
     
    931932                                         conf.getWindowRightOffset() + defDisp.getWindowRightOffset(),
    932933                                         conf.getWindowTopOffset() + defDisp.getWindowTopOffset(),
    933                                          conf.getWindowBottomOffset() + defDisp.getWindowBottomOffset() );
     934                                         conf.getWindowBottomOffset() + defDisp.getWindowBottomOffset(),
     935                                         NUM_CHROMA_FORMAT, m_bClipOutputVideoToRec709Range  );
    934936        }
    935937
     
    11381140          Int xScal =  TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc );
    11391141
    1140           m_acTVideoIOYuvReconFile[layerId].write( pcPic->getPicYuvRec(), m_outputColourSpaceConvert,
    1141             conf.getWindowLeftOffset()  *xScal + defDisp.getWindowLeftOffset(),
    1142             conf.getWindowRightOffset() *xScal + defDisp.getWindowRightOffset(),
    1143             conf.getWindowTopOffset()   *yScal + defDisp.getWindowTopOffset(),
    1144             conf.getWindowBottomOffset()*yScal + defDisp.getWindowBottomOffset() );
     1142          m_acTVideoIOYuvReconFile[layerId].write( pcPic->getPicYuvRec(),
     1143                                                   m_outputColourSpaceConvert,
     1144                                                   conf.getWindowLeftOffset()  *xScal + defDisp.getWindowLeftOffset(),
     1145                                                   conf.getWindowRightOffset() *xScal + defDisp.getWindowRightOffset(),
     1146                                                   conf.getWindowTopOffset()   *yScal + defDisp.getWindowTopOffset(),
     1147                                                   conf.getWindowBottomOffset()*yScal + defDisp.getWindowBottomOffset(),           
     1148                                                   NUM_CHROMA_FORMAT, m_bClipOutputVideoToRec709Range );
    11451149        }
    11461150
     
    11581162                                         conf.getWindowRightOffset() + defDisp.getWindowRightOffset(),
    11591163                                         conf.getWindowTopOffset() + defDisp.getWindowTopOffset(),
    1160                                          conf.getWindowBottomOffset() + defDisp.getWindowBottomOffset() );
     1164                                         conf.getWindowBottomOffset() + defDisp.getWindowBottomOffset(),
     1165                                         NUM_CHROMA_FORMAT, m_bClipOutputVideoToRec709Range );
    11611166        }
    11621167
Note: See TracChangeset for help on using the changeset viewer.