Ignore:
Timestamp:
22 Nov 2013, 00:13:36 (11 years ago)
Author:
interdigital
Message:

Integrated JCTVC-O0092/0094/0096

  1. Implement O1008 SHVC text pseudo code for direct/indirect reference layers detection
  2. constraint on the maximum number of reference layers
  3. constraint on the layer id of SPS/PPS
  4. identify SPS rep format with index into the list of rep format in VPS
  5. specify default direct dependency type in VPS
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.1-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r494 r506  
    10721072#if REPN_FORMAT_IN_VPS
    10731073  Int lowestQP;
     1074#if O0096_REP_FORMAT_INDEX
     1075  if( m_layerId == 0 )
     1076  {
     1077    lowestQP = - m_cSPS.getQpBDOffsetY();
     1078  }
     1079  else
     1080  {
     1081    lowestQP = - (m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_cSPS.getUpdateRepFormatFlag() ? m_cSPS.getUpdateRepFormatIndex() : m_layerId ) )->getBitDepthVpsLuma() - 8) * 6;
     1082  }
     1083#else
    10741084  if( m_layerId == 0 || m_cSPS.getUpdateRepFormatFlag() )
    10751085  {
     
    10801090    lowestQP = - (m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_layerId ) )->getBitDepthVpsLuma() - 8) * 6;
    10811091  }
     1092#endif
    10821093#else
    10831094  Int lowestQP = - m_cSPS.getQpBDOffsetY();
     
    16071618Void TEncTop::xInitILRP()
    16081619{
     1620#if O0096_REP_FORMAT_INDEX
     1621  RepFormat *repFormat = m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_cSPS.getUpdateRepFormatFlag() ? m_cSPS.getUpdateRepFormatIndex() : m_layerId ) );
     1622#else
    16091623  RepFormat *repFormat = m_cVPS.getVpsRepFormat( m_cVPS.getVpsRepFormatIdx( m_layerId ) );
     1624#endif
    16101625  Int bitDepthY,bitDepthC,picWidth,picHeight;
    16111626
     1627#if O0096_REP_FORMAT_INDEX
     1628  bitDepthY   = repFormat->getBitDepthVpsLuma();
     1629  bitDepthC   = repFormat->getBitDepthVpsChroma();
     1630  picWidth    = repFormat->getPicWidthVpsInLumaSamples();
     1631  picHeight   = repFormat->getPicHeightVpsInLumaSamples();
     1632#else
    16121633  if( m_cSPS.getUpdateRepFormatFlag() )
    16131634  {
     
    16241645    picHeight   = repFormat->getPicHeightVpsInLumaSamples();
    16251646  }
     1647#endif
    16261648 
    16271649  if(m_layerId > 0)
Note: See TracChangeset for help on using the changeset viewer.