Changeset 807 in SHVCSoftware for branches/SHM-6-dev/source/App
- Timestamp:
- 20 Jun 2014, 21:29:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r806 r807 1875 1875 * This permits the ability to omit a GOP structure specification */ 1876 1876 #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 1877 1888 for(UInt layer = 0; layer < MAX_LAYERS; layer++) 1878 1889 { 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 { 1879 1902 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 1881 1914 if (m_iIntraPeriod == 1 && m_GOPList[0].m_POC == -1) { 1882 1915 m_GOPList[0] = GOPEntry(); … … 1886 1919 m_GOPList[0].m_POC = 1; 1887 1920 m_GOPList[0].m_numRefPicsActive = 4; 1888 }1889 #if SVC_EXTENSION1890 1921 } 1891 1922 #endif
Note: See TracChangeset for help on using the changeset viewer.