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


Ignore:
Timestamp:
14 Jul 2015, 00:26:07 (10 years ago)
Author:
seregin
Message:

port rev 4240

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

Legend:

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

    r1203 r1246  
    22 * License, included below. This software may be subject to other third party
    33 * and contributor rights, including patent rights, and no such rights are
    4  * granted under this license. 
     4 * granted under this license.
    55 *
    66 * Copyright (c) 2010-2014, ITU/ISO/IEC
     
    123123  ("ForceDecodeBitDepth",       m_forceDecodeBitDepth,                 0U,         "Force the decoder to operate at a particular bit-depth (best effort decoding)")
    124124#endif
     125  ("OutputDecodedSEIMessagesFilename",  m_outputDecodedSEIMessagesFilename,    string(""), "When non empty, output decoded SEI messages to the indicated file. If file is '-', then output to stdout\n")
    125126#if Q0074_COLOUR_REMAPPING_SEI
    126127  ("SEIColourRemappingInfo,-cri", m_colourRemapSEIEnabled, false, "Control handling of Colour Remapping Information SEI messages\n"
     
    249250      }
    250251      fclose (targetDecLayerIdSetFile);
     252      if ( m_targetDecLayerIdSet.size() > 0 && !isLayerIdZeroIncluded )
     253      {
     254        fprintf(stderr, "TargetDecLayerIdSet must contain LayerId=0, aborting" );
     255        return false;
     256      }
    251257    }
    252258    else
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecCfg.h

    r1203 r1246  
    22 * License, included below. This software may be subject to other third party
    33 * and contributor rights, including patent rights, and no such rights are
    4  * granted under this license. 
     4 * granted under this license.
    55 *
    66 * Copyright (c) 2010-2014, ITU/ISO/IEC
     
    116116  {
    117117    for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++)
     118    {
    118119      m_outputBitDepth[channelTypeIndex] = 0;
     120    }
    119121  }
    120122
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r1237 r1246  
    324324        for (UInt channelType = 0; channelType < MAX_NUM_CHANNEL_TYPE; channelType++)
    325325        {
    326           if (m_outputBitDepth[channelType] == 0) m_outputBitDepth[channelType] = g_bitDepth[channelType];
     326          if (m_outputBitDepth[channelType] == 0)
     327          {
     328            m_outputBitDepth[channelType] = g_bitDepth[channelType];
     329          }
    327330        }
    328331        m_acTVideoIOYuvReconFile[curLayerId].open( m_pchReconFile[curLayerId], true, m_outputBitDepth, m_outputBitDepth, g_bitDepth ); // write mode
     
    540543        for (UInt channelType = 0; channelType < MAX_NUM_CHANNEL_TYPE; channelType++)
    541544        {
    542           if (m_outputBitDepth[channelType] == 0) m_outputBitDepth[channelType] = g_bitDepth[channelType];
     545          if (m_outputBitDepth[channelType] == 0)
     546          {
     547            m_outputBitDepth[channelType] = g_bitDepth[channelType];
     548          }
    543549        }
    544550
  • branches/SHM-dev/source/App/TAppDecoder/decmain.cpp

    r1029 r1246  
    22 * License, included below. This software may be subject to other third party
    33 * and contributor rights, including patent rights, and no such rights are
    4  * granted under this license. 
     4 * granted under this license.
    55 *
    66 * Copyright (c) 2010-2014, ITU/ISO/IEC
Note: See TracChangeset for help on using the changeset viewer.