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


Ignore:
Timestamp:
22 Sep 2015, 20:18:26 (9 years ago)
Author:
seregin
Message:

port rev 4600, remove macro Q0074_COLOUR_REMAPPING_SEI

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

Legend:

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

    r1472 r1475  
    128128  ("TarDecLayerIdSetFile,l",    cfg_TargetDecLayerIdSetFile,           string(""), "targetDecLayerIdSet file name. The file should include white space separated LayerId values to be decoded. Omitting the option or a value of -1 in the file decodes all layers.")
    129129  ("RespectDefDispWindow,w",    m_respectDefDispWindow,                0,          "Only output content inside the default display window\n")
    130 #if Q0074_COLOUR_REMAPPING_SEI
    131130  ("SEIColourRemappingInfoFilename",  m_colourRemapSEIFileName,        string(""), "Colour Remapping YUV output file name. If empty, no remapping is applied (ignore SEI message)\n")
    132 #endif
    133131#if O0043_BEST_EFFORT_DECODING
    134132  ("ForceDecodeBitDepth",       m_forceDecodeBitDepth,                 0U,         "Force the decoder to operate at a particular bit-depth (best effort decoding)")
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecCfg.h

    r1472 r1475  
    7474  Int           m_decodedPictureHashSEIEnabled;       ///< Checksum(3)/CRC(2)/MD5(1)/disable(0) acting on decoded picture hash SEI message
    7575  Bool          m_decodedNoDisplaySEIEnabled;         ///< Enable(true)/disable(false) writing only pictures that get displayed based on the no display SEI message
    76 #if Q0074_COLOUR_REMAPPING_SEI
    7776  std::string   m_colourRemapSEIFileName;             ///< output Colour Remapping file name
    78 #endif
    7977  std::vector<Int> m_targetDecLayerIdSet;             ///< set of LayerIds to be included in the sub-bitstream extraction process.
    8078  Int           m_respectDefDispWindow;               ///< Only output content inside the default display window
     
    112110  , m_decodedPictureHashSEIEnabled(0)
    113111  , m_decodedNoDisplaySEIEnabled(false)
    114 #if Q0074_COLOUR_REMAPPING_SEI
    115112  , m_colourRemapSEIFileName()
    116 #endif
    117113  , m_targetDecLayerIdSet()
    118114  , m_respectDefDispWindow(0)
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r1472 r1475  
    6262#if SVC_EXTENSION
    6363TAppDecTop::TAppDecTop()
    64 #if Q0074_COLOUR_REMAPPING_SEI
    6564: m_pcSeiColourRemappingInfoPrevious(NULL)
    66 #endif
    6765{
    6866  memset( m_apcTDecTop, 0, sizeof(m_apcTDecTop) );
     
    7775TAppDecTop::TAppDecTop()
    7876: m_iPOCLastDisplay(-MAX_INT)
    79 #if Q0074_COLOUR_REMAPPING_SEI
    8077 ,m_pcSeiColourRemappingInfoPrevious(NULL)
    81 #endif
    8278{
    8379}
     
    163159#endif
    164160
    165 #if Q0074_COLOUR_REMAPPING_SEI
    166161  // clear contents of colour-remap-information-SEI output file
    167162  if (!m_colourRemapSEIFileName.empty())
     
    174169    }
    175170  }
    176 #endif
    177171
    178172  // main decoder loop
     
    629623  m_cTDecTop.destroy();
    630624#endif
    631 #if Q0074_COLOUR_REMAPPING_SEI
    632625  if (m_pcSeiColourRemappingInfoPrevious != NULL)
    633626  {
     
    635628    m_pcSeiColourRemappingInfoPrevious = NULL;
    636629  }
    637 #endif
    638630}
    639631
     
    656648  m_cTDecTop.setForceDecodeBitDepth(m_forceDecodeBitDepth);
    657649#endif
    658 
    659650  if (!m_outputDecodedSEIMessagesFilename.empty())
    660651  {
     
    674665#endif
    675666
    676 #if Q0074_COLOUR_REMAPPING_SEI
    677667  if (m_pcSeiColourRemappingInfoPrevious != NULL)
    678668  {
     
    680670    m_pcSeiColourRemappingInfoPrevious = NULL;
    681671  }
    682 #endif
    683672}
    684673
     
    911900        }
    912901
    913 #if Q0074_COLOUR_REMAPPING_SEI
    914902        if (!m_colourRemapSEIFileName.empty())
    915903        {
    916904          xOutputColourRemapPic(pcPic);
    917905        }
    918 #endif
    919906
    920907        // update POC of display order
     
    10831070        }
    10841071
    1085 #if Q0074_COLOUR_REMAPPING_SEI
    10861072        if (!m_colourRemapSEIFileName.empty())
    10871073        {
    10881074          xOutputColourRemapPic(pcPic);
    10891075        }
    1090 #endif
    10911076
    10921077        // update POC of display order
     
    11461131  return false;
    11471132}
    1148 
    1149 #if Q0074_COLOUR_REMAPPING_SEI
    11501133
    11511134Void TAppDecTop::xOutputColourRemapPic(TComPic* pcPic)
     
    14681451  }
    14691452}
    1470 #endif
    14711453
    14721454#if ALIGNED_BUMPING
     
    14911473      conf.getWindowBottomOffset()* yScal + defDisp.getWindowBottomOffset() );
    14921474
    1493 #if Q0074_COLOUR_REMAPPING_SEI
    14941475    if( !m_colourRemapSEIFileName.empty() )
    14951476    {
    14961477      xOutputColourRemapPic(pic);
    14971478    }
    1498 #endif
    14991479  }
    15001480  // update POC of display order
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.h

    r1470 r1475  
    8181  std::ofstream                   m_seiMessageFileStream;         ///< Used for outputing SEI messages.
    8282
    83 #if Q0074_COLOUR_REMAPPING_SEI
    8483  SEIColourRemappingInfo*         m_pcSeiColourRemappingInfoPrevious;
    85 #endif
    8684
    8785public:
     
    125123  Bool  isNaluWithinTargetDecLayerIdSet ( InputNALUnit* nalu ); ///< check whether given Nalu is within targetDecLayerIdSet
    126124
    127 #if Q0074_COLOUR_REMAPPING_SEI
    128125private:
    129126  Void applyColourRemapping(const TComPicYuv& pic, SEIColourRemappingInfo& pCriSEI, const TComSPS &activeSPS);
    130127  Void xOutputColourRemapPic(TComPic* pcPic);
    131 #endif
     128
    132129#if ALIGNED_BUMPING
    133130  Void checkOutputBeforeDecoding(Int layerIdx);
Note: See TracChangeset for help on using the changeset viewer.