Changeset 807 in SHVCSoftware for branches/SHM-6-dev/source/App


Ignore:
Timestamp:
20 Jun 2014, 21:29:11 (11 years ago)
Author:
seregin
Message:

bugfix for EL GOP list initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r806 r807  
    18751875   * This permits the ability to omit a GOP structure specification */
    18761876#if SVC_EXTENSION
     1877#if Q0108_TSA_STSA
     1878  if( m_acLayerCfg[0].m_iIntraPeriod == 1 && m_GOPList[0].m_POC == -1 )
     1879  {
     1880    m_GOPList[0] = GOPEntry();
     1881    m_GOPList[0].m_QPFactor = 1;
     1882    m_GOPList[0].m_betaOffsetDiv2 = 0;
     1883    m_GOPList[0].m_tcOffsetDiv2 = 0;
     1884    m_GOPList[0].m_POC = 1;
     1885    m_GOPList[0].m_numRefPicsActive = 4;
     1886  }
     1887
    18771888  for(UInt layer = 0; layer < MAX_LAYERS; layer++)
    18781889  {
     1890    if (m_acLayerCfg[layer].m_iIntraPeriod == 1 && m_EhGOPList[layer][0].m_POC == -1) {
     1891      m_EhGOPList[layer][0] = GOPEntry();
     1892      m_EhGOPList[layer][0].m_QPFactor = 1;
     1893      m_EhGOPList[layer][0].m_betaOffsetDiv2 = 0;
     1894      m_EhGOPList[layer][0].m_tcOffsetDiv2 = 0;
     1895      m_EhGOPList[layer][0].m_POC = 1;
     1896      m_EhGOPList[layer][0].m_numRefPicsActive = 4;
     1897    }
     1898  }
     1899#else
     1900  for(UInt layer = 0; layer < MAX_LAYERS; layer++)
     1901  {
    18791902    Int m_iIntraPeriod = m_acLayerCfg[layer].m_iIntraPeriod;
    1880 #endif
     1903    if (m_iIntraPeriod == 1 && m_GOPList[0].m_POC == -1) {
     1904      m_GOPList[0] = GOPEntry();
     1905      m_GOPList[0].m_QPFactor = 1;
     1906      m_GOPList[0].m_betaOffsetDiv2 = 0;
     1907      m_GOPList[0].m_tcOffsetDiv2 = 0;
     1908      m_GOPList[0].m_POC = 1;
     1909      m_GOPList[0].m_numRefPicsActive = 4;
     1910    }
     1911  }
     1912#endif
     1913#else
    18811914  if (m_iIntraPeriod == 1 && m_GOPList[0].m_POC == -1) {
    18821915    m_GOPList[0] = GOPEntry();
     
    18861919    m_GOPList[0].m_POC = 1;
    18871920    m_GOPList[0].m_numRefPicsActive = 4;
    1888   }
    1889 #if SVC_EXTENSION
    18901921  }
    18911922#endif
Note: See TracChangeset for help on using the changeset viewer.