Changeset 884 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder
- Timestamp:
- 11 Sep 2014, 12:48:48 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r877 r884 2030 2030 } 2031 2031 } 2032 #if R0247_SEI_ACTIVE 2033 if(bFirstFrame) 2034 { 2035 list<AccessUnit>::iterator first_au = outputAccessUnits.begin(); 2036 AccessUnit::iterator it_sps; 2037 for (it_sps = first_au->begin(); it_sps != first_au->end(); it_sps++) 2038 { 2039 if( (*it_sps)->m_nalUnitType == NAL_UNIT_SPS ) 2040 { 2041 break; 2042 } 2043 } 2044 2045 for (list<AccessUnit>::iterator it_au = ++outputAccessUnits.begin(); it_au != outputAccessUnits.end(); it_au++) 2046 { 2047 for (AccessUnit::iterator it_nalu = it_au->begin(); it_nalu != it_au->end(); it_nalu++) 2048 { 2049 if( (*it_nalu)->m_nalUnitType == NAL_UNIT_SPS ) 2050 { 2051 first_au->insert(++it_sps, *it_nalu); 2052 it_nalu = it_au->erase(it_nalu); 2053 } 2054 } 2055 } 2056 } 2057 2058 #endif 2032 2059 2033 2060 #if RC_SHVC_HARMONIZATION
Note: See TracChangeset for help on using the changeset viewer.